Re: scaling up postgres

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Jun 03, 2006 at 10:31:03AM +0100, fzied@xxxxxxxxx wrote:
> I do have 2 identical beasts (4G - biproc Xeon 3.2 - 2 Gig NIC)
> One beast will be apache, and the other will be postgres.
> I'm using httperf/autobench for measurments and the best result I can get 
> is that my system can handle a trafiic of almost 1600 New con/sec.

What version of PostgreSQL? (8.1 is better than 8.0 is much better than 7.4.)
Have you remembered to turn HT off? Have you considered Opterons instead of
Xeons? (The Xeons generally scale bad with PostgreSQL.) What kind of queries
are you running? Are you using connection pooling? Prepared queries?

> vmstat is not showing any "annoyance" I cannot find where is it blocked !

How many context switches ("cs" in vmstat) do you get per second?

/* Steinar */
-- 
Homepage: http://www.sesse.net/


[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux