Re: AMD Shanghai versus Intel Nehalem - Mailing list pgsql-performance

From Arjen van der Meijden
Subject Re: AMD Shanghai versus Intel Nehalem
Date
Msg-id 4A0BB872.8020506@tweakers.net
Whole thread Raw
In response to Re: AMD Shanghai versus Intel Nehalem  (Scott Carey <scott@richrelevance.com>)
Responses Re: AMD Shanghai versus Intel Nehalem
List pgsql-performance
On 13-5-2009 20:39 Scott Carey wrote:
> Excellent!  That is a pretty huge boost.   I'm curious which aspects of this
> new architecture helped the most.  For Postgres, the following would seem
> the most relevant:
> 1.  Shared L3 cache per processors -- more efficient shared datastructure
> access.
> 2.  Faster atomic operations -- CompareAndSwap, etc are much faster.
> 3.  Faster cache coherency.
> 4.  Lower latency RAM with more overall bandwidth (Opteron style).

Apart from that, it has a newer debian (and thus kernel/glibc) and a
slightly less constraining IO which may help as well.

> Can you do a quick and dirty memory bandwidth test? (assuming linux)
> On the older X5355 machine and the newer E5540, try:
> /sbin/hdparm -T /dev/sd<device>

It is in use, so the results may not be so good, this is the best I got
on our dual X5355:
  Timing cached reads:   6314 MB in  2.00 seconds = 3159.08 MB/sec

But this is the best I got for a (also in use) Dual E5450 we have:
  Timing cached reads:   13158 MB in  2.00 seconds = 6587.11 MB/sec

And here the best for the (idle) E5540:
  Timing cached reads:   16494 MB in  2.00 seconds = 8256.27 MB/sec

These numbers are with hdparm v8.9

Best regards,

Arjen

pgsql-performance by date:

Previous
From: Dimitri Fontaine
Date:
Subject: Re: Any better plan for this query?..
Next
From: "Ow Mun Heng"
Date:
Subject: Re: increase index performance