| Crates.io | c2clat |
| lib.rs | c2clat |
| version | 1.0.0 |
| created_at | 2023-06-23 08:28:55.960521+00 |
| updated_at | 2023-06-23 08:28:55.960521+00 |
| description | Command-line utility to measure core-to-core latency |
| homepage | |
| repository | https://git.sr.ht/~taiite/c2clat |
| max_upload_size | |
| id | 898099 |
| size | 8,864 |
A tool to measure memory latency between CPU cores.
Port of this github repo in rust.
Prerequisites:
Install with:
cargo install c2clat
On the command-line:
$ c2clat
CPU 0 1 2 3
0 0 63 27 63
1 63 0 63 27
2 27 63 0 63
3 63 27 63 0
Generate a heatmap with gnuplot:
$ c2clat -p | gnuplot >heatmap.png
Limit tests to a subset of cores with taskset:
$ taskset -c 1,3 c2clat
CPU 1 3
1 0 27
3 27 0
SPDX-License-Identifier: ISC