Re: ice-broker scan thread - Mailing list pgsql-hackers

From Gavin Sherry
Subject Re: ice-broker scan thread
Date
Msg-id Pine.LNX.4.58.0511291616390.18662@linuxworld.com.au
Whole thread Raw
In response to Re: ice-broker scan thread  (Qingqing Zhou <zhouqq@cs.toronto.edu>)
List pgsql-hackers
On Mon, 28 Nov 2005, Qingqing Zhou wrote:

>
>
> On Mon, 28 Nov 2005, Gavin Sherry wrote:
> >
> > MySQL, Oracle and others implement read-ahead threads to simulate async IO
> > 'pre-fetching'.
>
> Due to my tests on Windows (using the attached program and change
> enable_aio=true), seems aio doesn't help as a separate thread - but maybe
> because my usage is wrong ...

Right, I would imagine that it's very close. I intend to use kernel based
async IO so that we can have the prefetch effect of your sample program
without the need for threads.

Thanks,

Gavin


pgsql-hackers by date:

Previous
From: David Boreham
Date:
Subject: Re: ice-broker scan thread
Next
From: "Qingqing Zhou"
Date:
Subject: Re: ice-broker scan thread