Zen 2

{{Short description|2019 AMD 7-nanometer processor microarchitecture}}

{{Use American English|date=April 2023}}

{{Use dmy dates|date=April 2023}}

{{Infobox CPU

| name = AMD Zen 2

| image = File:AMD Zen 2 logo.png

| caption =

| produced-start = {{Start date and age|7 July 2019}}{{cite press release |title=AMD Unleashes Ultimate PC Gaming Platform with Worldwide Availability of AMD Radeon RX 5700 Series Graphics Cards and AMD Ryzen 3000 Series Desktop Processors |url=https://www.amd.com/en/press-releases/2019-07-07-amd-unleashes-ultimate-pc-gaming-platform-worldwide-availability-amd |location=Santa Clara, California |website=AMD |language=en-US |date=7 July 2019 |access-date=7 November 2020}}

| designfirm = AMD

| manuf1 = TSMC (core complex die)

| manuf2 = GlobalFoundries (I/O die)

| cpuid = Family 17h

| l1cache = 64 KB per core:
{{bulleted list|32 KB instructions|32 KB data}}

| l2cache = 512 KB per core

| l3cache = 16 MB per {{tooltip|CCX|Core Complex}} (APU: 8 MB)

| application =

| size-from = TSMC N7{{cite news |last=Larabel |first=Michael |date=16 May 2017 |title=AMD Talks Up Vega Frontier Edition, Epyc, Zen 2, ThreadRipper |url=https://www.phoronix.com/scan.php?page=news_item&px=AMD-Financial-Day-2017 |website=Phoronix |language=en-US |access-date=16 May 2017}}{{cite news |last=Cutress |first=Ian |date=20 June 2017 |title=AMD EPYC Launch Event Live Blog |url=http://www.anandtech.com/show/11562/amd-epyc-launch-event-live-blog-starts-4pm-et- |website=AnandTech |language=en-US |access-date=21 June 2017}}

TSMC N6{{cite news |last=Boshor |first=Gavin |date=20 September 2022 |title=AMD Launches Mendocino APUs: Zen 2-based Ryzen and Athlon 7020 Series with RDNA 2 Graphics |url=https://www.anandtech.com/show/17584/amd-launches-mendocino-apus-zen-2-ryzen-and-athlon-7020-series-with-rdna-2-graphics |website=AnandTech |language=en-US |access-date=26 September 2022}}

| transistors1 = 5.89 billion (1× CCD) or
9.69 billion (2× CCD)
(3.8 billion per 7 nm 8-core "CCD" & 2.09 billion for the 12 nm "I/O die"){{cite news |title=Zen 2 - Microarchitectures - AMD |url=https://en.wikichip.org/wiki/amd/microarchitectures/zen_2 |website=WikiChip |language=en-US |access-date=June 14, 2020}}

| numcores = {{ubl|4–16 (desktop)|24–64 (HEDT)|12–64 (workstation)|Up to 64 (server)|2–8 (mobile)}}

| arch = AMD64 (x86-64)

| sock1 = Socket AM4

| sock2 = Socket sTRX4

| sock3 = Socket sWRX8

| sock4 = Socket SP3

| pcode1 = Matisse (desktop)

| pcode2 = Rome (server)

| pcode3 = Castle Peak (HEDT/workstation)

| pcode4 = Renoir (Desktop APU, mobile and embedded)

| pcode5 = Mendocino (mobile and embedded refresh)

| brand1 = Ryzen

| brand2 = Ryzen Threadripper

| brand3 = Epyc

| brand4 = Athlon

| predecessor = Zen+

| successor = Zen 3

| support status = Supported

}}

Zen 2 is a computer processor microarchitecture by AMD. It is the successor of AMD's Zen and Zen+ microarchitectures, and is fabricated on the 7 nm MOSFET node from TSMC. The microarchitecture powers the third generation of Ryzen processors, known as Ryzen 3000 for the mainstream desktop chips (codename "Matisse"), Ryzen 4000U/H (codename "Renoir") and Ryzen 5000U (codename "Lucienne") for mobile applications, as Threadripper 3000 for high-end desktop systems,{{cite news |last=Cutress |first=Ian |date=9 January 2019 |title=AMD Ryzen third Gen 'Matisse' Coming Mid 2019: Eight Core Zen 2 with PCIe 4.0 on Desktop |url=https://www.anandtech.com/show/13829/amd-ryzen-3rd-generation-zen-2-pcie-4-eight-core |website=AnandTech |language=en-US |access-date=15 January 2019}}{{Cite web|url=https://www.heise.de/newsticker/meldung/AMD-Ryzen-3000-12-Kernprozessoren-fuer-den-Mainstream-4432392.html|title=AMD Ryzen 3000: 12-Kernprozessoren für den Mainstream|first=heise|last=online|website=c't Magazin|date=27 May 2019 }} and as Ryzen 4000G for accelerated processing units (APUs). The Ryzen 3000 series CPUs were released on 7 July 2019,{{Cite web |last=Leather |first=Antony |date=7 July 2019 |title=AMD Ryzen 9 3900X and Ryzen 7 3700X Review: Old Ryzen Owners Look Away Now |url=https://www.forbes.com/sites/antonyleather/2019/07/07/amd-ryzen-9-3900x-and-ryzen-7-3700x-review-old-ryzen-owners-look-away-now/ |website=Forbes |language=en-US |access-date=13 April 2023}}{{Cite web |last=Ridley |first=Jacob |date=27 May 2019 |title=AMD Ryzen 3000 CPUs launching July 7 with up to 12 cores |url=https://www.pcgamesn.com/amd/amd-ryzen-3000-announcement |website=PCGamesN |language=en-GB |access-date=28 May 2019}} while the Zen 2-based Epyc server CPUs (codename "Rome") were released on 7 August 2019.{{Cite web|url=https://www.amd.com/en/press-releases/2019-08-07-2nd-gen-amd-epyc-processors-set-new-standard-for-the-modern-datacenter|title=2nd Gen AMD EPYC Processors Set New Standard for the Modern Datacenter with Record-Breaking Performance and Significant TCO Savings|date=7 August 2019|website=AMD|access-date=8 August 2019}} An additional chip, the Ryzen 9 3950X, was released in November 2019.

At CES 2019, AMD showed a Ryzen third-generation engineering sample that contained one chiplet with eight cores and 16 threads. AMD CEO Lisa Su also said to expect more than eight cores in the final lineup.{{cite news |last=Hachman |first=Mark |date=9 January 2019 |title=AMD's CEO Lisa Su confirms ray tracing GPU development, hints at more 3rd-gen Ryzen cores |url=https://www.pcworld.com/article/3332205/amd/amd-ceo-lisa-su-interview-ryzen-raytracing-radeon.html |website=PCWorld |language=en-US |access-date=15 January 2019}} At Computex 2019, AMD revealed that the Zen 2 "Matisse" processors would feature up to 12 cores, and a few weeks later a 16 core processor was also revealed at E3 2019, being the aforementioned Ryzen 9 3950X.{{cite news |last=Curtress |first=Ian |date=26 May 2019 |title=AMD Ryzen 3000 Announced: Five CPUs, 12 Cores for $499, Up to 4.6 GHz, PCIe 4.0, Coming 7/7 |url=https://www.anandtech.com/show/14407/amd-ryzen-3000-announced-five-cpus-12-cores-for-499-up-to-46-ghz-pcie-40-coming-77.html |website=AnandTech |language=en-US |access-date=3 July 2019}}{{cite news | last=Thomas |first=Bill |date=10 June 2019 |title=AMD announces the Ryzen 9 3950X, a 16-core mainstream processor |url=https://www.techradar.com/uk/news/amd-announced-the-ryzen-9-3950x-a-16-core-mainstream-processor |website=TechRadar |language=en-US |access-date=3 July 2019}}

Zen 2 includes hardware mitigations to the Spectre security vulnerability.{{cite news |last=Alcorn |first=Paul |date=31 January 2018 |title=AMD Predicts Double-Digit Revenue Growth In 2018, Ramps Up GPU Production |url=http://www.tomshardware.com/news/amd-stock-financials-earnings-cpu,36430.html |website=Tom's Hardware |language=en-US |access-date=31 January 2018}} Zen 2-based EPYC server CPUs use a design in which multiple CPU dies (up to eight in total) manufactured on a 7 nm process ("chiplets") are combined with a 14nm I/O die (as opposed to the 12nm IOD on Matisse variants) on each multi-chip module (MCM) package. Using this, up to 64 physical cores and 128 total compute threads (with simultaneous multithreading) are supported per socket. This architecture is nearly identical to the layout of the "pro-consumer" flagship processor Threadripper 3990X.{{cite news |last=Shilov |first=Anton |date=6 November 2018 |title=AMD Unveils 'Chiplet' Design Approach: 7nm Zen 2 Cores Meet 14 nm I/O Die |url=https://www.anandtech.com/show/13560/amd-unveils-chiplet-design-approach-7nm-zen-2-cores-meets-14-nm-io-die |website=AnandTech |language=en-US |access-date=13 April 2023}} Zen 2 delivers about 15% more instructions per clock than Zen and Zen+,{{Cite web |last=Cutress |first=Ian |date=10 June 2019 |title=AMD Zen 2 Microarchitecture Analysis: Ryzen 3000 and EPYC Rome |url=https://www.anandtech.com/show/14525/amd-zen-2-microarchitecture-analysis-ryzen-3000-and-epyc-rome |website=AnandTech |language=en-US |access-date=13 April 2023}}{{Cite web |last=Walton |first=Steven |date=16 November 2020 |title=AMD Ryzen 5000 IPC Performance Tested |url=https://www.techspot.com/article/2143-ryzen-5000-ipc-performance/ |website=TechSpot |language=en-AU |access-date=18 April 2021}} the 14- and 12-nm microarchitectures utilized on first and second generation Ryzen, respectively.

The Steam Deck,{{cite web |last=Hollister |first=Sean |date=13 November 2021 |title=Steam Deck: Five big things we learned from Valve's developer summit |url=https://www.theverge.com/22779252/steam-deck-things-we-learned-from-valve-developer-summit |website=The Verge |language=en-US |access-date=13 April 2023}}{{cite web |title=Steam Deck :: Tech Specs |url=https://www.steamdeck.com/tech}} PlayStation 5, Xbox Series X and Series S all use chips based on the Zen 2 microarchitecture, with proprietary tweaks and different configurations in each system's implementation than AMD sells in its own commercially available APUs.{{cite web |last=Warren |first=Tom |date=24 February 2020 |title=Microsoft reveals more Xbox Series X specs, confirms 12 teraflops GPU |url=https://www.theverge.com/2020/2/24/21150578/microsoft-xbox-series-x-specs-performance-12-teraflops-gpu-details-features |work=The Verge |language=en-US |access-date=24 February 2020}}{{cite web |last=Leadbetter |first=Richard |date=18 March 2020 |title=Inside PlayStation 5: the specs and the tech that deliver Sony's next-gen vision |url=https://www.eurogamer.net/articles/digitalfoundry-2020-playstation-5-specs-and-tech-that-deliver-sonys-next-gen-vision |work=Eurogamer |language=en-GB |access-date=18 March 2020}}

Design

{{Multiple image

| image1 = Ryzen 5 3600 Infrared.jpg

| image2 = AMD Epyc 7702 delidded.jpg

| total_width = 450

| footer = Two delidded Zen 2 processors designed with the multi-chip module approach. The Ryzen 5 3600 CPU on the left/top (used for mainstream Ryzen CPUs) uses a smaller, less capable I/O die and up to two CCDs (only one is used on this particular example), while the Epyc 7702 on the right/bottom (used for high-end desktop, HEDT, Ryzen Threadripper and server Epyc CPUs) uses a larger, more capable I/O die and up to eight CCDs.

}}

Zen 2 is a significant departure from the physical design paradigm of AMD's previous Zen architectures, Zen and Zen+. Zen 2 moves to a multi-chip module design where the I/O components of the CPU are laid out on its own die which is separate from the dies containing processor cores, which are also called chiplets in this context. This separation has benefits in scalability and manufacturability. As physical interfaces don't scale very well with shrinks in process technology, their separation into a different die allows these components to be manufactured using a larger, more mature process node than the CPU dies. The CPU dies (referred to by AMD as {{em|core complex dies}} or CCDs), now more compact due to the move of I/O components onto another die, can be manufactured using a smaller process with fewer manufacturing defects than a larger die would exhibit (since the chances of a die having a defect increases with device (die) size) while also allowing for more dies per wafer. In addition, the central I/O die can service multiple chiplets, making it easier to construct processors with a large number of cores.{{cite web |last1=Cutress |first1=Ian |title=AMD Zen 2 Microarchitecture Analysis: Ryzen 3000 and EPYC Rome |url=https://www.anandtech.com/show/14525/amd-zen-2-microarchitecture-analysis-ryzen-3000-and-epyc-rome |website=AnandTech |page=1 |access-date=17 June 2019 |date=10 June 2019}}{{cite web |last1=De Gelas |first1=Johan |title=AMD Rome Second Generation EPYC Review: 2x 64-core Benchmarked |url=https://www.anandtech.com/show/14694/amd-rome-epyc-2nd-gen/2 |website=AnandTech |access-date=29 September 2019 |date=7 August 2019}}

File:Zen2 Microarchitektur.svg

{{Multiple image

| image1 = AMD@7nm(12nmIOD)@Zen2@Rome@EPYC 7702 ES@2S1404E2VJUG5 BB ES DSCx16 CCD polysilicon@5xLED.jpg

| image2 = AMD@7nm(12nmIOD)@Zen2@Rome@EPYC 7702 ES@2S1404E2VJUG5 BB ES DSCx13 IOD polysilicon@5x.jpg

| image3 = AMD@7nm(12nmIOD)@Zen2@Matisse@Ryzen 5 3600@100-000000031 BF 1923SUT 9HM6935R90062 DSCx8 IOD polysilicon@5x.jpg

| total_width = 550

| footer = On the left (top on mobile): Die shot of a Zen 2 Core Complex Die. On the middle: Die shot of a Zen 2 EPYC/Threadripper I/O die, On the right (bottom): I/O die of a Zen 2 mainstream Ryzen I/O die.

}}

With Zen 2, each CPU chiplet houses 8 CPU cores, arranged in 2 {{em|core complexes}} (CCXs), each of 4 CPU cores. These chiplets are manufactured using TSMC's 7 nanometer MOSFET node and are about 74 to 80 mm2 in size. The chiplet has about 3.8 billion transistors, while the 12 nm I/O die (IOD) is ~125 mm2 and has 2.09 billion transistors.{{Cite web|url=https://www.tomshardware.com/reviews/ryzen-9-3900x-7-3700x-review,6214.html|title=AMD Ryzen 9 3900X and Ryzen 7 3700X Review: Zen 2 and 7nm Unleashed|first=Paul Alcorn 21|last=November 2019|website=Tom's Hardware|date=21 November 2019}} The amount of L3 cache has been doubled to 32 MB, with each CCX in the chiplet now having access to 16 MB of L3 compared to the 8 MB of Zen and Zen+.{{cite web |last1=Cutress |first1=Ian |title=AMD Zen 2 Microarchitecture Analysis: Ryzen 3000 and EPYC Rome |url=https://www.anandtech.com/show/14525/amd-zen-2-microarchitecture-analysis-ryzen-3000-and-epyc-rome/2 |website=AnandTech |access-date=17 June 2019 |date=10 June 2019}} AVX2 performance is greatly improved by an increase in execution unit width from 128-bit to 256-bit.{{cite web |last1=Cutress |first1=Ian |title=AMD Zen 2 Microarchitecture Analysis: Ryzen 3000 and EPYC Rome |url=https://www.anandtech.com/show/14525/amd-zen-2-microarchitecture-analysis-ryzen-3000-and-epyc-rome/9 |website=AnandTech |access-date=17 June 2019 |date=10 June 2019}} There are multiple variants of the I/O die: one manufactured on GlobalFoundries 14 nanometer process, and another manufactured using the same company's 12 nanometer process. The 14 nanometer dies have more features and are used for the EPYC Rome processors, whereas the 12 nm versions are used for consumer processors. Both processes have similar feature sizes, so their transistor density is also similar.{{Cite web|url=https://fuse.wikichip.org/news/1497/vlsi-2018-globalfoundries-12nm-leading-performance-12lp/|title=VLSI 2018: GlobalFoundries 12nm Leading-Performance, 12LP|first=David|last=Schor|date=22 July 2018}}

AMD's Zen 2 architecture can deliver higher performance at a lower power consumption than Intel's Cascade Lake architecture, with an example being the AMD Ryzen Threadripper 3970X running with a TDP of 140{{nbsp}}W in ECO mode delivering higher performance than the Intel Core i9-10980XE running with a TDP of 165{{nbsp}}W.{{Cite web|url=https://wccftech.com/amd-ryzen-threadripper-3970x-32-core-efficient-monster-cpu-eco-mode-tests/|title=AMD Ryzen Threadripper 3970X Is An Absolutely Efficient Monster CPU|first=Hassan|last=Mujtaba|date=24 December 2019}}

=New features=

  • Some new instruction set extensions: WBNOINVD, CLWB, RDPID, RDPRU, MCOMMIT. Each instruction uses its own CPUID bit.{{Cite web|url=https://www.phoronix.com/scan.php?page=news_item&px=AMD-Zen-2-New-Instructions|title=AMD Zen 2 CPUs Come With A Few New Instructions - At Least WBNOINVD, CLWB, RDPID - Phoronix|website=www.phoronix.com}}{{Cite web|url=https://www.phoronix.com/scan.php?page=news_item&px=GNU-Binutils-Zen-2-Bits|title=GNU Binutils Adds Bits For AMD Zen 2's RDPRU + MCOMMIT Instructions - Phoronix|website=www.phoronix.com}}
  • Hardware mitigations against the Spectre V4 speculative store bypass vulnerability.{{cite news|url=https://www.techpowerup.com/256478/amd-zen-2-has-hardware-mitigation-for-spectre-v4|last=btarunr|website=TechPowerUp|title=AMD Zen 2 has Hardware Mitigation for Spectre V4|date=12 June 2019|access-date=18 October 2019}}
  • Zero-latency memory mirroring optimization (undocumented).{{cite web |last1=Agner |first1=Fog |title=Surprising new feature in AMD Ryzen 3000 |url=https://www.agner.org/forum/viewtopic.php?f=1&t=41 |website=Agner's CPU blog|author-link=Agner Fog}}
  • Doubled width of the execution units and load store units (from 128-bit to 256-bit) in the floating point coprocessor and significant further throughput enhancements in the multiplication execution unit. This allows the FPU to perform single-cycle AVX2 calculations.{{Cite web |last=Cutress |first=Ian |url=https://www.anandtech.com/show/14525/amd-zen-2-microarchitecture-analysis-ryzen-3000-and-epyc-rome/9 |title=AMD Zen 2 Microarchitecture Analysis: Ryzen 3000 and EPYC Rome |date=10 June 2019 |access-date=12 January 2023 |website=AnandTech}}

Feature tables

=CPUs=

{{empty section|date=March 2023}}

=APUs=

Products

On 26 May 2019, AMD announced six Zen 2-based desktop Ryzen processors (codenamed "Matisse"). These included 6-core and 8-core variants in the Ryzen 5 and Ryzen 7 product lines, as well as a new Ryzen 9 line that includes the company's first 12-core and 16-core mainstream desktop processors. {{cite web |last1=Cutress |first1=Ian |title=AMD Ryzen 3000 Announced: Five CPUs, 12 Cores for $499, Up to 4.6 GHz, PCIe 4.0, Coming 7/7 |url=https://www.anandtech.com/show/14407/amd-ryzen-3000-announced-five-cpus-12-cores-for-499-up-to-46-ghz-pcie-40-coming-77 |website=AnandTech |access-date=17 June 2019 |date=26 May 2019}}

The Matisse I/O die is also used as the X570 chipset.

AMD's second generation of Epyc processors, codenamed "Rome", feature up to 64 cores, and were launched on 7 August 2019.

=Desktop CPUs =

== 3000 series (Matisse)==

{{AMD Ryzen 3000 Series}}

{{AMD Ryzen Threadripper 3000 series}}

== 4000 series (Renoir) ==

Based on the Ryzen 4000G series APUs but with the integrated graphics disabled.

{{AMD Ryzen 4000 series}}

=Desktop APUs =

Initially only provided to OEM; later, AMD released retail Zen 2 desktop APUs in April 2022.https://www.techpowerup.com/cpu-specs/ryzen-5-4600g.c2319

{{AMD Ryzen 4000G series}}

=Mobile APUs =

==Renoir (4000 series) ==

{{AMD Ryzen Mobile 4000 series}}

==Lucienne (5000 series)==

{{AMD Ryzen Mobile 5000 Zen 2 based series}}

=Ultra-mobile APUs=

In 2022, AMD announced the Mendocino ultra-mobile APUs.{{Cite web|url=https://www.tomshardware.com/news/amd-ryzen-athlon-7020-apu-specs-mendocino|title=AMD Details 7020 Series Ryzen and Athlon 'Mendocino' Mobile APUs|date=20 September 2022|website=Tom's Hardware}}

{{AMD Ryzen Mobile 7020 series}}

=Embedded APUs =

{{AMD Ryzen Embedded V2000 Series}}

=Server CPUs =

{{AMD Epyc 7002 series}}

=Video game consoles and other embedded=

Gallery

AMD Ryzen 7 3700X top IMGP3165 smial wp.jpg|AMD Ryzen 7 3700X

AMD@7nm(12nmIOD)@Zen2@Matisse@Ryzen 5 3600@100-000000031 BF 1923SUT 9HM6935R90062 DSC04789-DSC04810 - ZS-DMap (48319202011).jpg|Zen 2 I/O Die

AMD@7nm(12nmIO)@Zen2@Matisse@Ryzen 5 3600@100-000000031 BF 1923SUT 9HM6935R90062 DSCx4@IOD Infrared.jpg|Infrared die shot of the I/O Die

AMD EPYC Rome 12nm IO die shot 3.jpg|EPYC I/O Die

Zen2 Matisse Ryzen 7nm Core Die shot.jpg|Zen 2 Core Complex Die (CCD)

AMD@7nm(12nmIOD)@Zen2@Rome@EPYC 7702 ES@2S1404E2VJUG5 BB ES DSCx1.jpg|AMD EPYC 7702 server processor

AMD@7nm(12nmIOD)@Zen2@Rome@EPYC 7702 ES@2S1404E2VJUG5 BB ES DSCx3.jpg|A delidded AMD 7702 featuring 8 CCDs and 1 I/O die, with remains of the solder thermal interface material (TIM) on the chiplets

See also

{{Commons category|Zen 2 microarchitecture}}

References