News for hackers. Stuff that matters.
Re:Comparison of Rust async and Linux thread context switch ... by jorangreef on Friday February 12, 2021 @12:22PM (#26116032)
Sure, but we're comparing the efficiency of one of your program's single threads, because otherwise you could take that same argument you just used and turn it around and say fine, just run another thread then with another io_uring... and you're still ahead. You have to compare at the smallest unit of control plane.

At the same time, multiple threads for a single program introduce context switches which are becoming horrendously expensive compared to the sheer number of IOPS that modern NVMe SSDs can do.

Thread-per-core designs built around io_uring are the future of IO on Linux.

There are no comments on this comment yet.