Re: Asynchronous I/O Support

Alvaro Herrera <alvherre@commandprompt.com>

From: Alvaro Herrera <alvherre@commandprompt.com>
To: Zeugswetter Andreas ADI SD <ZeugswetterA@spardat.at>
Cc: Bruno Wolff III <bruno@wolff.to>, Neil Conway <neilc@samurai.com>, Martijn van Oosterhout <kleptog@svana.org>, Raja Agrawal <raja.agrawal@gmail.com>, pgsql-hackers@postgresql.org
Date: 2006-10-20T12:47:28Z
Lists: pgsql-hackers
Zeugswetter Andreas ADI SD wrote:

> > An improvement is going into 2.6.19 to handle asynchronous 
> > vector reads and writes. This was covered by Linux Weekly 
> > News a couple of weeks ago:
> > http://lwn.net/Articles/201682/
> 
> That is orthogonal. We don't really need vector io so much, since we
> rely on OS readahead. We want asyc IO to tell the OS earlier, that we
> will need these random pages, and continue our work in the meantime.

Of course, you can use asynchronous vector write with a single entry in
the vector if you want to perform an asynchronous write.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support