Asynchronous IO on Linux

Mark Woodward markw-FJ05HQ0HCKaWd6l5hS35sQ at public.gmane.org
Fri May 6 10:47:58 EDT 2011


A while ago, I wrote an asynchronous file I/O system for Linux, I 
basically needed too because the posix AIO was so limited.

I wrote mine using threads, one thread per file, and one event per 
thread. It seems pretty good. Works fairly well, more or less portable 
even. (I've tested it on Windows, Mac, and Linux)

My question, is AIO on Linux ever going to become a robust system that 
works on all file types? Would using kernel based AIO on Linux perform 
any better than merely a thread based system? (provided what you are 
doing maps to kernel AIO)




More information about the Discuss mailing list