ArticleslgStudy

computer science

Zen 3

Zen 3 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 3 rather than just read about it. In short: Zen 3 is the name for a CPU microarchitecture by AMD, released on November 5, 2020. 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.

Zen 3 — main illustration
Zen 3 — illustration

Key takeaways

  • Zen 3 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 3 to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Zen 3 from memory before moving on to harder problems.

Reference excerpt

Zen 3 is the name for a CPU microarchitecture by AMD, released on November 5, 2020. 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. Zen 3 powers Ryzen 5000 mainstream desktop processors (codenamed "Vermeer") and Epyc server processors (codenamed "Milan"). Zen 3 is supported on motherboards with 500 series chipsets; 400 series boards also saw support on select B450 / X470 motherboards with certain BIOSes. Zen 3 is the last microarchitecture before AMD switched to DDR5 memory and new sockets, which are AM5 for the desktop "Ryzen" chips alongside SP5 and SP6 for the EPYC server platform and sTRX8. 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 laptops/mobile, using an improved Zen 3+ architecture featuring notable architectural improvements to power efficiency and power management. And slightly later, on April 20, 2022, AMD would also release the Ryzen 7 5800X3D desktop processor, which increased gaming performance by around +15% on average by using for the very first time in a PC product, a 3D vertically stacked L3 cache. Specifically in the form of a 64MB L3 cache "3D V-Cache" die made on the same TSMC N7 process as the 8-core Zen 3 CCD which it gets direct copper to copper hybrid bonded to.

Features As the first largely "ground up redesign" of the Zen CPU core since the architecture family's original release in early 2017 with Zen 1/Ryzen 1000, Zen 3 was a significant architectural improvement over its predecessors; having a very significant IPC increase of +19% over the prior Zen 2 architecture in addition to 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 paired with 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. Zen 3 (along with AMD's RDNA2 GPUs) also implemented 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. Intel and Nvidia have since implemented this feature as well.

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. On April 20, 2022, AMD released the R7 5800X3D. It features, for the first time in a desktop PC product, 3D-stacked vertical L3 cache. Its extra 64MB comes via a TSMC N7 (7nm) "3D V-Cache" die direct copper to copper hybrid bonded right on top of the 8-core Zen 3 CCD's usual 32MB, increasing the CPU's total L3 cache capacity to 96MB and bringing significant performance improvements for gaming in particular; now rivalling contemporary high-end consumer processors while being much more power efficient and running on older, cheaper motherboards using affordable DDR4 memory. And despite now spanning multiple dies and being three times larger (96MB vs 32MB), the L3 cache's performance remains nearly identical; with X3D only adding around ≈+2ns via an additional three to four cycles of latency. It would later be followed by the Ryzen 5 5600X3D and Ryzen 7 5700X3D for lower-end market segments, and succeeded by the Ryzen 7000X3D family of 3D V Cache equipped Zen 4 processors on the newer socket AM5 platform.

Improvements

Zen 3 has made the following improvements over Zen 2:

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 VPCLMULQDQ – 256-bit Carry-less Multiplication instruction 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) Additional 64MB 3D vertically stacked dense library L3 cache (in -X3D models)

Feature tables

CPUs

APUs APU features table

Products

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.

Desktop CPUs

Vermeer Common features of Ryzen 5000 desktop CPUs:

Socket: AM4. All the CPUs support DDR4-3200 RAM in dual-channel mode in 2x1R and 2x2R configuration, but only DDR4-2933 for 4x1R and only DDR4-2667 for 4x2R. All the CPUs support 24 PCIe 4.0 lanes. 4 of the lanes are reserved as link to the chipset. No integrated graphics. L1 cache: 64 KB per core (32 KB data + 32 KB instruction). L2 cache: 512 KB per core. Fabrication process: TSMC 7FF.

Cezanne Based on the Ryzen 5000 series APUs but with the integrated graphics disabled. Common features of Ryzen 5000 (Cezanne) desktop CPUs:

… excerpt ends here. Continue reading the full article.

Illustrations

Zen 3 illustration
Zen 3 illustration
Zen 3 illustration
Zen 3: CCD layouts comparison for Zen 2 and Zen 3
CCD layouts comparison for Zen 2 and Zen 3
Zen 3: AMD Ryzen 7 5800X
AMD Ryzen 7 5800X

Worked examples

Example 1 — a first encounter with Zen 3

Start with the simplest possible case. Write down what Zen 3 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 3 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 3 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 3

In research
Zen 3 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 3 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 3 is common in secondary-school and first-year university syllabi. It links to neighbouring topics AMD microarchitectures, AMD x86 microprocessors, Computer-related introductions in 2020, so understanding it makes those chapters shorter.
In everyday life
Look for Zen 3 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 3” →

How to study Zen 3 in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Zen 3 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 3 out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Zen 3 in simple terms?

Zen 3 is the name for a CPU microarchitecture by AMD, released on November 5, 2020. 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.

Why does Zen 3 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 3?

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 3.

Tags

  • AMD microarchitectures
  • AMD x86 microprocessors
  • Computer-related introductions in 2020
  • X86 microarchitectures

Keep exploring