Re: Tuning for mid-size server

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: Andrew Sullivan <andrew(at)libertyrms(dot)info>, pgsql-performance(at)postgresql(dot)org
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Subject: Re: Tuning for mid-size server
Date: 2003-10-21 18:51:02
Message-ID: 200310211151.02751.josh@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

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

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Anjan Dave 2003-10-21 18:53:03 Re: Tuning for mid-size server
Previous Message Tom Lane 2003-10-21 18:43:47 Re: Tuning for mid-size server