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. …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
  2. …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…
  3. 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…
  4. …(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…
  5. The project is a port of https://github.com/nviennot/core-to-core-latency from Rust to C.
  6. …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…