Re: Asynchronous I/O Support

From: Mark Kirkwood <markir(at)paradise(dot)net(dot)nz>
To: NikhilS <nikkhils(at)gmail(dot)com>
Cc: Luke Lonergan <llonergan(at)greenplum(dot)com>, Martijn van Oosterhout <kleptog(at)svana(dot)org>, 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 07:04:29
Message-ID: 4535D1FD.9090600@paradise.net.nz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

NikhilS wrote:
> Hi,
>
> "bgwriter doing aysncronous I/O for the dirty buffers that it is
> supposed to sync"
> Another decent use-case?
>
> Regards,
> Nikhils
> EnterpriseDB http://www.enterprisedb.com
>
> On 10/15/06, *Luke Lonergan* <llonergan(at)greenplum(dot)com
> <mailto:llonergan(at)greenplum(dot)com>> wrote:
>
> Martijn,
>
> On 10/15/06 10:56 AM, "Martijn van Oosterhout" <kleptog(at)svana(dot)org
> <mailto:kleptog(at)svana(dot)org>> wrote:
>
> > Have enough systems actually got to the point of actually supporting
> > async I/O that it's worth implementing?
>
> I think there are enough high end applications / systems that need it at
> this point.
>
> The killer use-case we've identified is for the scattered I/O
> associated
> with index + heap scans in Postgres. If we can issue ~5-15 I/Os in
> advance
> when the TIDs are widely separated it has the potential to increase
> the I/O
> speed by the number of disks in the tablespace being scanned. At this
> point, that pattern will only use one disk.
>

Is it worth considering using readv(2) instead?

Cheers

Mark

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Albe Laurenz 2006-10-18 07:53:49 Re: [HACKERS] query log corrupted-looking entries
Previous Message NikhilS 2006-10-18 06:05:10 Re: Asynchronous I/O Support