Re: PostgreSQL and Xeon MP

Поиск
Список
Период
Сортировка
От Guillaume Smet
Тема Re: PostgreSQL and Xeon MP
Дата
Msg-id 1d4e0c10603210857q145542e1ve8533bbf7eea2aa1@mail.gmail.com
обсуждение исходный текст
Ответ на Re: PostgreSQL and Xeon MP  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-performance
On 3/16/06, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Can you try strace'ing some of the backend processes while the system is
> behaving like this?  I suspect what you'll find is a whole lot of
> delaying select() calls due to high contention for spinlocks ...

As announced, we have migrated our production server from 7.4.8 to
8.1.3 this morning. We did some strace'ing before the migration and
you were right on the select calls. We had a lot of them even when the
database was not highly loaded (one every 3-4 lines).

After the upgrade, we have the expected behaviour with a more linear
scalability and a growing cpu load when the database is highly loaded
(and no cpu idle anymore in this case). We have fewer context switches
too.

8.1.3 definitely is far better for quad Xeon MP and I recommend the
upgrade for everyone having this sort of problem.

Tom, thanks for your great work on this problem.

--
Guillaume

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

Предыдущее
От: Adam Witney
Дата:
Сообщение: Re: Best OS & Configuration for Dual Xeon w/4GB &
Следующее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: update == delete + insert?