Re: Asynchronous I/O Support

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: Mark Kirkwood <markir(at)paradise(dot)net(dot)nz>
Cc: NikhilS <nikkhils(at)gmail(dot)com>, Luke Lonergan <llonergan(at)greenplum(dot)com>, Raja Agrawal <raja(dot)agrawal(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Asynchronous I/O Support
Date: 2006-10-18 12:17:54
Message-ID: 20061018121754.GA11184@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)svana(dot)org> http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andreas Joseph Krogh 2006-10-18 12:28:50 Re: bug or feature, || -operator and NULLs
Previous Message Csaba Nagy 2006-10-18 12:15:11 Re: bug or feature, || -operator and NULLs