5 ms·
> Has anyone got any benchmarks for using io_uring in a typical network daemon, i.e. something that would generally be bound by socket I/O? Author here. Some
by agnivade 6y ago
> Has anyone got any benchmarks for using io_uring in a typical network daemon, i.e. something that would generally be bound by socket I/O?
Author here. Some folks have been writing echo server implementations in io_uring and doing some benchmarks:
https://github.com/CarterLi/io_uring-echo-server https://github.com/CarterLi/io_uring-echo-server.
May not be your typical network daemon, but you can still look at the relative gains.
Generally speaking, io_uring is just a general-purpose programming model to interface with the kernel. Socket I/O is just one part of the story. But when combined with other things, it becomes much more powerful.