tech-kern archive

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

Re: compat_linux and AIO



On Fri, Oct 05, 2012 at 04:07:38PM +0000, Paul_Koning%Dell.com@localhost wrote:
 > > I am playing with oracle XE on 6.0_RC2 and ktrace tells me that this
 > > requires Linux aio_* system calls.
 > > [...]
 > 
 > 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.

Yes. There's a reason Linux has real aio now and not just
aio-done-with-threads like they used to: scaling. Threads are fairly
expensive.

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index