Zen 6: AMD’s New CPU Core, Its Improvements and IPC [Analysis]

We are still waiting for Zen 6 based Ryzen processors, but AMD has unveiled the Epyc 9006 server CPUs with this architecture in the summer. It was only a limited reveal, however — no tests or benchmarks were published, and the company did not disclose architectural details. That came now: Epyc 9006 reviews are out, and we finally have the architectural details as well. In this article, we will break down what is new and improved in Zen 6.

Zen 6 Is Not an Entirely New Core. Still, Big Changes

Since the release of the Zen core, AMD has set up its CPU architecture development on a two-generation cycle—odd-numbered architectures such as Zen 3 and Zen 5 introduce big changes and a substantially reworked architecture, while the following even-numbered architectures (for example, Zen 4) build on their foundation and add further improvements that enhance it. It is somewhat reminiscent of Intel’s former tick-tock concept, but with differences. AMD calls these second, evolutionary architectures “leveraged cores,” and they are far from only sticking to small, limited changes or providing only slight performance gains. On the contrary, with its high clock speeds and AVX-512 instructions, Zen 4 was one of the biggest advances in the entire history of Zen cores.

From what we know, Zen 6 is also a “leveraged” core and builds on the foundation of Zen 5, which it imprpves, rather than bringing another big rethinking and rebuild of the architecture (that role should fall to Zen 7 in 2028). The changes are quite large, though, and some of them are not merely a refinement of what was already in Zen 5.

Two (or Three) CPU Chiplets

For now, the company is presenting only the server versions of Zen 6. For these, AMD has two (or rather three depending on how you count) kinds of CPU dies, all manufactured on TSMC’s 2nm process. Specifically the N2P technology, but probably with custom modifications. The first die is a chiplet with 32 compact Zen 6 cores, which share a total of 128 MB of L3 cache and are probably connected by a mesh interconnect. This chiplet will probably remain limited to server market where it is used to make processors with up to 256 cores. It could be interesting in desktop CPUs, but we don’t expect them to use it.

The second and third variants are the “standard” chiplets with large (classic) Zen 6 cores. There are 12 of them, sharing 48 MB of L3 cache—or, in the case of the third variant, which is the same chiplet supplemented with 3D V-Cache using 3D packaging, 144 MB. These 12-core chiplets will probably also be used in desktop processors for the AM5 socket. We would expect that on the desktop, which is not as large a market, AMD will reuse the same silicon that is built for sever CPUs, although some minor deviations (different wafer manufacturing parameters but the same masks) cannot be ruled out. The chiplet reportedly has an area of 76 mm².

CPU architektura AMD Zen 6 a Zen 6c
AMD Zen 6 and Zen 6c CPU architecture

A new—though not entirely surprising—piece of information is that the CPU chiplet for Epyc server CPUs with Zen 6c cores actually contains 33 cores, not 32 as has been stated so far. The cores are likely to be arranged with a mesh interconnect in three rows of 33 cores. There is currently no plan to sell models with the full number of cores enabled (such an Epyc model could have 264 cores). One core will always be used as a spare and disabled, so that CPU chiplets with some manufacturing defect can be used in the 256-core models.

What is a surprising new piece of information is that this time there are quite significant differences between the architectures of the classic and compact cores. Those who closely follow the development of AMD’s CPU architectures probably know that AMD’s mode of operation until now was that the Zen 4 and Zen 4c cores, or later Zen 5 and Zen 5c, were not supposed to differ from the standpoint of architecture and its performance characteristics (performance per 1 MHz, or IPC). The classic core had optimizations and modifications for higher clock speeds, so it could reach substantially higher clocks, at the cost of a significantly larger area on the chip—because transistors and circuits capable of working with higher voltage and at higher clock speeds need more space on the chip.

CPU architektura AMD Zen 6 a Zen 6c
AMD Zen 6 and Zen 6c CPU architecture

Zen 6c Is Not the Same as Zen 6. It’s the Higher IPC Variant, Ironically

Zen 6 and Zen 6c break this pattern, and for the first time the cores differ from each other architecturally in more than minor details; their IPC should be quite different. It is not the case, however, that the compact Zen 6c is simplified for a smaller area. On the contrary, Zen 6c has some structures and blocks beefed up compared to the classic variant. It will have lower clock speeds, but at the same time it should show somewhat higher IPC (performance per 1 MHz).

This may seem counterintuitive. The reason is apparently not that AMD deliberately strengthened Zen 6c and thereby enlarged this core, despite the fact that its goal is a smaller area and thus higher core density. Rather, Zen 6c can figuratively be understood as a kind of baseline state of the architecture, against which AMD tuned the classic Zen 6 core. And during its optimizations, engineers apparently ran into the fact that, for some structures, enlarging and widening them made it harder to reach high clock speeds (because circuit timing and delays no longer “fit” into higher clocks).

For the classic high-clock-speed core, they therefore chose to shrink them so that clock speed potential would improve as a result. By way of illustration: the situation could have been, for example, that the larger structures of the Zen 6c core improve performance by, say, 5%, but if we forgo them, the core will be able to run at a 10% higher clock speed, so for the classic core, sacrificing a small part of IPC may be an advantageous tradeoff. Another reason could have been that the blocks in question were implemented with different libraries in the high-clock-speed classic core, and as a result larger structures no longer fit into the floorplan, whereas the Zen 6c core used libraries optimized for power consumption and density, using which the blocks ended up very small and it was possible to enlarge their capacity somewhat.

CPU architektura AMD Zen 6 a Zen 6c
AMD Zen 6 and Zen 6c CPU architecture

Reworked Core, Strengthened Front End

And now to the changes inside the Zen 6 core itself. The architecture makes no changes to the cache memories—L2 stays at a capacity of 1 MB (16-way associativity), the L1 data cache is 48 KB (12-way), and the L1 instruction cache is 32 KB (8-way). The L1 is connected to a front end that adopts the concept from Zen 5—it therefore has the fetch and decode stages split in two clusters, which can separately load two blocks of code from the L1 instruction cache simultaneously (twice 32 bytes per cycle). The processor thus again has two clusters of decoders, each with four units, so overall the core can decode eight instructions per cycle.

8-Wide Decoding, or Up to 18 Instructions from the µOp Cache

Here, however, is the first important change. In Zen 5, a program running on a single thread could not use this entire decoding capacity and always had only one cluster available. Both clusters were used only when two threads were running via SMT—each thread had one cluster to itself. In theory, this could have been intentional, but judging by AMD’s communication, it looked somewhat as if the design originally intended for both decoders being usable by a single thread and the capability just could not be made to work reliably in Zen 5, forcing AMD to disable it or leave it unfinished.

According to what AMD has said about Zen 6, this capability should now be functional in the new core. Even a single-threaded program will thus be able to use all eight decoders in one cycle (and along with that can use the full capacity of the doubled fetch stage in one cycle). This is an important moment, because the ability to decode at most four x86 instructions per cycle was long one of the bigger limitations of Zen cores (and a trait that tends to be cited in various heated discussions as a reason why x86 processors are inferior to Arm and won’t be able to keep up).

The fact that Zen 6 can now decode 8 instructions, similar to Intel’s Lion Cove core, however, shows that the problematic features of the x86 instruction set need not be such an insurmountable ball and chain. The highest-performance Arm processors already decode even ten instructions per cycle, but AMD’s core is no longer very far behind that, especially considering that adding further paralel units tend to have diminishing returns.

CPU architektura AMD Zen 6 a Zen 6c
AMD Zen 6 and Zen 6c CPU architecture

Unlike Arm processors, instruction decoding is also not AMD’s main strategy. The Zen 6 core continues to use the so-called µOp cache, in which the core stores decoded instructions and can thus reuse them without having to decode them again each time. This saves power and can improve performance, although this structure costs quite a few transistors and also has some power consumption. Typically, while a program is running, a majority of instructions (often up to around 80%) are sourced from the µOp cache, so when instructions are processed from this source, the limits of decoding stage play no role.

This cache has a capacity of 6,750 instructions in Zen 6 and 6c, which it already had in Zen 4, but the Zen 5 and Zen 5c cores then had the capacity reduced to 6,000 entries (though in return they gained ability to store more fused instructions in one slot). Zen 6 returns the capacity to the original higher size. Above all, though, performance has been improved: whereas in the Zen 5 core it could deliver 2× six instructions per cycle (it again supports simultaneously serving two threads), in the Zen 6 core it already delivers 2× nine instructions per cycle. This cache can thus fill the queue (Micro-Op Queue) for the following processing stages faster whenever its moment comes.

The Dispatch stage following the Micro-Op Queue is built to process eight instructions per cycle, as in Zen 5.

CPU architektura AMD Zen 6 a Zen 6c
AMD Zen 6 and Zen 6c CPU architecture

Execution Back End, Schedulers Changed Again

The number of execution units has remained unchanged, so, for example, no additional ALUs were added. However, AMD both strengthened the out-of-order execution infrastructure around them so that the core can use the same number of units more efficiently (for higher performance per cycle), and made a big architectural change in the schedulers.

Over the six generations of Zen cores, AMD has changed the way its schedulers are built several times, which is quite interesting, because Intel, for example, stuck with the same type of unified scheduler in its large cores for decades without changes, whereas AMD seems to constantly experiment and alternate techniques in this area.

The first two generations, Zen and Zen 2, had a unified scheduler for all FPU/SIMD pipeline units. But for the integer part they had 6 or 7 separate (distributed) schedulers, one for each ALU or AGU (load/store) unit. Zen 3 used four schedulers in the integer part, each serving a pair of one ALU and one AGU, and in the FPU/SIMD unit the six pipelines were split into two groups, served by two separate schedulers. Zen 4 kept this scheme.

Zen 5, however, made quite a big change toward unifying the scheduler. While the schedulers in the SIMD/FPU part are split (now into three, not just two), AMD created two unified schedulers in the integer part—one serves all six ALU units, while a separate one serves all four AGU (load/store) units.

Zen 6 keeps the split into three schedulers in the SIMD/FPU part, but in the integer part it abandoned the new approach deployed in Zen 5 and essentially returned to the design used by Zen 3 and Zen 4. The core thus has six separate schedulers, each serving one pair of execution units (mostly ALU + AGU, but the last two schedulers have an ALU and a branch unit under them). According to Mike Clark of AMD, a distributed schedulers like this make it possible to scale the core’s performance higher. We will see whether this solution lasts, or whether AMD tries a different approach again in one of the future generations.

Same ALUs, More Registers

The integer part of the Zen 6 core has six ALU units for arithmetic-logic operations. One of the units can process integer division, and two integer multiplication. In Zen 5, three of the six ALUs could perform multiplication, so this is a step back. According to AMD, however, a third unit for integer scalar multiplication does not pay off given the limited benefit and the chip area it would occupy. In Zen 5, the third MUL unit was reportedly added mainly because it simplified the deployment of the unified scheduler, which Zen 6 no longer retains, so its advantage disappeared.

The core also has three branch processing units capable of handling three branches per cycle. The Zen 6 and Zen 6c cores differ in the number of hardware registers they have in their physical register file for architectural register renaming operations: Zen 6 has 288 registers, and Zen 6c even 352 registers. Zen 5 had only 240.

There are still four load/store units, and they can process up to four reads per cycle with a width of 64 to 256 bits, or two reads with a width of 512 bits (that is, data corresponding to one register for AVX-512 instructions). Only half of the units support writing to memory (or rather first to the L1 cache), so two store operations with a width of 64–256 bits, or one 512-bit write, can be performed. L1 data cache latency remains 4 cycles.

CPU architektura AMD Zen 6 a Zen 6c
AMD Zen 6 and Zen 6c CPU architecture

The depth of the load queues (Load Queue) differs between the core variants. The classic Zen 6 has a Load Queue depth of 72 entries and Zen 6c 80 entries, whereas for Zen 5 it should be 64. These are four separate queues, one for each of the load/store units, so in total they respectively  have 288, 320, and, for Zen 5, 256 entries. The Store Queue for operations writing data to memory has 128 entries compared with 104 in Zen 5. All stores use just one shared queue, in contrast to the multiple load queues scheme.

FPU and SIMD Unit

As is typical for AMD architectures, the FPU/SIMD unit is separate. It is again formed by six pipelines, served by a Non-Scheduling Queue (with a depth of 96 entries), behind which there are three schedulers, each for a pair of pipelines. Zen 6 deepens them—whereas in Zen 5 they had a depth of 38 entries, in Zen 6 it is 46 entries. And note that Zen 6c again stands out and takes it even further to 60 entries. The physical register file has 384 SIMD registers 512 bits wide, this time the same number for the classic and compact cores.

The capabilities of the six pipelines are for the most part unchanged. The core has two FADD pipelines (supporting simple instructions) and two FMUL/FMAC pipelines, which can also perform multiplication and other complex operations. SIMD operation latency remains unchanged—FMAC at 4 cycles, FMUL at 3 cycles, FADD at two cycles. The unit can, however, perform more load operations—it can receive two 512-bit or four 256-bit reads from the load/store units in the integer part, whereas Zen 5 could do only two reads per cycle for any width—so with 256-bit reads (for example, for AVX/AVX2 instructions) it did not draw an advantage from their smaller width.

AMD strengthened the ability to process VNNI-INT8 instructions. In Zen 5, two pipelines can process them; in Zen 6 it is already four, so four of these ops can be executed per cycle instead of two.

CPU architektura AMD Zen 6 a Zen 6c
AMD Zen 6 and Zen 6c CPU architecture

Reorder Buffer Has Grown

All execution units and their schedulers are connected behind the main out-of-order queue, the Reorder Buffer (RoB), within which the processor core can shuffle the order of instruction execution, look for opportunities to process them in parallel, and also look for instructions that can be processed ahead of time. It is the main tool for increasing a processor’s IPC—a large number of ALUs, for example, is not worth much by itself if the processor cannot find instructions that can be processed in parallel on them within the “window” of code being processed. And this window is precisely the Reorder Buffer, so it is important for it to be as large and as efficient as possible (this structure can also have high power consumption, so not only maximum performance but also efficiency of the implementation is critical).

AMD has so far used relatively small Reorder Buffers; Zen 3, for example, had only 256 instructions, whereas the competition at the time had many more (Intel Golden Cove: 512, Apple Firestorm: 630). Zen 5 still had a RoB with a depth of only 448 entries, which Zen 6 raiseds decently. The classic version of the Zen 6 core has a RoB depth of 576 entries. This is another place where the compact version of the core is stronger, however—Zen 6c has a RoB depth of 640 entries.

CPU architektura AMD Zen 6 a Zen 6c
AMD Zen 6 and Zen 6c CPU architecture

Branch Predictor, Prefetch

In every new processor architecture, advances in branch prediction and prefetching (preloading data into the cache) are of paramount importance; they are the source of improvements in performance per 1 MHz and a prerequisite for wider (in terms of the number of units) CPU cores to actually be able to achieve higher IPC. Zen 6 also has improved branch predictors. They stick to the TAGE architecture but have optimized tables, deeper queues, and a larger return address stack of 64 entries.

The units can work with up to three windows per cycle and can handle two taken branches (jumps) per cycle. According to testing by Chips and Cheese, AMD apparently managed to shorten the time (number of cycles) required to recover from a mispredicted branch, which should improve performance. Prediction accuracy does not appear to have improved much compared with Zen 5. However, Zen 5 had a very good predictor (at least in its time it was ahead of Intel’s P-Core predictiors), so the goal was probably to focus on making the prediction faster.

CPU architektura AMD Zen 6 a Zen 6c
AMD Zen 6 and Zen 6c CPU architecture

Higher L3 Cache Latency Due to More Cores

The L3 cache of Zen 6 processors is again to be more or less exclusive, so it does not contain copies of the data in the cores’ L2 caches; its contents are formed by data that has been evicted from the cores’ L2 caches (a so-called victim cache). The L3 cache does, however, duplicate the tags of the cores’ L2 caches, so that it can be quickly determined which data is in which L2 cache. L3 cache latency has worsened somewhat—whereas in Zen 5 it was a very low 47 cycles, in Zen 6 it grew to 55 cycles and in Zen 6c to 66 cycles.

This increase is most likely also because more cores are attached to the L3 cache (significantly more in Zen 6c than in Zen 6), so the interconnect topology is more complex. It is possible that it will be somewhat higher still in processors with 3D V-Cache (processors with Zen 3, 4, and 5 architectures paid for “X3D” cache capacity with an L3 cache latency increase of 4 cycles).

CPU architektura AMD Zen 6 a Zen 6c
AMD Zen 6 and Zen 6c CPU architecture

Zen 6 supports up to 127 outstanding requests from the L3 cache for data not found in the core’s L2 cache, and the L3 cache can simultaneously handle up to 1,280 requests directed to RAM—that is, for data not found in the L3 cache. This capability is important for maintaining performance in demanding programs and games whose working data set does not fit into the private cache memories in the cores.

New Instruction Extensions

Although Zen 6 does not officially bring support for AVX10 (which is largely just renamed AVX-512 extension), it has quite a few added instructions. Within AVX-512, full support for compute ops using the FP16 data type (capable of double the performance compared with FP32) has been added. Integer FMA instructions (IFMA) can be used not only with 512-bit but also with 256-bit width (which Intel’s cores use). AVX-VNNI-INT8 instructions have also been added, along with SIMD instructions for conversion between FP16 and BFloat16 and FP32 formats, and the BMM (Bit Matrix Multiply) instructions, which were recently specified as an optional addition to the AVX10.3 instructions, are another addition.

In addition to these, Zen 6 also adds new profiling capabilities (Memory Profiler, IBS Buffering) and various virtualization and security technologies. Within the SEV (Secure Encrypted Virtualization) technology, for example, the SEV-SNP feature has been added, which should improve the security of SMT technology against various risks.

CPU architektura AMD Zen 6 a Zen 6c
AMD Zen 6 and Zen 6c CPU architecture

FRED Support from AMD

One addition that is potentially very important is that Zen 6 implements the FRED (Flexible Return and Event Delivery) technology, which modernizes the handling of interrupts, exceptions, and system calls, where quite a lot of historical baggage has accumulated in the x86 architecture over the decades. Using the new FRED mode should help performance and reduce the complexity (and potential for bugs) of this functionality for operating systems, which have to handle it. Potentially, it might also be a benefit for security.

AMD agreed with Intel that FRED will be one of the components standardized as a common compatibility baseline in all future x86 processors. Zen 6 is AMD’s first core to provide support, while Intel introduce FRED this year in Core Ultra 300 “Panther Lake” processors.

Performance and IPC Improvement: A Lot in Servers, but We Have Yet to See How PC Software and Games Will Behave

According to AMD, these changes collectively lead to a 20–31% improvement in performance per 1 MHz (IPC). This is not, however, what we usually understand by IPC. AMD quotes this value for server applications, and it is a figure relative to processors with 16 active Zen 5 and Zen 6c cores (and 32 threads), with both processors set to the same clock speed. It is thus a comparison of multithreaded performance, moreover including the effect of SMT. According to AMD, the new generation is +20% faster in classic cloud and enterprise server workloads and up to +31% faster in various AI workloads—in each case a geometric mean across various workloads. On average, counting both types of workloads, the geometric mean IPC improvement is +27% according to AMD. The higher gain in AI is probably due to some improvements and extensions of the SIMD instructions compared with Zen 5 cores, for example the doubled VNNI-INT8 performance.

These values cannot be taken even approximately as an indicator of how much single-threaded IPC will improve, which is usually the value we look at when comparing architectures. We have already mentioned that the effect of SMT is included, that is, processing two threads on each core. It is possible that SMT in Zen 6 adds relatively more performance compared with just one running thread than Zen 5 does. Such an improvement would then raise performance per 1 MHz in multithreaded workloads, but not do anything for single-threaded ones.

CPU architektura AMD Zen 6 a Zen 6c
AMD Zen 6 and Zen 6c CPU architecture

In addition, the fact that the comparison is made specifically on 16 cores probably plays an important role. In the case of Zen 5, 16 cores consist of two CCX blocks of eight cores each with their own mutually unshared L3 caches (32 MB + 32 MB). Zen 6c, by contrast, has 16 cores in one CCX, so all of them can share a single block of L3 cache. That in itself increases performance, but the L3 cache block is also larger (128 MB), which is probably also a significant factor (and Ryzen processors for PCs will have smaller L3 caches). We do not know why AMD did not compare against Zen 5c cores, which also have CCX blocks with 16 cores (but only 32 MB of L3 cache in total).

Note also how AMD states the IPC gain specifically for Zen 6c, not for the classic Zen 6. We remind you that Zen 6c should have higher IPC than classic Zen 6, so this comparison slightly overstates the percentages; between classic Zen 5 and 6, the percentages would come out lower.

For use in PC applications and games, we would of course be more interested in IPC in a single-threaded application and a value given for a client Ryzen CPU. The IPC gain for programs running in a single thread on a single core may be considerably lower than the figures above, so we suggest being cautious about these numbers for now. What can probably be expected is something between 10 and 15% extra, which was actually cited as the target for this architecture in leaked slides years ago. Another factor that makes estimating the single-threaded IPC gain for Ryzen processors for laptops and PCs more difficult is the different memory—client CPUs use common DDR5 and LPDDR5 modules, whereas Epyc processors for servers use registered (RDIMM) or multi-rank (MRDIMM) modules, typically with higher latencies.

Reviews of the Epyc 9006 have already been officially published. Various performance measurements can be found, for example, at ServeTheHome, Chips and Cheese, and Tom’s Hardware, and Phoronix has a series of tests (Epyc 9996, Epyc 9686F, a test with various memory speeds, a test of the effect of SMT on Zen 6/6c performance).

Clock Speeds: No Longer 5.0 GHz, but 5.3 GHz

AMD originally stated 5.0 GHz as the highest boost clock speed of Zen 6 cores in the officially announced Epyc 9006 models (one of the HPC models was, however, to have a clock speed of 5.15 GHz). Surprisingly though, the company has revised the clock speeds, and did so upward. For the Epyc 9G76 and 9686F models with 96 cores and the 9586F model with 64 cores, the maximum boost clock speed is now said to be 5.3 GHz. That is not far behind what desktop Ryzen processors with Zen 4 and 5 cores achieve (the maximum boost for the 7950X and 9950X models is 5.7 GHz).

CPU architektura AMD Zen 6 a Zen 6c
AMD Zen 6 and Zen 6c CPU architecture

Whether this was a deliberate “sandbagging” to catch the competition unaware, or whether manufacturing yield and the ability to reach high clock speeds on the 2nm process turned out better than it seemed over the months that have passed, is hard to say. Let us hope it means high clock speeds for the desktop Ryzen processors that are hopefully approaching.

This 5.3 GHz clock speed applies only to models with classic Zen 6 cores. It looks as though the highest clock speed for the compact Zen 6c cores (which are in all models with higher core counts) is 4.1 GHz.

CPU architektura AMD Zen 6 a Zen 6c
AMD Zen 6 and Zen 6c CPU architecture

Zen 6 Was Not Designed from the Ground Up for Agentic AI or Any Other Current Trend

Incidentally, during the presentation of the Zen 6 architecture, AMD could not resist a jab at Arm (the AGI processor) and Nvidia (Vera chips), who released their own processors this year that they claim are designed from the ground up for “agentic AI”  which has become a mantra over the past roughly 12 months. Mike Clark, AMD vice president and the company’s chief CPU architect, said in response that these decisions were made four years ago, and at that time nobody knew about today’s agentic AI, so he would not pretend that AMD tailored processors specifically for it. Ironically, the Zen 6 processors are now the best on the market for this task regardless, according to AMD.

This most likely corresponds to reality, because given the long development cycles, CPUs are designed with more general goals and their performance characteristics are not designed directly for such a specific applications as “running AI agents.” With many years left to launch, engineers cannot rely on the narrowly defined properties of specific software not changing significantly by the time the processor reaches the market. A successful strategy is therefore to try to tailor processor performance to as many scenarios as possible and to design the architecture so that its strengths have general and broad, not just narrowly defined, use in practice. So however software looks in 3 or 4 years, the resulting CPU will find its place on the market.

Sources: Chips and Cheese, techPowerUp, ServeTheHome, ComputerBase

English translation and edit by Jozef Dudáš

Contents

Leave a Reply

Your email address will not be published. Required fields are marked *