From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: DHSC Webmaster <webmaster@dhs-club.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: performance issues
Date: Thu, 14 Jun 2001 12:35:31 -0400 (EDT)
Message-ID: <200106141635.f5EGZVv07369@candle.pha.pa.us> (raw)
In-Reply-To: <18087.992533895@sss.pgh.pa.us>
> 2. If you are on a platform where the kernel thinks it can swap out
> parts of shared memory (which is most platforms, these days), it's
> counterproductive to make your shared mem large enough that it's not
> all being used heavily. If the kernel decides to swap out some buffer
> space, you have a net loss in performance, because you just wasted
> disk I/O (especially if the page in the buffer is dirty --- it'll
> eventually have to be read in again, then written out again, to no
> purpose).
FYI, FreeBSD had the ability to disable shared memory swapping with a
sysctl setting, while BSD/OS does not swap out shared memory.
--
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
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: pgman@candle.pha.pa.us, tgl@sss.pgh.pa.us, webmaster@dhs-club.com, pgsql-admin@postgresql.org
Subject: Re: performance issues
In-Reply-To: <200106141635.f5EGZVv07369@candle.pha.pa.us>
* 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