Re: which dual-CPU hardware/OS is fastest for PostgreSQL?

From: Alex Turner <armtuk(at)gmail(dot)com>
To: Greg Stark <gsstark(at)mit(dot)edu>
Cc: Merlin Moncure <merlin(dot)moncure(at)rcsonline(dot)com>, pgsql-performance(at)postgresql(dot)org
Subject: Re: which dual-CPU hardware/OS is fastest for PostgreSQL?
Date: 2005-01-12 16:57:47
Message-ID: 33c6269f050112085763aff4a6@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Infact the cache hit ratio that Oracle suggests is the minimum good
value is 95%. Anything below that is bad news. The reason is pretty
obvious - RAM transfer speed is around 3.2G/sec these days, whilst
even the best array isn't going to give more than 400MB/sec, and
that's not even starting to talk about seek time. anything below 90%
is not going to keep even the best disc hardware saturated. I know
that our dataset is 99% cached, and therefore better CPUs/better RAM
has a huge impact on overall performance.

Alex Turner
NetEconomist

On 11 Jan 2005 10:39:01 -0500, Greg Stark <gsstark(at)mit(dot)edu> wrote:
>
> "Merlin Moncure" <merlin(dot)moncure(at)rcsonline(dot)com> writes:
>
> > heh, our apps do tend to be CPU bound. Generally, I think the extra CPU
> > horsepower is worth the investment until you get to the really high end
> > cpus.
>
> I find that while most applications I work with shouldn't be cpu intensive
> they do seem end up being cpu bound quite frequently. What happens is that 90%
> of the workload has a working set that fits in RAM. So the system ends up
> being bound by the memory bus speed. That appears exactly the same as
> cpu-bound, though I'm unclear whether increasing the cpu clock will help.
>
> It's quite possible to have this situation at the same time as other queries
> are i/o bound. It's quite common to have 95% of your workload be frequently
> executed fast queries on commonly accessed data and 5% be bigger data
> warehouse style queries that need to do large sequential reads.
>
> Incidentally, the same was true for Oracle on Solaris. If we found excessive
> cpu use typically meant some frequently executed query was using a sequential
> scan on a small table. Small enough to fit in RAM but large enough to consume
> lots of cycles reading it.
>
> --
> greg
>
>

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Greg Stark 2005-01-12 17:25:23 Re: which dual-CPU hardware/OS is fastest for PostgreSQL?
Previous Message Martin Tedjawardhana 2005-01-12 15:19:06 Re: Increasing RAM for more than 4 Gb. using postgresql