Engineering:Zen 3

From HandWiki
Short description: 2020 AMD 7-nanometre processor microarchitecture
AMD Zen 3
Zen-3-logo-transparent-2020-inverted.svg
General Info
LaunchedNovember 5, 2020; 3 years ago (November 5, 2020)
Designed byAMD
Common manufacturer(s)
Cache
L1 cache64 KB per core
L2 cache512 KB per core
L3 cache32 MB per CCX
96 MB with stacked L3
16 MB in APUs
Architecture and classification
Min. feature sizeTSMC 7 nm
TSMC 6 nm FF
Instruction setAMD64 (x86_64)
Physical specifications
Cores
  • 4 to 16 (desktop), up to 64 HEDT, WS, server
Package(s)
  • Package FP6
Socket(s)
Products, models, variants
Product code name(s)
  • Vermeer (desktop w/o iGPU)
  • Cézanne (mobile & desktop w/ iGPU)
  • Rembrandt (mobile refresh)
  • Milan (server)
History
PredecessorZen 2
SuccessorZen 4

Zen 3 is the codename for a CPU microarchitecture by AMD, released on November 5, 2020.[1][2] It is the successor to Zen 2 and uses TSMC's 7 nm process for the chiplets and GlobalFoundries's 14 nm process for the I/O die on the server chips and 12 nm for desktop chips.[3] Zen 3 powers Ryzen 5000 mainstream desktop processors (codenamed "Vermeer") and Epyc server processors (codenamed "Milan").[4][5] Zen 3 is supported on motherboards with 500 series chipsets; 400 series boards also saw support on select B450 / X470 motherboards with certain BIOSes.[6] Zen 3 is expected to be the last microarchitecture before AMD switches to DDR5 memory and new sockets.[2] According to AMD, Zen 3 has a 19% higher instructions per cycle (IPC) on average than Zen 2. On April 1, 2022, AMD released the new Ryzen 6000 series for the laptop, using an improved “Zen 3+” architecture, bringing RDNA 2 graphics integrated in a APU to the PC for the first time.[7] On 20 April 2022 AMD also released the 5800X3D which increases the single threading performance by another 15% in gaming by using, for the first time in a PC product, 3D vertically stacked L3 cache.[8]

Features

Zen 3 is a significant incremental improvement over its predecessors, with an IPC increase of 19%,[9] and being capable of reaching higher clock speeds.

Like Zen 2, Zen 3 is composed of up to 2 core complex dies (CCD) along with a separate IO die containing the I/O components. A Zen 3 CCD is composed of a single core complex (CCX) containing 8 CPU cores and 32 MB of shared L3 cache, this is in contrast to Zen 2 where each CCD is composed of 2 CCX, each containing 4 cores each as well as 16 MB of L3 cache. The new configuration allows all 8 cores of the CCX to directly communicate with each other and the L3 Cache instead of having to use the IO die through the Infinity Fabric.[9]

Zen 3 (along with AMD's RDNA2 GPUs) were also the first implementation of Resizable BAR, an optional feature introduced in PCIe 2.0, that was branded as Smart Access Memory (SAM). This technology allows CPU to directly access all of compatible video card's VRAM.[10] Intel and Nvidia have since implemented this feature as well.[11]

In Zen 3, a single 32MB L3 cache pool is shared among all 8 cores in a chiplet, vs. Zen 2's two 16MB pools each shared among 4 cores in a core complex, of which there were two per chiplet. This new arrangement improves the cache hit rate as well as performance in situations that require cache data to be exchanged among cores, but increases cache latency from 39 cycles in Zen 2 to 46 clock cycles and halves per-core cache bandwidth, although both problems are partially mitigated by higher clock speeds. Total cache bandwidth on all 8 cores combined remains the same due to power consumption concerns. L2 cache capacity and latency remain the same at 512KB and 12 cycles. All cache read and write operations are done at 32 bytes per cycle.[12]

Ryzen 6000 series, which was later released on April 1, 2022, introduced PCI-E 4.0 and DDR5/LPDDR5 for the first time in an APU for the laptop and also introduced RDNA2 APU graphics to the PC.[7]

On 20 April 2022 AMD released the last member of the AM4 family, the 5800X3D. It features, for the first time in a desktop PC product, 3D stacked vertical L3 cache, which in the size of an extra 64 MB on top of the usual 32 MB increases the total amount to 96 MB and brings tremendous performance improvements for gaming, rivalling the newest processors of the competition while being much more power efficient. [8]

Improvements

Zen 3 has made the following improvements over Zen 2:[12][13]

  • An increase of 19% in instructions per clock
  • The base core chiplet has a single eight-core complex (versus two four-core complexes in Zen 2)
  • A unified 32MB L3 cache pool equally available to all 8 cores in a chiplet, vs Zen 2's two 16MB pools each shared among 4 cores in a core complex.
    • On mobile: A unified 16MB L3
  • A unified 8-core CCX (from 2x 4-Core CCX per CCD)
  • Increased branch prediction bandwidth. L1 branch target buffer size increased to 1024 entries (vs 512 in Zen 2)
  • New Instructions
    • VAES - 256-bit Vector AES instructions
    • INVLPGB - Broadcast TLB flushing
    • CET_SS - Control-flow Enforcement Technology / Shadow Stack
  • Improved integer units
    • 96 entry integer scheduler (up from 92)
    • 192 entry physical register file (up from 180)
    • 10 issue per cycle (up from 7)
    • 256 entry reorder-buffer (up from 224)
    • fewer cycles for DIV/IDIV ops (10...20 from 16...46)
  • Improved floating point units
    • 6 µOP dispatch width (up from 4)
    • FMA latency reduced by 1 cycle (down from 5 to 4)
  • RDNA 2 graphics with up to 12 Compute Units (up from 8) in Ryzen 6000 series
  • DDR5/LPDDR5 support (Ryzen 6000)
  • Additional 64MB 3D vertically stacked dense library L3 cache (5800X3D)

Feature tables

CPUs

CPU features table

APUs

APU features table

Products

thumb|200px|AMD Ryzen 7 5800X On October 8, 2020, AMD announced four Zen 3-based desktop Ryzen processors, consisting of one Ryzen 5, one Ryzen 7, and two Ryzen 9 CPUs and featuring between 6 and 16 cores.[1]

Desktop CPUs

The Ryzen 5000 series desktop CPUs are codenamed Vermeer, except for the Ryzen 5 5500, which is a Cezanne APU with its integrated GPU disabled. Meanwhile the Ryzen Threadripper Pro 5000 series were codenamed Chagall.

Desktop APUs

Cezanne

Mobile APUs

Cezanne

Rembrandt

Epyc microprocessors

The Epyc server line of chips based on Zen 3 is named Milan and is the final generation of chips using the SP3 socket.[5] Epyc Milan was released on March 15, 2021.[14]


References

  1. 1.0 1.1 Su, Lisa (2020-10-08). Where Gaming Begins, AMD Ryzen™ Desktop Processors.
  2. 2.0 2.1 Joel Hruska (January 10, 2020). "AMD's Lisa Su Confirms Zen 3 Coming in 2020, Talks Challenges in Notebooks". ExtremeTech. https://www.extremetech.com/computing/304541-amds-lisa-su-confirms-zen-3-coming-in-2020-talks-challenges-in-notebooks. 
  3. Dr. Ian Cutress (October 9, 2020). "AMD Ryzen 5000 and Zen 3 on Nov 5th: +19% IPC, Claims Best Gaming CPU". https://www.anandtech.com/show/16148/amd-ryzen-5000-and-zen-3-on-nov-5th-19-ipc-claims-best-gaming-cpu. 
  4. Mark Knapp (October 8, 2020). "AMD Zen 3 release date, specs and price: everything we know about AMD Ryzen 5000". TechRadar. https://www.techradar.com/news/amd-zen-3. 
  5. 5.0 5.1 Alcorn, Paul (5 October 2019). "AMD dishes on Zen 3 and Zen 4 architecture, Milan and Genoa roadmap". Tom's Hardware. https://www.tomshardware.com/news/amd-zen-3-zen-4-epyc-rome-milan-genoa-architecture-microarchitecture,40561.html. 
  6. Hruska, Joel (20 May 2020). "AMD Will Support Zen 3, Ryzen 4000 CPUs on X470, B450 Motherboards". https://www.extremetech.com/computing/310764-amd-will-support-zen-3-ryzen-4000-cpus-on-x470-b450-motherboards. 
  7. 7.0 7.1 "AMD Unveils New Ryzen Mobile Processors Uniting "Zen 3+" core with AMD RDNA 2 Graphics in Powerhouse Design". https://www.amd.com/en/press-releases/2022-01-04-amd-unveils-new-ryzen-mobile-processors-uniting-zen-3-core-amd-rdna-2. 
  8. 8.0 8.1 "AMD Launches the Ultimate Gaming Processor, Brings Enthusiast Performance to an Expanded Lineup of Ryzen Desktop Processors". https://ir.amd.com/news-events/press-releases/detail/1053/amd-launches-the-ultimate-gaming-processor-brings. 
  9. 9.0 9.1 "AMD "Zen 3" Core Architecture". https://www.amd.com/en/technologies/zen-core-3. 
  10. Alcorn, Paul (6 November 2020). "AMD Zen 3 Ryzen 5000 Price, Specs, Release Date, Performance, All We Know" (in en). https://www.tomshardware.com/news/amd-zen-3-ryzen-5000-release-date-specifications-pricing-benchmarks-all-we-know. 
  11. "GeForce RTX 30 Series Performance Accelerates With Resizable BAR Support | GeForce News" (in en-us). https://www.nvidia.com/en-us/geforce/news/geforce-rtx-30-series-resizable-bar-support/. 
  12. 12.0 12.1 Cutress, Ian; Frumusanu, Andrei (5 November 2020). "AMD Zen 3 Ryzen Deep Dive Review: 5950X, 5900X, 5800X and 5600X Tested". https://www.anandtech.com/show/16214/. 
  13. Alcorn, Paul (26 November 2020). "AMD Ryzen 9 5950X and 5900X Review: Zen 3 Breaks the 5 GHz Barrier". https://www.tomshardware.com/reviews/amd-ryzen-9-5950x-5900x-zen-3-review/2. 
  14. Alcorn, Paul (2021-03-15). "Watch AMD's EPYC 7003 Milan Launch Here" (in en-US). https://www.tomshardware.com/news/amd-epyc-7003-series-milan-launch-watch-here/.