Re: 8.3 on FreeBSD 6.3, sudden performance degradations

Поиск
Список
Период
Сортировка
От Greg Smith
Тема Re: 8.3 on FreeBSD 6.3, sudden performance degradations
Дата
Msg-id Pine.GSO.4.64.0809090417410.572@westnet.com
обсуждение исходный текст
Ответ на 8.3 on FreeBSD 6.3, sudden performance degradations  ("Ivan Zolotukhin" <ivan.zolotukhin@gmail.com>)
Список pgsql-general
On Mon, 8 Sep 2008, Ivan Zolotukhin wrote:

> Yep, update_process_title = off if it is important.

Have you considered turning it on so you can see what processes are most
involved in the spike?  Normally in your situation I'd try to capture what
the output from top was during the problem period and match that with what
the processes involved are doing at the time, and you'll need that to see
inside the PG processes.  If the event is random then this data can be
hard to capture, you might have to write some scripts to save top output
in batch mode and the output from ps.

Did you confirm that the slow periods aren't checkpoint-related?  I've
seen some wacky stuff on Linux before where the system percentage went up
dramatically because the background disk I/O process got hyperactive.
Again, the way you can usually figure that out is to look at what top is
showing during that period.  I suspect you'll find some daemon going
crazy.  The vmstat and iostat info you included are certainly strange but
I don't know enough about FreeBSD to know exactly what would cause that.

--
* Greg Smith gsmith@gregsmith.com http://www.gregsmith.com Baltimore, MD

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

Предыдущее
От: Greg Smith
Дата:
Сообщение: Re: Install Postgres on a SAN volume?
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: Install Postgres on a SAN volume?