Here is AMD Ryzen 9 5900x on Windows 11 https://gist.github.com/smarkwell/d72deee656341d53dff469df2b...
Measuring CPU core-to-core latency
61–70 of 96 posts
Re: Measuring CPU core-to-core latency
#62Why does CPU=8 in Intel Core i9-12900K have fast access to all other cores? It is interesting.
Re: Measuring CPU core-to-core latency
#63* which in hindsight sounds like TurboBoost was enabled, but I vaguely remember it being disabled in tests
Re: Measuring CPU core-to-core latency
#64I was wondering what real-life situations this benchmark matters the most in, then I remembered... A few years ago I was working on a uni research project trying to eek out the most performance possible in an x86 software-defined EPC, basically the gateway that sits between the LTE cell tower intranet and the rest of the Internet. The important part for me to optimize was the control plane, which handles handshakes b…
Re: Measuring CPU core-to-core latency
#65Re: Measuring CPU core-to-core latency
#66I've been doing some latency measurements like this, but between two processes using unix domain sockets. I'm measuring more on the order of 50uS on average, when using FIFO RT scheduling. I suspect the kernel is either letting processes linger for a little bit, or perhaps the "idle" threads tend to call into the kernel and let it do some non-preemptable book keeping. If I crank up the amount of traffic going through…
I only use AF_UNIX sockets when I need to pass open file handles between processes. I generally prefer message queues: https://linux.die.net/man/7/mq_overview I haven’t measured myself, but other people did, and they found the latency of message queues is substantially lower: https://github.com/goldsborough/ipc-bench
I looked at the sources. The pipe and fifo benchmarks also send a signal on every message, so they're not measuring what you'd expect.
Re: Measuring CPU core-to-core latency
#67Does anyone know what is up with the 8275CL? It looks... almost periodic or something.
Re: Measuring CPU core-to-core latency
#68Here is AMD Ryzen 9 5900x on Windows 11 https://gist.github.com/smarkwell/d72deee656341d53dff469df2b...
The data seems problematic, there's a few 0's here and there and some strange noise in the rest. Increase the number of samples / iterations with `core-to-core-latency 30000 1000 --csv > output.csv`
Re: Measuring CPU core-to-core latency
#69I have something similar but in C++: https://github.com/rigtorp/c2clat
Re: Measuring CPU core-to-core latency
#70Earlier quoted context omitted.
The data seems problematic, there's a few 0's here and there and some strange noise in the rest. Increase the number of samples / iterations with `core-to-core-latency 30000 1000 --csv > output.csv`
I've updated that Gist with a second run with your suggested settings.