Re: More shared buffers causes lower performances

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Re: More shared buffers causes lower performances
Дата
Msg-id b42b73150712290922k3b22739tc564134c591fa28a@mail.gmail.com
обсуждение исходный текст
Ответ на More shared buffers causes lower performances  ("Guillaume Smet" <guillaume.smet@gmail.com>)
Список pgsql-performance
On Dec 25, 2007 7:06 PM, Guillaume Smet <guillaume.smet@gmail.com> wrote:
> While monitoring the server with vmstat, I can't see any real reason
> why it's slower. When shared_buffers has a higher value, I/O are
> lower, context switches too and finally performances. The CPU usage is
> quite similar (~50-60%). I/O doesn't limit the performances AFAICS.

Can you confirm that i/o is lower according to iostat?  One
possibility is that you are on the cusp of where your server's memory
covers the database and the higher buffers results in lower memory
efficiency.

If raising shared buffers is getting you more page faults to disk,
this would explain the lower figures regardless of the # of syscalls.
If your iowait is zero though the test is cpu bound and this
distinction is moot.

merlin

В списке pgsql-performance по дате отправления:

Предыдущее
От: "Guillaume Smet"
Дата:
Сообщение: Re: More shared buffers causes lower performances
Следующее
От: Sebastián Baioni
Дата:
Сообщение: Re: [GENERAL] Can't make backup