Latency
This section isn't part of the official API. Things might change at any point without further notice.
Index
References
ThreadPinning.bench_core2core_latency
— Functionbench_core2core_latency([cpuids; nbench = 5, nsamples::Integer = 100, mode::Symbol = :min])
A tool for measuring core-to-core latency (i.e. inter-core latency) in nanoseconds.
The measured latencies correspond to a full roundtrip between two cores. Divide them by two to obtain an estimate for the time needed to fetch data from another core.
Important: At least two Julia threads are required (julia -t2
)!
Refs: Largely inspired by rigtorp/c2clat and ajakubek/core-latency.