3 ms·
The challenge most people have with using Linux AIO is that it is an "all or nothing" proposition, you can't sprinkle a little of it onto some existing code and
by jandrewrogers 8y ago
The challenge most people have with using Linux AIO is that it is an "all or nothing" proposition, you can't sprinkle a little of it onto some existing code and get a good result.
Using Linux AIO well entails writing a complete disk I/O implementation stack including your own disk cache infrastructure, I/O scheduler, etc with a high degree of technical competency and APIs to match. If you actually do all of this, Linux AIO is powerful and pleasant to use for high-performance disk access, if somewhat poorly documented. It works even better with raw block devices instead of files in filesystems -- you can pin some of its quirks on annoying filesystem behavior.