Re: SMP Read-only Performance - Mailing list pgsql-general

From Scott Marlowe
Subject Re: SMP Read-only Performance
Date
Msg-id dcc563d11001261607t79636439oa8fdbf94addc0ac4@mail.gmail.com
Whole thread Raw
In response to SMP Read-only Performance  (Mike Bresnahan <mike.bresnahan@bestbuy.com>)
List pgsql-general
On Tue, Jan 26, 2010 at 3:01 PM, Mike Bresnahan
<mike.bresnahan@bestbuy.com> wrote:
> During these tests top(1) reported 60-70% idle CPU.
>
> As you see, the TPS remains the same as I increase the number of clients. These
> results make it look like PostgreSQL is single-threaded and not taking advantage
> of the multiple cores. Could someone please explain?

This is more likely a limitation of pgbench and not postgresql.  pgsql
9.0 has a multi-threaded pgbench coming with it that should help for
testing these situations.

http://www.depesz.com/index.php/2009/08/26/waiting-for-8-5-multi-threaded-pgbench/

pgsql-general by date:

Previous
From: Craig Ringer
Date:
Subject: Re: create role in a pl/pgsql trigger
Next
From: Greg Smith
Date:
Subject: Re: SMP Read-only Performance