[zeromq-dev] IPC latency

Erik Rigtorp erik at rigtorp.com
Thu Jan 7 17:34:04 CET 2010


Hi!

Following the IPC discussion i just wanted to post some code for IPC
latency measurement that I wrote. It is kind of crude.

http://github.com/rigtorp/ipc-bench

>From what I've seen, on Solaris and my hardware all the ones involving
file descriptors takes roughly 10µs. The busy waiting shared memory
version takes ~0.5µs. On Linux I get similar values except for TCP
sockets which has about 5 times the latency of the other benchmarks
involving file descriptors. Please try on your systems and see what
you get.

Erik



More information about the zeromq-dev mailing list