3 ms·
The answer is "go ahead and benchmark". There are some theoretical advantages to uring, like having to do less syscalls and have less userspace <-> kernelspace
by Matthias247 5y ago
The answer is "go ahead and benchmark". There are some theoretical advantages to uring, like having to do less syscalls and have less userspace <-> kernelspace transitions.
In practice implementation differences can offset that advantage, or it just might not make any difference for the application at all since its not the hotspot.
I think for socket IO a variety of people did some synthetic benchmarks for epoll vs uring, and got all kinds of results from either one being a bit faster to both being roughly the same.
- yxhuvud 5y agoIt also depends heavily on your kernel version. There are really wide swings.