pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Greg Stark <gsstark@mit.edu>
To: pgsql-hackers@postgresql.org
Subject: Re: Changing the default configuration (was Re:
Date: 13 Feb 2003 15:47:08 -0500
Message-ID: <87znozkiwj.fsf@stark.dyndns.tv> (raw)
In-Reply-To: <Pine.NEB.4.51.0302131325430.1487@angelic.cynic.net>
References: <200302130236.h1D2ajh17527@candle.pha.pa.us>
	<Pine.NEB.4.51.0302131325430.1487@angelic.cynic.net>


> 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




view thread (65+ messages)  latest in thread

Message-ID: <87znozkiwj.fsf@stark.dyndns.tv>
Permalink:  ../87znozkiwj.fsf@stark.dyndns.tv/
Also on:    postgresql.org/message-id/87znozkiwj.fsf@stark.dyndns.tv

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: gsstark@mit.edu, pgsql-hackers@postgresql.org
  Subject: Re: Changing the default configuration (was Re:
  In-Reply-To: <87znozkiwj.fsf@stark.dyndns.tv>
  References: <200302130236.h1D2ajh17527@candle.pha.pa.us> <Pine.NEB.4.51.0302131325430.1487@angelic.cynic.net> <87znozkiwj.fsf@stark.dyndns.tv>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox