Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

For a long time ago there have been APIs to do asynchronous file I/O on the books for Linux but they weren't worth using because they didn't really speed anything up.


They sped up things for a long time - but only when using unbuffered IO. The new thing with io_uring is that it also accelerates buffered IO. In the initial version it was all through kernel worker threads, but these days several filesystems have better paths for common cases.


IIRC they literally just did the sync I/O on a worker thread.


That’s the POSIX AIO. Linux has had AIO that was only supported for direct I/O and had certain limitations making it awkward to use.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: