Open davidzeng0 opened 1 month ago
Interestingly the eventfd method has 3x less latency than MSG_RING
(5us vs 15us) despite how simple the code for that op is. Maybe it's the submission path through io_uring_enter
that adds unnecessary overhead. Could still be a useful feature though
This would make it simple for thread pools to send completed tasks to a ring without creating a ring of its own. It would also avoid the need to set up futexes/event fds and polling them on the ring.