"One could expect The Linux asynchronous I/O (AIO) layer to actually be asynchronous. In truth, an AIO operation can block in the kernel for a number of reasons, making AIO difficult to use in situations where the calling thread cannot afford to block"https://lwn.net/Articles/724198/ …
Linux "AIO" is unusably klunky and not useful. Better can be achieved with no risk of blocking just by using IO threads & sync IO calls. And 100% portable!
-
-
This will cost you a lot more CPU cycles for NVMe devices though. AIO is not ideal, but totally usable.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.