ArticleslgStudy

computer science

Zen (microarchitecture)

Zen (microarchitecture) is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Zen (microarchitecture) rather than just read about it. In short: Zen is a family of computer processor microarchitectures from AMD, first launched in February 2017 with the first generation of Ryzen CPUs. It is used in Ryzen (desktop and mobile), Ryzen Threadripper (workstation and high-end desktop), and Epyc (server).

Zen (microarchitecture) — main illustration
Zen (microarchitecture) — illustration

Key takeaways

  • Zen (microarchitecture) belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Zen (microarchitecture) to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Zen (microarchitecture) from memory before moving on to harder problems.

Reference excerpt

Zen is a family of computer processor microarchitectures from AMD, first launched in February 2017 with the first generation of Ryzen CPUs. It is used in Ryzen (desktop and mobile), Ryzen Threadripper (workstation and high-end desktop), and Epyc (server). Zen 5 is the latest iteration of the architecture.

Comparison

History

First generation

The first-generation Zen was launched with the Ryzen 1000 series of CPUs (codenamed Summit Ridge) in February 2017. The first Zen-based preview system was demonstrated at E3 2016, and first substantially detailed at an event hosted a block away from the Intel Developer Forum 2016. The first Zen-based CPUs reached the market in early March 2017, and Zen-derived Epyc server processors (codenamed "Naples") launched in June 2017 and Zen-based APUs (codenamed "Raven Ridge") arrived in November 2017. This first iteration of Zen utilized GlobalFoundries' 14 nm manufacturing process. Modified Zen-based processors for the Chinese market were also built under the AMD–Chinese joint venture.

First generation refresh

Zen+ was first released in April 2018, powering the second generation of Ryzen processors, known as Ryzen 2000 (codenamed "Pinnacle Ridge") for mainstream desktop systems, and Threadripper 2000 (codenamed "Colfax") for high-end desktop setups. Zen+ used GlobalFoundries' 12 nm process, an enhanced version of their 14 nm node.

Second generation

The Ryzen 3000 series CPUs were released on July 7, 2019, while the Zen 2-based Epyc server CPUs (codename "Rome") were released on August 7, 2019. Zen 2 Matisse products were the first consumer CPUs to use the 7 nm process node, from TSMC. Zen 2 introduced the chiplet based architecture, where desktop, workstation, and server CPUs are all produced as multi-chip modules (MCMs); these Zen 2 products utilise the same core chiplets but are attached to different uncore silicon (different IO dies) in a hub and spoke topology. This approach differs from Zen 1 products, where the same die (Zeppelin) is used in a simple monolithic package for Summit Ridge products (Ryzen 1000 series) or used as interconnected building blocks in an MCM (up to four Zeppelin dies) for first generation Epyc and Threadripper products. For earlier Zen 2 products the IO and uncore functions are performed within this separate IO die, which contains the memory controllers, the fabric to enable core to core communication, and the bulk of uncore functions. The IO die used by Matisse processors is a small chip produced on GF 12 nm, whereas the server IO die utilized for Threadripper and Epyc is far larger. The server IO die is able to serve as a hub to connect up to eight 8-core chiplets, while the IO die for Matisse is able to connect up to two 8-core chiplets. These chiplets are linked by AMD's own second generation Infinity Fabric, allowing a low-latency interconnect between the cores and to IO. The processing cores in the chiplets are organized in CCXs (Core Complexes) of four cores, linked together to form a single eight core CCD (Core Chiplet Die). Zen 2 also powers a line of mobile and desktop APUs marketed as Ryzen 4000, as well as fourth generation Xbox consoles and the PlayStation 5. The Zen 2 core microarchitecture is also used in the Mendocino APU, a 6 nm system on a chip aimed at mainstream mobile and other energy efficient low power computing products.

Third generation

Zen 3 was released on November 5, 2020, using a more matured 7 nm manufacturing process, powering Ryzen 5000 series CPUs and APUs (codename "Vermeer" (CPU) and "Cézanne" (APU)) and Epyc processors (codename "Milan"). Zen 3's main performance gain over Zen 2 is the introduction of a unified CCX, which means that each core chiplet is now composed of eight cores with access to 32 MB of L3 cache, instead of two sets of four cores with access to 16 MB of L3 cache each. 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 an APU to the PC for the first time. Zen 3 with 3D V-Cache was officially previewed on May 31, 2021. It differs from Zen 3 in that it includes 3D-stacked L3 cache on top of the normal L3 cache in the CCD, providing a total of 96 MB. The first product that uses it, the Ryzen 7 5800X3D, was released on April 20, 2022. The added cache brings an approximately 15% performance increase in gaming applications on average. Zen 3 with 3D V-Cache for server, codenamed Milan-X, was announced in AMD's Accelerated Data Center Premiere Keynote on November 8, 2021. It brings a 50% increase in select datacenter applications over Zen 3's Milan CPUs while maintaining socket compatibility with them. Milan-X was released on March 21, 2022.

Fourth generation

Epyc server CPUs with Zen 4, codenamed Genoa, were officially unveiled at AMD's Accelerated Data Center Premiere Keynote on November 8, 2021, and released a year later in November 2022. They have up to 96 Zen 4 cores and support both PCIe 5.0 and DDR5. Furthermore, Zen 4 Cloud (a variant of Zen 4), abbreviated to Zen 4c, was also announced. Zen 4c is designed to have significantly greater density than standard Zen 4 while delivering greater power efficiency. This is achieved by redesigning Zen 4's core and cache to maximise density and compute throughput. It has 50% less L3 cache than Zen 4 and is not able to clock as high. Bergamo (Epyc 9704 series) has up to 128 Zen 4c cores and is socket-compatible with Genoa. It was released in June 2023. Another server product line that uses Zen 4c cores is Siena (Epyc 8004 series), which has up to 64 cores, uses a different smaller socket and is intended for use cases that favour smaller size, cost, power and thermal footprints over high performance. Both Zen 4 and Zen 4 Cloud are manufactured on TSMC's 5 nm node. In addition to the Epyc 9004, 9704 and 8004 server processors (Genoa, Bergamo and Siena respectively), Zen 4 also powers Ryzen 7000 mainstream desktop processors (codenamed "Raphael"), high-end mobile processors (codenamed "Dragon Range") and thin-and-light mobile processors (codenamed "Phoenix"). It also powers the Ryzen 8000 G-series of desktop APUs.

Fifth generation

… excerpt ends here. Continue reading the full article.

Illustrations

Zen (microarchitecture): Epyc 7001 MCM
Epyc 7001 MCM
Zen (microarchitecture): Ryzen Threadripper 1000 MCM
Ryzen Threadripper 1000 MCM

Worked examples

Example 1 — a first encounter with Zen (microarchitecture)

Start with the simplest possible case. Write down what Zen (microarchitecture) claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Zen (microarchitecture) before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Zen (microarchitecture) ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Zen (microarchitecture)

In research
Zen (microarchitecture) appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Zen (microarchitecture) in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Zen (microarchitecture) is common in secondary-school and first-year university syllabi. It links to neighbouring topics AMD microarchitectures, Computer-related introductions in 2017, X86 microarchitectures, so understanding it makes those chapters shorter.
In everyday life
Look for Zen (microarchitecture) outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Zen (microarchitecture)” →

How to study Zen (microarchitecture) in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Zen (microarchitecture) means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Zen (microarchitecture) out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Zen (microarchitecture) in simple terms?

Zen is a family of computer processor microarchitectures from AMD, first launched in February 2017 with the first generation of Ryzen CPUs. It is used in Ryzen (desktop and mobile), Ryzen Threadripper (workstation and high-end desktop), and Epyc (server).

Why does Zen (microarchitecture) matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Zen (microarchitecture)?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Zen (microarchitecture).

Tags

  • AMD microarchitectures
  • Computer-related introductions in 2017
  • X86 microarchitectures

Keep exploring