Re: [PERFORM] About “context-switching issue on Xeon” test case ?

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: [PERFORM] About “context-switching issue on Xeon” test case ?
Дата
Msg-id y2qdcc563d11004092205h48985628i43b10ee8c7996b7e@mail.gmail.com
обсуждение исходный текст
Ответ на Re: About “context-switching issue on Xeon” test case ?  (Greg Smith <greg@2ndquadrant.com>)
Ответы Re: About “context-switching issue on Xeon” test case ?  (Greg Smith <greg@2ndquadrant.com>)
答复: [PERFORM] About “context-switching issue on Xeon” test case ?  (RD黄永卫 <yongwei_huang@temp.gtmc.com.cn>)
Список pgsql-performance
2010/4/9 Greg Smith <greg@2ndquadrant.com>:
> RD黄永卫 wrote:
>>
>> Anybody have the test case of “ context-switching issue on Xeon” from
>> Tm lane ?
>>
>
> That takes me back:
> http://archives.postgresql.org/pgsql-performance/2004-04/msg00280.php
>
> That's a problem seen on 2004 era Xeon processors, and with PostgreSQL
> 7.4. I doubt it has much relevance nowadays, given a) that whole area of
> the code was rewritten for PostgreSQL 8.1, and b) today's Xeons are
> nothing like 2004's Xeons.

It's important to appreciate that all improvements in scalability for
xeons, opterons, and everything else has mostly just moved further
along to the right on the graph where you start doing more context
switching than work, and the performance falls off.  The same way that
(sometimes) throwing more cores at a problem can help.  For most
office sized pgsql servers there's still a real possibility of having
a machine getting slammed and one of the indicators of that is that
context switches per second will start to jump up and the machine gets
sluggish.

For 2 sockets Intel rules the roost.  I'd imagine AMD's much faster
bus architecture for >2 sockets would make them the winner, but I
haven't had a system like that to test, either Intel or AMD.

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: "could not open relation..."
Следующее
От: Scott Marlowe
Дата:
Сообщение: Re: [PERFORM] About “context-switching issue on Xeon” test case ?