Re: adding support for posix_fadvise() - Mailing list pgsql-hackers

From Tom Lane
Subject Re: adding support for posix_fadvise()
Date
Msg-id 14249.1067871715@sss.pgh.pa.us
Whole thread Raw
In response to Re: adding support for posix_fadvise()  (Neil Conway <neilc@samurai.com>)
Responses Re: adding support for posix_fadvise()  (Neil Conway <neilc@samurai.com>)
List pgsql-hackers
Neil Conway <neilc@samurai.com> writes:
> POSIX_FADV_RANDOM doesn't effect the page cache, it just determines how
> aggressive the kernel is when doing readahead (at least on Linux, but
> I'd expect to see other kernels implement similar behavior).

I would expect POSIX_FADV_SEQUENTIAL to reduce the chance that a page
will be kept in buffer cache after it's been used.
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Matthew T. O'Connor"
Date:
Subject: Re: Experimental patch for inter-page delay in VACUUM
Next
From: Neil Conway
Date:
Subject: Re: adding support for posix_fadvise()