Re: scaling up postgres

From: "Steinar H(dot) Gunderson" <sgunderson(at)bigfoot(dot)com>
To: fzied(at)planet(dot)tn
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: scaling up postgres
Date: 2006-06-03 09:43:55
Message-ID: 20060603094355.GA23297@uio.no
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Sat, Jun 03, 2006 at 10:31:03AM +0100, fzied(at)planet(dot)tn 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/

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message PFC 2006-06-03 09:57:50 Re: scaling up postgres
Previous Message fzied 2006-06-03 09:31:03 scaling up postgres