tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: compat_linux and AIO



On Oct 5, 2012, at 12:01 PM, Emmanuel Dreyfus wrote:

> Hi
> 
> I am playing with oracle XE on 6.0_RC2 and ktrace tells me that this
> requires Linux aio_* system calls.
> 
> Here is the documentation:
> http://lse.sourceforge.net/io/aio.html
> 
> Abd the system call man pages:
> http://www.kernel.org/doc/man-pages/online/pages/man2/io_setup.2.html
> http://www.kernel.org/doc/man-pages/online/pages/man2/io_submit.2.html
> http://www.kernel.org/doc/man-pages/online/pages/man2/io_getevents.2.html
> http://www.kernel.org/doc/man-pages/online/pages/man2/io_cancel.2.html
> http://www.kernel.org/doc/man-pages/online/pages/man2/io_destroy.2.html
> 
> How difficult would this be to implement? Anyone has ideas on it?

Is there any advantage to using aio rather than regular I/O from threads?  I've 
used both (aio only a little) and found aio rather hard to use while 
multithreading with conventional thread-blocking I/O seems easy and intuitive.

        paul




Home | Main Index | Thread Index | Old Index