Benchmarks for iceoryx2 vs other IPC strategies #435
Replies: 2 comments 6 replies
-
Hi @sattva9 thanks for approaching us :) I've read the blog post and it's a great write up. There are a few suggestions from my side:
I created a branch and adjusted the benchmark according to my proposal: https://github.com/elBoberido/rust-ipc/tree/improving-repeatability. With these changes, the results became much more consistent. This reminds me about a blog post I wanted to write regarding to benchmarking. Feel free to incorporate them into your blog post. I still have to investigate why iceoryx2 is so much slower than pure shmem. In theory, the difference should be at max ~300ns on my machine, if it is assumed that there is absolutely no overhead in shmem. On my machine the latency should be ~150ns one way and with request-response doubled, so ~300ns. But the difference between shmem and iceoryx is ~600ns. Even with a payload of only 1 byte, the latency is ~700ns, which is ~400ns more than in our own benchmark. |
Beta Was this translation helpful? Give feedback.
-
@sattva9 I just wanted to let you know that I really enjoyed your blog, especially the writing and how you presented the benchmarks. |
Beta Was this translation helpful? Give feedback.
-
Hey @elBoberido @elfenpiff we talked briefly on hn regarding including these benchmarks in the repo. A quick review especially on the iceoryx2 benchmark code would be very helpful.
Also suggest where you want me to add the benchmarks, should we add the plot in addition to link?
Beta Was this translation helpful? Give feedback.
All reactions