|Jan 8, 2021||Initial|
It has been two years since io_uring was added into mainline kernel. Over this short course, io_uring has grown a lot. The idea of using kernel, or even building kernel in an async way, ryhthms with a research idea I had, that’s why I have always kept an eye on the development of io_uring.
Nonetheless, I’m not sure how real world softwares are picking it up. The io_uring introduced a set of new APIs and we have to rewrite applications to take advantage of its benefits. Although it may have performance benefits, this may prevent a wider adoption.
Some argue there is nothing new about io_uring. I partially agree. It is a common practice to use rings to bridge multiple communicating parties, or to realize async ops. But actually implement the feature for syscalls is challenging.
There is user library called liburing to ease the use of io_ring.
The kernel code is
fs/io_uring.c. Such a big file. Bad practice.
I think the whole io_uring thing is worth checking out. And you should think about what you can further do about it. I think it has great potentials.