Re: performance issues

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: DHSC Webmaster <webmaster(at)dhs-club(dot)com>, pgsql-admin(at)postgresql(dot)org
Subject: Re: performance issues
Date: 2001-06-14 16:35:31
Message-ID: 200106141635.f5EGZVv07369@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-sql

> 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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Rebi Varghese 2001-06-14 18:26:25 openBSD
Previous Message Tom Lane 2001-06-14 15:51:35 Re: performance issues

Browse pgsql-sql by date

  From Date Subject
Next Message Josh Berkus 2001-06-14 16:38:28 Re: RE: search/replace in update
Previous Message Tom Lane 2001-06-14 16:15:04 Re: Re: Timestamp without time zone