Re: memory strangeness (fwd) - Mailing list pgsql-admin

From Bruce Momjian
Subject Re: memory strangeness (fwd)
Date
Msg-id 200207050333.g653X1t28750@candle.pha.pa.us
Whole thread Raw
In response to Re: memory strangeness (fwd)  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-admin
Tom Lane wrote:
> Curt Sampson <cjs@cynic.net> writes:
> >> I still cannot set PG's shared_buffers higher than 20000 (160 MB):
>
> > Shared memory pages, IIRC, are locked, meaning that they cannot be
> > swapped.
>
> Is that really how it works on *BSD?  That's great if so --- it's
> exactly what Postgres wants --- but you'll pardon my paranoia about
> assuming that any part of the universe works the way I want it to...

Sure does.  FreeBSD has a sysctl option to enable it, BSD/OS and I bet
NetBSD do it by default.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026



pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: memory strangeness (fwd)
Next
From: Curt Sampson
Date:
Subject: Re: memory strangeness (fwd)