Re: Multi CPU Queries - Feedback and/or suggestions wanted! - Mailing list pgsql-hackers

From Jonah H. Harris
Subject Re: Multi CPU Queries - Feedback and/or suggestions wanted!
Date
Msg-id 36e682920810231515s3cdbce99kc5272eff2105be22@mail.gmail.com
Whole thread Raw
In response to Re: Multi CPU Queries - Feedback and/or suggestions wanted!  (Greg Smith <gsmith@gregsmith.com>)
Responses Re: Multi CPU Queries - Feedback and/or suggestions wanted!
Re: Multi CPU Queries - Feedback and/or suggestions wanted!
List pgsql-hackers
On Thu, Oct 23, 2008 at 4:53 PM, Greg Smith <gsmith@gregsmith.com> wrote:
>> I think the current plan is to use posix_advise() to allow parallel I/O,
>> rather than async I/O becuase posix_advise() will require fewer code
>> changes.
>
> These are not necessarily mutually exclusive designs.  fadvise works fine on
> Linux, but as far as I know only async I/O works on Solaris.  Linux also has
> an async I/O library, and it's not clear to me yet whether that might work
> even better than the fadvise approach.

fadvise is a kludge.  While it will help, it still makes us completely
reliant on the OS.  For performance reasons, we should be supporting a
multi-block read directly into shared buffers.  IIRC, we currently
have support for rings in the buffer pool, which we could read
directly into.  Though, an LRU-based buffer manager design would be
more optimal in this case.

-- 
Jonah H. Harris, Senior DBA
myYearbook.com


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: SSL README
Next
From: Bruce Momjian
Date:
Subject: Re: SSL README