c2clat

Crates.ioc2clat
lib.rsc2clat
version1.0.0
sourcesrc
created_at2023-06-23 08:28:55.960521
updated_at2023-06-23 08:28:55.960521
descriptionCommand-line utility to measure core-to-core latency
homepage
repositoryhttps://git.sr.ht/~taiite/c2clat
max_upload_size
id898099
size8,864
Hubert Hirtz (hhirtz)

documentation

README

c2clat

A tool to measure memory latency between CPU cores.

Port of this github repo in rust.

Installation

Prerequisites:

  • Linux
  • Rust v1.63.0 or above

Install with:

cargo install c2clat

Usage

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

License

SPDX-License-Identifier: ISC

Commit count: 0

cargo fmt