Re: Changing the default configuration (was Re: - Mailing list pgsql-hackers

From Greg Stark
Subject Re: Changing the default configuration (was Re:
Date
Msg-id 87znozkiwj.fsf@stark.dyndns.tv
Whole thread Raw
In response to Re: Changing the default configuration (was Re:  (Curt Sampson <cjs@cynic.net>)
List pgsql-hackers
> On Wed, 12 Feb 2003, Bruce Momjian wrote:
> >
> > And part of the reason is because some/most BSD's map the page tables
> > into physical RAM (kernel space) rather than use some shared page table
> > mechanism. This is good because it prevents the shared memory from
> > being swapped out (performance disaster).

Well, it'll only be swapped out if it's not being used...

In any case you can use madvise() to try to avoid that, but it doesn't seem
likely to be a problem since they would probably be the most heavily used
pages in postgres.

-- 
greg



pgsql-hackers by date:

Previous
From: Steve Crawford
Date:
Subject: Re: location of the configuration files
Next
From: Peter Eisentraut
Date:
Subject: Re: loading libraries on Postmaster startup