From: Josh Berkus <josh@agliodbs.com>
To: Andrew Sullivan <andrew@libertyrms.info>
To: pgsql-performance@postgresql.org
Cc: Bruce Momjian <pgman@candle.pha.pa.us>
Subject: Re: Tuning for mid-size server
Date: Tue, 21 Oct 2003 11:51:02 -0700
Message-ID: <200310211151.02751.josh@agliodbs.com> (raw)
In-Reply-To: <20031021175016.GH11421@libertyrms.info>
References: <2F2E24372F10744588A27DEECC85FE04B6769D@vt-pe2550-001.vantage.vantage.com>
<200310211015.57569.josh@agliodbs.com>
<20031021175016.GH11421@libertyrms.info>
Andrew,
> I think the "25%" rule of thumb is slightly stale: above some
> threshold, it just falls apart, and lots of people now have machines
> well within that threshold. Heck, I'll bet Bruce's 2-way machine is
> within that threshold.
Sure. But we had a few people on this list do tests (including me) and the
anecdotal evidence was lower than 25%, substantially. The falloff is subtle
until you hit 50% of RAM, like:
% query throughput
1 ----
5 ---------
10 -----------
15 ----------
20 ----------
25 ---------
30 --------
35 --------
40 -------
... so it's often not immediately apparent when you've set stuff a little too
high. However, in the folks that tested, the ideal was never anywhere near
25%, usually more in the realm of 5-10%. I've been using 6% as my starting
figure for the last year for a variety of servers with good results.
Of course, if you have anecdotal evidence to the contrary, then the only way
to work this would be to have OSDL help us sort it out.
--
-Josh Berkus
Aglio Database Solutions
San Francisco
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-performance@postgresql.org
Cc: josh@agliodbs.com, andrew@libertyrms.info, pgman@candle.pha.pa.us
Subject: Re: Tuning for mid-size server
In-Reply-To: <200310211151.02751.josh@agliodbs.com>
* 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