Re: Asynchronous I/O Support - Mailing list pgsql-hackers

From Neil Conway
Subject Re: Asynchronous I/O Support
Date
Msg-id 1160936772.23293.13.camel@localhost.localdomain
Whole thread Raw
In response to Re: Asynchronous I/O Support  (Martijn van Oosterhout <kleptog@svana.org>)
Responses Re: Asynchronous I/O Support  (Martijn van Oosterhout <kleptog@svana.org>)
Re: Asynchronous I/O Support  (Florian Weimer <fweimer@bfk.de>)
Re: Asynchronous I/O Support  (Bruno Wolff III <bruno@wolff.to>)
List pgsql-hackers
On Sun, 2006-10-15 at 19:56 +0200, Martijn van Oosterhout wrote:
> Sure, I even implemented it once. Didn't get any faster.

Did you just do something akin to s/read/aio_read/ etc., or something
more ambitious? I think that really taking advantage of the ability to
have multiple I/O requests outstanding would take some leg work.

> Maybe one of these days I should work out if my current system supports
> it, and give it another go...

At least according to [1], kernel AIO on Linux still doesn't work for
buffered (i.e. non-O_DIRECT) files. There have been patches available
for quite some time that implement this, but I'm not sure when they are
likely to get into the mainline kernel.

-Neil

[1] http://lse.sourceforge.net/io/aio.html



pgsql-hackers by date:

Previous
From: "Luke Lonergan"
Date:
Subject: Re: Asynchronous I/O Support
Next
From: mark@mark.mielke.cc
Date:
Subject: Re: Postgresql Caching