AMD Disables Zen 4 CPU Loop Buffer: Bug Fix or Performance Trade-off

AMD Quietly Deactivates Unused Feature in Zen 4 CPUs

While Zen 5 PCs see Microsoft Windows-focused updates, a quieter change is impacting older Zen 4 processors. A recent release seemingly disables a seldom-used feature and likely won’t impact performance.

Loop Buffer Deactivated

Deep dives using Benchmarking and hardware diagnostics via a website called Chips and Cheese revealed this change involved diligently monitoring performance counters, providing an insightful look into Louvain.

You see, the Loop Buffer, essentially a mini replica of the uOp cache in the CPU frontend, holds instructions. When a program caught in a loop of repetitive code, this can simply draw instructions directly from the Loop Buffer, giving processors a chance to rest other parts of the frontend like fetches and decoders, potentially saving some power. However, in practical usage, it appears this feature is rarely utilized.

Though newborns the number of engines the Loop Buffer can hold is about 144 entries.

Uncovering a Potential Glitch

While not officially announced by AMD, the disablement suggests discovering an "erratum" making this feature unreliable.

This may also be a preemptive measure against vulnerabilities.

The impact on performance is likely minimal. The majority of scenarios didn’t utilize the feature, and the lv-

”Chips & Cheese disabled it, using both SPEC CPU2017 and Cyberpunk 2077 benchmarks to demonstrate it seems the performance was mainly unaffected. However, there was a slight dip visible in Cyberpunk 2077, only occurring when not utilizing Zen 4 cores with 3D V-Cache.

A Story of Trade-offs

It’s likely that the Loop Buffer’s power savings weren’t very noticeable in real-world applications.

Now, AMD seems to have removed it, focusing resources elsewhere.

One might wonder if this could resurface in later architectures like Zen 6 or Zen 7 after refactoring and refinement. It wouldn’t be the first for a CPU feature to go missing and return later with improvements.

Not Entirely Unique

Note that even Intel had a similar feature, named the Loop Stream Detector.

It’s interesting to recall how we rarely hear about these kinds of internal technical maneuvers, highlighting that CPU design is a complex, ongoing process.

What⁣ is the ⁢Loop Buffer and how does⁢ it function?

⁤ ## AMD Quietly Deactivates Unused‌ Feature in Zen 4 CPUs

**Host:** Welcome back ⁣to Tech Talk. ​Today we’re discussing ⁢a⁣ recent change made to AMD’s Zen‌ 4 processors. Joining us is tech expert Alex Reed, who has been following this development closely.⁣ Alex Reed, thanks for being here.

**Alex Reed:** Thanks for having me.

**Host:** So, AMD has quietly deactivated a feature in its Zen​ 4 processors. Can you tell us what‍ this feature is and what it ⁣does?

**Alex Reed:** ⁣Sure. It’s called the Loop Buffer. Imagine it as a mini-cache specifically ⁢designed to hold instructions that are ⁢repeated in loops. This can help speed up processing in certain situations. However, as discovered by the folks over ‌at Chips and Cheese [[1](https://www.techpowerup.com/329386/amd-quietly-disables-zen-4s-loop-buffer-feature-without-performance-penalty)], ⁤it seems this feature⁢ wasn’t being utilized effectively and was essentially dormant. ‌

**Host:** Interesting. ‍So why did AMD decide to disable‍ it? Was there a performance issue?

**Alex Reed:** Not ⁢necessarily. The reports suggest that disabling the Loop⁢ Buffer won’t noticeably affect performance [[1](https://www.techpowerup.com/329386/amd-quietly-disables-zen-4s-loop-buffer-feature-without-performance-penalty)].

It’s more likely a case of streamlining ⁣the architecture, removing complexity, and​ potentially saving ‌power by‌ removing an unused component.

**Host:** That‍ makes sense. So users with Zen ‌4 processors shouldn’t expect a major change ⁢in their⁣ day-to-day experience?

**Alex Reed:** That’s correct. This⁢ seems to be more of a behind-the-scenes⁢ optimization than a user-facing ⁢change.

**Host:** Well, thank‌ you for ​shedding light ‌on ‍this development, Alex Reed. ⁤It’s always interesting to⁣ see these subtle tweaks that go on‌ under ‍the hood of our technology.

**Alex Reed:** ⁢My pleasure.

Leave a Replay