Re: Is user-space AIO dead?

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

 



--- David Lloyd <[email protected]> wrote:

> On Wed, 11 Jan 2006, Kenny Simpson wrote:
> 
> > --- David Lloyd <[email protected]> wrote:
> >> Wouldn't nonblocking I/O on regular files be nice?
> >
> > Yes it could be.  As I understand it, regular file writes (not O_DIRECT) 
> > are only to the page cache and only block when there is memory pressure 
> > (so it is more of a throttle).
> 
> If you were however using O_DIRECT or O_SYNC, you would then have a 
> mechanism to know when your writes have made it to disk, which might be 
> useful for transactional systems.

Right, but I'm not sure O_DIRECT implies stable storage, only data sent out to the device, not
held up in the page cache (I could be wrong).

AIO is implemented for O_DIRECT according to the paper, but they observed it not having benefit.

AIO being implemented to O_SYNC would be nice for my use, as it would also eliminate the extra
alignment restrictions brought on by O_DIRECT.

-Kenny


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux