From: David Gilbert <dgilbert@velocet.ca>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Thomas O'Connell <tfo@monsterlabs.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: performance tuning: shared_buffers, sort_mem; swap
Date: Tue, 13 Aug 2002 18:48:38 -0400
Message-ID: <15705.36038.645823.820155@canoe.velocet.net> (raw)
In-Reply-To: <1372.1029274016@sss.pgh.pa.us>
References: <27214.1029257785@sss.pgh.pa.us>
<tfo-549650.13201613082002@news.hub.org>
<tfo-345314.14322213082002@news.hub.org>
<1372.1029274016@sss.pgh.pa.us>
>>>>> "Tom" == Tom Lane <tgl@sss.pgh.pa.us> writes:
[on shared memory size, deleted]
Tom> There are also a number of fixed-size data structures in shared
Tom> memory, and I believe we throw on a 10% fudge factor for good
Tom> luck after we're done counting up what we think we need.
Tom> You could work out the effective multipliers for these parameters
Tom> with a little bit of experimental effort...
I don't often ask a question, but it's been bugging me for some time:
is there any reason why PostgreSQL must use SysV shared memory?
Coming from the BSD camp, I've often pondered why it doesn't use
BSD-style shared memory (which is often easier to allocate in the BSD
world).
Dave.
--
============================================================================
|David Gilbert, Velocet Communications. | Two things can only be |
|Mail: dgilbert@velocet.net | equal if and only if they |
|http://daveg.ca | are precisely opposite. |
=========================================================GLO================
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-admin@postgresql.org
Cc: dgilbert@velocet.ca, tgl@sss.pgh.pa.us, tfo@monsterlabs.com
Subject: Re: performance tuning: shared_buffers, sort_mem; swap
In-Reply-To: <15705.36038.645823.820155@canoe.velocet.net>
References: <27214.1029257785@sss.pgh.pa.us> <tfo-549650.13201613082002@news.hub.org> <tfo-345314.14322213082002@news.hub.org> <1372.1029274016@sss.pgh.pa.us> <15705.36038.645823.820155@canoe.velocet.net>
* 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