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

From Martijn van Oosterhout
Subject Re: Asynchronous I/O Support
Date
Msg-id 20061018121754.GA11184@svana.org
Whole thread Raw
In response to Re: Asynchronous I/O Support  (Mark Kirkwood <markir@paradise.net.nz>)
Responses Re: Asynchronous I/O Support  (NikhilS <nikkhils@gmail.com>)
List pgsql-hackers
On Wed, Oct 18, 2006 at 08:04:29PM +1300, Mark Kirkwood wrote:
> >"bgwriter doing aysncronous I/O for the dirty buffers that it is
> >supposed to sync"
> >Another decent use-case?

Good idea, but async i/o is generally poorly supported.

> Is it worth considering using readv(2) instead?

Err, readv allows you to split a single consecutive read into multiple
buffers. Doesn't help at all for reads on widely areas of a file.

Have a ncie day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

pgsql-hackers by date:

Previous
From: Csaba Nagy
Date:
Subject: Re: bug or feature, || -operator and NULLs
Next
From: Andreas Joseph Krogh
Date:
Subject: Re: bug or feature, || -operator and NULLs