Hacker News new | past | comments | ask | show | jobs | submit login

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.




It also depends heavily on your kernel version. There are really wide swings.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: