IPC notification mechanism, prefer UDS over semaphore on SHM? #551
-
First of all thank you for the great work! I got ~2μs latency with ipc event on a 14900k which is super impressive. However I do have a question when I looked into the implementation details. I noticed as of version 0.4.1, iox2 uses unix domain socket for ipc event notification but there exists a |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@IIIIIIIIll the main reason for the switch was that we need to support file descriptors in the |
Beta Was this translation helpful? Give feedback.
@IIIIIIIIll the main reason for the switch was that we need to support file descriptors in the
WaitSet
. With semaphores this is unfortunately not possible. But the performance impact should be negligible in real word scenarios, since the OS will most probably need way more than 2µs to wake up a process which is not active.