Re: SMP Read-only Performance

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: SMP Read-only Performance
Дата
Msg-id dcc563d11001261607t79636439oa8fdbf94addc0ac4@mail.gmail.com
обсуждение исходный текст
Ответ на SMP Read-only Performance  (Mike Bresnahan <mike.bresnahan@bestbuy.com>)
Список 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 по дате отправления:

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: create role in a pl/pgsql trigger
Следующее
От: Greg Smith
Дата:
Сообщение: Re: SMP Read-only Performance