-
- Downloads
IoContext: register the worker io_uring fds on Linux >= 5.18
Linux 5.18 introduces IORING_REGISTER_RING_FDS with e7a6c00dc77aedf27a601738ea509f1caea6d673. Registering the io_uring's fd prevents having to look it up for each io_uring_enter call reducing contention on the process file table. Jens Axboe reports good results in his fio based benchmarks and I see no reason for EMPER to not register the io_uring fds, especially because we never pass or share rings. Do not register the global io_uring since it is shared in the SINGLE_URING case or it is passed by the main thread to the completer thread breaking the assumption liburing has about the registered io_uring fd.
parent
171ae9d4
No related branches found
No related tags found
Please register or sign in to comment