6 ms·
Why so little L3 cache on the competition?
by rbanffy 6y ago
Why so little L3 cache on the competition?
- ChuckNorris89 6y agoLimitations due to die size and power consumption since Intel Xeon is still on the ye olde 14nm++ process. Also since Xeon dies are monolithic, unlike AMDs chiplet design, means that increasing the size of certain components on the die, like cache for example, increases the risk of defects wich reduces the yields, making them unprofitable.
- rbanffy 6y agoTrue, but the ARM ones have just 32MB for up to 80 threads. I wonder if we could get numbers for L3 misses and cycles spent waiting for main memory under realistic workloads.
- dragontamer 6y agoThat information changes with every application. Literally every single program in the world has its own cache characteristics. I suggest learning to read performance counters, so that you can get information like this yourself! L3 cache is a bit difficult for AMD processors (because many cores share the L3 cache), but L2 cache is pretty easy to work with and profile. General memory-reads / memory latency is pretty easy to read with various performance counters. Given the amount of latency, you can sorta guess if its in L3 or in DDR4.
- greggyb 6y agoFYI, 'ye olde' is actually using the letter 'y' to represent an Old English 'thorn' character. The thorn character represents the 'th' sound. Printing presses gained prominence in non-English speaking regions earlier than in English speaking regions. The 'y' was substituted for the 'thorn' due to some amount of similarity in shape. Thus, 'ye olde' would be pronounced 'the old'. 'Ye' is just a different form of 'the' from a time when 'y' represented 'th'. So, 'the ye olde' would be read as 'the the olde'.
- dragontamer 6y agoEPYC is a split L3 cache. Any particular core only benefits from 32MBs of L3, the 33rd MB is "on another chip". (EDIT: Zen2 was 16MBs, Zen3 is 32MBs. Fixed numbers for Zen3) As such, AMD can make absolutely huge amounts of L3 cache (well, many parallel L3 clusters), while other CPU designers need to figure out how to combine the L3 so that a single core can benefit it from it all.
- xirbeosbwo1234 6y agoThat's not quite accurate. Every core has access to the entire L3, including the L3 on an entirely different socket. CPUs communicate through caches, so if a core just plain couldn't talk to another core's cache then cache coherency algorithms wouldn't work. Though a core can access the entire cache, the latency is higher when going off-die. It is really high when going to another socket. The first generation of Epyc had a complicated hierarchy that made latency quite hard to predict, but the new architecture is simpler. A CPU can talk to a cache in the same package but on a different die with reasonably low latency. (I don't have numbers. Still reading.)
- dragontamer 6y agoIn Zen1, the "remote L3" caches had longer read/write times than DDR4. Think of the MESI messages that must happen before you can talk to a remote L3 cache: 1. Core#0 tries to talk to L3 cache associated with Core#17. 2. Core#17 has to evict data from L1 and L2, ensuring that its L3 cache is in fact up to date. During this time, Core#0 is stalled (or working on its hyperthread instead). 3. Once done, then Core#17's L3 cache can send the data to Core#0's L3 cache. ---------- In contrast, step#2 doesn't happen with raw DDR4 (no core owns the data). This fact doesn't change with the new "star" architecture of Zen2 or Zen3. The I/O die just makes it a bit more efficient. I'd still expect remote L3 communications to be as slow, or slower, than DDR4.
- rbanffy 6y agoWhat AMD does is not magic and is not beyond what others can do. My question is why they chose to have just 32MB for up to 80 cores when AMD can choose to have 32MB per 8-core chiplet. As a comparison, an IBM z15 mainframe CPU has 10 cores and 256MB per socket.
- xirbeosbwo1234 6y agoFirst off, it's not a direct comparison. The Epyc has one L3 cache per chiplet. This means that latency is not uniform across the entire L3 cache. This was a serious concern on the first generation of Epyc, where accessing L3 could take anywhere from zero to three hops across an internal network. AMD has greatly improved the problem on the more recent generations by switching to a star topology with more predictable latency. That said, there are two major reasons: 1. Epyc is on a chiplet architecture. Large chips are harder to make than small ones. Building two 200mm^2 chips is cheaper than building one 400mm^2 chip. Since Epyc has a chiplet architecture, this means they can put more silicon into a chip for the same price. This means that Epyc can be just plain bigger than the competition. This comes with some complexity and inefficiency but has, so far, paid off in spades for them. 2. Epyc is on a newer process. This means AMD can fit more transistors even with the same area. Intel has had serious problems with their newer processes, so this is not an advantage AMD expected to have when designing the part. The use of a cutting-edge process was, in part, enabled by the chiplet architecture. It is possible to fabricate several small chips on a 7nm process even though one large chip would be prohibitively expensive, and AMD has been able to use a 14nm process in parts of the CPU that wouldn't benefit from a 7nm process to cut costs. The first point is serious cleverness on the part of AMD. The second point is mostly that Intel dropped the ball.
- totalZero 6y agoWhat is the likelihood that mixed-process chiplets become the state of the art?
- uluyol 6y agoIntel already said they would use chiplets [1] and TSMC has been talking about the various packaging technologies being developed [2]. [1] https://www.anandtech.com/show/16021/intel-moving-to-chiplets-client-20-for-7nm https://www.anandtech.com/show/16021/intel-moving-to-chiplet... [2] https://www.anandtech.com/show/16051/3dfabric-the-home-for-tsmc-2-5d-and-3d-stacking-roadmap https://www.anandtech.com/show/16051/3dfabric-the-home-for-t...
- Macha 6y ago