68 ms·
Tokio-uring: io-uring support for Tokio
- matesz 5y ago> Early benchmarks comparing io-uring against epoll are promising; a TCP echo client and server implemented in C show up to 60% improvement. Is this really true for production setting? They did a test at Scylla and it was like 5% difference between iouring and linux-aio [1]. The performance gain should be there, but 60% sounds too much. [1] https://www.scylladb.com/2020/05/05/how-io_uring-and-ebpf-will-revolutionize-programming-in-linux/ https://www.scylladb.com/2020/05/05/how-io_uring-and-ebpf-wi...
- ameixaseca 5y agoCheck the article from Scylla again: it's 5% difference between linux-aio vs io-uring, and 42% between sync vs io-uring. Tokio benchmarked io-uring vs epoll with synchronous I/O, so "up to 60%" is within the expectations.