Following Retbleed, The Combined CPU Security Mitigation Impact For AMD Zen 2 / Ryzen 9 3950X

Written by Michael Larabel in Software on 6 September 2022 at 11:00 AM EDT. Page 5 of 5. 36 Comments.
Ryzen 9 3950X Linux 6.0 Mitigations Benchmark
Ryzen 9 3950X Linux 6.0 Mitigations Benchmark
Ryzen 9 3950X Linux 6.0 Mitigations Benchmark
Ryzen 9 3950X Linux 6.0 Mitigations Benchmark

Aside from Linux server workloads, there are plenty of Linux desktop applications also recording a difference from these various CPU security mitigation levels on the AMD Ryzen 9 3950X.

Ryzen 9 3950X Linux 6.0 Mitigations Benchmark
Ryzen 9 3950X Linux 6.0 Mitigations Benchmark
Ryzen 9 3950X Linux 6.0 Mitigations Benchmark
Ryzen 9 3950X Linux 6.0 Mitigations Benchmark
Ryzen 9 3950X Linux 6.0 Mitigations Benchmark

The web browser performance is one area that continues to record slower performance from these increasing CPU security mitigations.

Those wishing to go through the dozens of benchmarks in full that I ran can find them via this result page.

Ryzen 9 3950X Linux 6.0 Mitigations Benchmark

When taking the geometric mean of all the benchmarks conducted, the default/out-of-the-box mitigations on the AMD Ryzen 9 3950X saw the system running at 94.6% the unmitigated performance with the run-time disabling via mitigations=off. But more pressing is if using the newer retbleed=ibpb option for issuing Indirect Branch Prediction Barriers as the safest over the untrained return thunks mitigation but with the highest performance impact. Running with Retbleed IBPB mitigations yielded just 75% the completely unmitigated performance or a 20% hit over the default (untrained return thunks) Retbleed mitigated mode.

Thankfully at least AMD Zen 3 and newer do not need Retbleed mitigations and that the overall default mitigated impact is quite small.

If you enjoyed this article consider joining Phoronix Premium to view this site ad-free, multi-page articles on a single page, and other benefits. PayPal or Stripe tips are also graciously accepted. Thanks for your support.


Related Articles
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.