Hacker GitHub

← All repos

nviennot/core-to-core-latency

View on GitHub ↗ ★ 1,370 Jupyter Notebook

Measures the latency between CPU cores

8 mentions on Hacker News by 7 people: 2 stories, 6 comments · first 2022-09-18 · latest 2026-05-12

Mentions per year 8 mentions · busiest year 2023 (3)
20082026
  1. ▲ 1
    Measuring CPU core-to-core latency
    story by foltik · 2026-05-12 · 0 comments
  2. …and latency numbers for many different CPUs, as well as a benchmark you can run yourself: [0] https://github.com/nviennot/core-to-core-latency
  3. …CPUs some cores are "closer" than others and thus cache-interactions between them are faster: https://github.com/nviennot/core-to-core-latency And if you optimize based on this you can get speedups, both at the macro level by doing things…
  4. For other platforms there is already https://github.com/nviennot/core-to-core-latency This project works around a limitation in MacOS, namely lack of thread pinning, and makes it possible to do it without Asahi Linux, and without using…
  5. …(if you have a N100/N300 and could spare a moment, you can answer this question with this tool!) https://github.com/nviennot/core-to-core-latency Similarly, Apple's e-cores are really intended for background workers in phones, not…
  6. The project is a port of https://github.com/nviennot/core-to-core-latency from Rust to C.
  7. …CCX to the IOD and back, which is high 80s to 110ns latency. This example is from an aws c6a.metal. https://github.com/nviennot/core-to-core-latency#amd-epyc-7r... Intel Ice Lake (c6i.metal), being monolithic, starts way worse. Any…
  8. ▲ 319
    Measuring CPU core-to-core latency
    story by nviennot · 2022-09-18 · 90 comments