pg.ddx.io pgsql-performance@postgresql.org mailing list archive
help / color / mirror / Atom feed Re: [PERFORM] About “context-switching issue on Xeon” test case ?
3+ messages / 1 participants
[nested] [flat]
* Re: [PERFORM] About “context-switching issue on Xeon” test case ?
@ 2010-04-10 05:05 ` Scott Marlowe <scott.marlowe@gmail.com>
2010-04-11 15:43 ` Re: [PERFORM] About “context-switching issue on Xeon” test case ? Scott Marlowe <scott.marlowe@gmail.com>
1 sibling, 1 reply; 3+ messages in thread
From: Scott Marlowe @ 2010-04-10 05:05 UTC (permalink / raw)
To: Greg Smith <greg@2ndquadrant.com>; +Cc: 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.
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: [PERFORM] About “context-switching issue on Xeon” test case ?
2010-04-10 05:05 ` Re: [PERFORM] About “context-switching issue on Xeon” test case ? Scott Marlowe <scott.marlowe@gmail.com>
@ 2010-04-11 15:43 ` Scott Marlowe <scott.marlowe@gmail.com>
0 siblings, 0 replies; 3+ messages in thread
From: Scott Marlowe @ 2010-04-11 15:43 UTC (permalink / raw)
To: Greg Smith <greg@2ndquadrant.com>; +Cc: RD黄永卫 <yongwei_huang@temp.gtmc.com.cn>; pgsql-performance
2010/4/10 Greg Smith <greg@2ndquadrant.com>:
> Scott Marlowe wrote:
>> 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.
>>
>
> AMD has been getting such poor performance due to the RAM they've been
> using (DDR2-800) that it really doesn't matter--Intel has been thrashing
> them across the board continuously since the "Nehalem" processors became
> available, which started in volume in 2009.
Considering the nehalems are only available (or were at least) in two
socket varieties, and that opterons have two channels per socket
wouldn't the aggregate performance of 8 sockets x 2 channels each beat
the 2 sockets / 3 channels each?
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: [PERFORM] About “context-switching issue on Xeon” test case ?
@ 2010-04-10 05:07 ` Scott Marlowe <scott.marlowe@gmail.com>
1 sibling, 0 replies; 3+ messages in thread
From: Scott Marlowe @ 2010-04-10 05:07 UTC (permalink / raw)
To: Greg Smith <greg@2ndquadrant.com>; +Cc: 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.
Note that I found this comment by some guy named Greg from almost a
year ago that I thought was relevant. (I'd recommend reading the
whole thread.)
http://archives.postgresql.org/pgsql-performance/2009-06/msg00097.php
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2010-04-11 15:43 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2010-04-10 05:05 ` Scott Marlowe <scott.marlowe@gmail.com>
2010-04-11 15:43 ` Scott Marlowe <scott.marlowe@gmail.com>
2010-04-10 05:07 ` Scott Marlowe <scott.marlowe@gmail.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox