Motherboards Memory Storage Cases/Cooling/PSUs IT Computing Displays Mobile Mac CPUs & Chipsets Video Digital Cameras Linux Gadgets Systems Trade Shows Guides Home Increase Font Size Decrease Font Size Change Page Size
AMD's Quad-Core Barcelona: Defending New Territory
AMD's Quad-Core Barcelona: Defending New Territory
Date: September 10th, 2007
Topic: IT Computing
Manufacturer: AMD
Author: Johan De Gelas
Buy the AMD OS2350PAL4BGH 2350 HE Opteron
Blank
 PCRush $288.94
 eCost $544.99
 
 

"Native Quad-Core"

AMD has told the whole world and their pets that Barcelona is the first true quad-core as opposed to Intel's quad-cores which are twin dual cores. This should result in much better scaling, partly a result of the fact that cores should be able to exchange cache information much quicker.

To quantify the delay that a "snooping" CPU encounters when it tries to get up-to-date data from another CPU's cache, take a look at the numbers below. We have used Cache2cache before; you can find more info here. Cache2Cache measures the propagation time from a store by one processor to a load by the other processor. The results that we publish are approximately twice the propagation time.

Cache coherency ping-pong (ns)
  Same die, same package Different die, same package Different die, different socket
Opteron 2350 152 N/A 199
Xeon E5345 59 154 225
Xeon DP 5160 53 - 237
Xeon DP 5060 201 N/A 265
Xeon 7130 111 N/A 348
Opteron 880 134 N/A 169-188

AMD's native quad-core needs about 76ns to exchange (L1) cache information. That's not bad, but it's not fantastic either as the shared L2 cache approach of the Xeons allows the dual cores to exchange information via the L2 in about 26-30ns. Once you need to get information from core 0 to core 3, the dual die CPU of Intel still doesn't need much more time (77ns) than the quad-core Opteron (76ns). The complex L1-L2-L3 hierarchy might negate the advantages of being a "native" quad-core somewhat, but we have to study this a bit further as it is quite a complex matter.

Memory Subsystem

AMD has improved the memory subsystem of the newest Opteron significantly: the L1 cache is about the only thing that has not been changed: it's still the same 2-way set associative 64KB L1 cache as in K8, and it can be accessed in three cycles. Like every modern CPU, the new Opteron 2350 is capable of transferring about 16 bytes each cycle.

Lavalys Everest L1 Bandwidth
  Read (MB/s) Write (MB/s) Copy (MB/s) Bytes/cycle (Read) Latency (ns)
Opteron 2350 2 GHz 32117 16082 23935 16.06 1.5
Xeon 5160 3.0 47860 47746 95475 15.95 1
Xeon E5345 2.33 37226 37134 74268 15.96 1.3
Opteron 2224 SE 51127 25601 44080 15.98 0.9
Opteron 8218HE 2.6 GHz 41541 20801 35815 15.98 1.1

L2 bandwidth has been a weakness in the AMD architectures for ages. Back in the "K7 Thunderbird" days, AMD simply "bolted" the L2 cache onto the core. The result was a relatively narrow 64-bit path from the L2 cache to the L1 cache which could at best deliver about 2.4 to 3 bytes per cycle. The K8 architecture improved this number by 50% and more, but that still wasn't even close to what Intel's L2 caches could deliver per cycle. In the Barcelona architecture, The data paths into the L1 cache have been doubled once again to 256-bits. And it shows:

Lavalys Everest L2 Bandwidth
  Read (MB/s) Write (MB/s) Copy (MB/s) Bytes/cycle (Read) Bytes/cycle (write) Bytes/cycle (Copy) Latency (ns)
Opteron 2350 2 GHz 14925 12170 13832 7.46 6.09 6.92 1.7
Dual Xeon 5160 3.0 22019 17751 23628 7.34 5.92 7.88 5.7
Xeon E5345 2.33 17610 14878 18291 7.55 6.38 7.84 6.4
Opteron 2224 SE 14636 12636 14630 4.57 3.95 4.57 3.8
Opteron 8218HE 2.6 GHz 11891 10266 11891 4.57 3.95 4.57 4.6

Lavalys Everest L2 Comparisons
  Bytes/cycle (Read) Bytes/cycle (write) Bytes/cycle (Copy)
Barcelona versus Santa Rosa 63% 54% 51%
Barcelona versus Core -1% -5% -12%
Santa Rosa versus Core -39% -38% -42%

Barcelona, aka Opteron 23xx, is capable of delivering no less than 50%-60% more bandwidth to its L1 cache than K8. We also measure a latency of 15 cycles, which puts the AMD L2 cache in the same league as the Intel Core caches.

The memory controllers of the third generation of Opterons have also been vastly improved:
  • Deeper buffers. The low latency integrated memory controller was already one of the strongest points of the Opteron, but the amount of bandwidth it could extract out of DDR2 was mediocre. Only at higher frequencies is the Opteron able to gain a bit of extra performance from fast DDR2-667 DIMMs (compared to DDR-400). This has been remedied in 3rd generation Opteron thanks to deeper request and response buffers.
  • Write buffer. When Socket 939 and dual channel memory support was introduced, we found that the number of cycles that bus turnaround takes had a substantial impact on the performance of the Athlon 64. Indeed with a half duplex bus to the memory it takes some time to switch between writing and reading. When you fill up all the DIMM slots in a socket 939 system, the bus turnaround has to be set to two cycles instead of one. This results in up to a 9% performance hit, depending on how memory intensive your application is. So the way to get the best performance is to use one DIMM per channel and keep the bus turnaround at one cycle. However, even better than trying to keep bus turnaround as low as possible is to avoid bus turnarounds. A 16 entry write buffer in the memory controller allows Barcelona to group writes together and then burst the writes sequentially.
  • More flexible. Each controller supports independent 64-bit accesses. (Dual core Opteron: a single 128-bit access across both controllers)
  • DRAM prefetchers. The DRAM prefetcher works to request data from memory before it's needed when it sees that the memory is being accessed in regular patterns. It can go forward or backward in the memory.
  • Better "open page" management. By keeping the right rows ready on the DRAM, the memory controller only has to pick out the right columns (CAS) to get the necessary data instead of searching for the right row, copying the row, and then picking out the right column. This saves a lot of latency (e.g. RAS to CAS), and can also save some power.
  • Split power planes. Feeding the memory controller and the core from different power rails is not a direct improvement to the memory subsystem, but it does allow the memory controller to be clocked higher than the CPU core.

Okay, let's see if we can make all those promises of better memory performance materialize. We first tested with Lavalys Everest 4.0.11.

Lavalys Everest Memory BW
  Read (MB/s) Write (MB/s) Copy (MB/s) Bytes/cycle (Read) Bytes/cycle (write) Bytes/cycle (Copy) Latency (ns)
Opteron 2350 2 GHz 5895 4463 6614 2.95 2.23 3.31 76
Dual Xeon 5160 3.0 3656 2771 3800 1.22 0.92 1.27 112.2
Xeon E5345 2.33 3578 2793 3665 1.53 1.2 1.57 114.9
Opteron 2224 SE 7466 6980 6863 2.33 2.18 2.14 58.9
Opteron 8218HE 2.6 GHz 6944 6186 5895 2.67 2.38 2.27 64

Lavalys Everest Memory BW Comparison
  Bytes/cycle (Read) Bytes/cycle (write) Bytes/cycle (Copy) Latency (ns)
Barcelona versus Santa Rosa 26% 2% 54% 29%
Barcelona versus Core 92% 86% 111% -34%
Santa Rosa versus Core 74% 99% 44% -44%

The deeper buffers and more flexible 2x64-bit accesses have increased the read bandwidth, but the write buffer might have negated the effect of those a bit. That is not a problem, as very few applications will be solely writing for a long period of time. Notice that per cycle, the improved copy bandwidth is 54% and is the biggest gain. This is most likely the result of the copy action resulting in an interleaving of writes and reads, allowing the split memory access design to come into play.

With much higher L2 cache and memory bandwidth combined with low latency access, the memory subsystem of the 3rd generation of Opterons is probably the best you can find on the market. Now let's try to find out if this superior memory subsystem offers some real world benefits.

64-bit Linux Java Performance: SPECjbb2005   Next Page

 
  Index

Tools Share
Find lowest prices Find the lowest prices
Digg   del.icio.us   E-mail  
Print This Article Print this article  

46 Comments - Last by tshen83, 862 days ago
Username:
Password:
Finally it's here.... by MDme, 883 days ago
Let the games begin!

Reply
RE: Finally it's here.... by MDme, 883 days ago
I think Barcelona will be a success in the server world. It's performance is around 20% faster than equivalently clocked xeons with the exception of certain programs like fritz and the linpack intel library where it is around 5-10% slower. But since it scales better than the xeon chips it should negate that and increase it's lead on others as core/sockets increase. add to that it's power efficiency tweaks and aggressive pricing, AMD will be able to hold off intel in the server world.....maybe.

With 2.5Ghz Barceys coming up that would be equivalent to around 3-3+ Ghz xeons. So AMD was right that they need to get to 2.6 Ghz....AMD needs to ramp up clock to get the highest-end performance crown, but for now, their offering offers a nice balance of performance and power efficiency for the price.

Now time for the Phenom to get it's act together.

Reply
RE: Finally it's here.... by wegra, 883 days ago
You should not forget the Penryn. 2.5Ghz Barcelona will face to 3.1+Ghz Penryn. According to result from this article, I expect the performance of 2.5Ghz Barcelona will reach between 2.8 ~ 2.9Ghz Penryn. So wait till (hopefully) next year to see that AMD becomes the performance king. BTW, talking about the multi-processor servers, AMD will lead w/o much difficulties, I expect, thanks to the scalable architecture.

Reply
RE: Finally it's here.... by IntelUser2000, 883 days ago
AMD won't compete against Intel's Tulsa chips anymore. They will have to compete against Tigerton Xeon MP and the newly introduced Clarksbro chipset.

On the DP server platform, Intel will introduce Harpertown and Seaburg chipset. Seaburg chipset features 1600MHz bus with significantly improved memory controller performance. We'll see how it all turns out but as of now, Barcelona is a bit late to be competitive.

Reply
RE: Finally it's here.... by JackPack, 883 days ago
The problem is, 45nm Harpertown and 1600 MHz FSB will be rolling in soon.

Barcelona would have looked great 6 or 9 months ago. But today, it's a little weak unless they can raise the frequency fast.

Reply
RE: Finally it's here.... by Viditor, 883 days ago
quote:

45nm Harpertown and 1600 MHz FSB will be rolling in soon


True, but so will HT 3.0 and the newer mem controller for the Barcelonas...

Reply
RE: Finally it's here.... by jones377, 883 days ago
You got your work cut out for you now :)

Reply
RE: Finally it's here.... by TA152H, 883 days ago
The article should have mentioned the performance penalty Intel chips are suffering from with regards to FB-DIMMS. While it's true they should be benchmarked in servers with with memory, it's also widely rumored that they are going to be offering choices in the near future. This memory has a really big impact on a lot of benchmarks, so when looking towards the future, or desktop, it's important to keep in mind the importance of Intel using different memory. I don't think even Intel is stubborn enough to stick with this seriously slow, and power hungry memory. Maybe as a choice it's fine, but it must be clear to them that offering something else as well as FB-DIMMs is very desirable in the server space. Then again, look at how long they stuck with Rambus.

Reply
RE: Finally it's here.... by JohanAnandtech, 883 days ago
well said. I don't think AMD will have that advantage for a long time in 2P space :-)

Reply
RE: Finally it's here.... by Viditor, 880 days ago
Are you going to be re-doing the review with the shipping version (stepping BA) anytime soon?
I'm most curious to see if the improvement of 5%+ claims are true...

Reply
Comments Page 1 of 5

Unlicensed Software at Your Last Company
Anonymously Report Unlicensed Software with Our Form Now. Get Up to $1 Million.
We Buy Laptop and PC Memory! Sell to Us!
Min of 25 pieces required. Call us today at 239.354.1230.
Special Offer from The Economist
Get 12 issues of The Economist for $12. US subscribers only.
Free Forrester Risk Management Report
Demystifying Enterprise Risk Management. Download Free With Registration.
Download Microsoft Visual Studio ® Team System
Streamline Dev processes, Reduce time to market. Try Microsoft Visual Studio Team System, FREE!




Latest news by
DailyTech

 February 9, 2010

Blank
Blank
Blank
Blank
Blank
Blank
Blank
Blank
Blank
Blank
Blank
Blank
Blank
Blank
Blank
Blank

 February 8, 2010

Blank


more CPU & Chipset Discussions



pipeboost
Copyright © 1997-2010 AnandTech, Inc. All rights reserved. Terms, Conditions and Privacy Information.
Click Here for Advertising Information