3 ms·
> But this advantage goes away if the context switch is due to I/O readiness This is not at all a fair comparison unless you're using io_uring.
by KirillPanov 6y ago
> But this advantage goes away if the context switch is due to I/O readiness
This is not at all a fair comparison unless you're using io_uring.
- josephg 6y agoGood point - It’d be very interesting to see how io_uring changes those numbers if anyone has some time to make a fork / PR!
- jorangreef 6y agoNot Rust, but you may be interested in colorless async io_uring using Zig: https://news.ycombinator.com/item?id=26111847 https://news.ycombinator.com/item?id=26111847 Also (very rough) benchmarks (take with a pinch of salt) comparing various styles of fs and network IO (blocking, epoll, io_uring) for C and Zig: https://github.com/coilhq/tigerbeetle/tree/master/demos/io_uring https://github.com/coilhq/tigerbeetle/tree/master/demos/io_u...