Disabling Spectre V2 Mitigations Is What Can Impair AMD Ryzen 7000 Series Performance

Written by Michael Larabel in Software on 4 October 2022 at 06:42 AM EDT. Page 4 of 4. 44 Comments.
AMD Ryzen 5 7600X CPU Security Mitigations
AMD Ryzen 5 7600X CPU Security Mitigations
AMD Ryzen 5 7600X CPU Security Mitigations
AMD Ryzen 5 7600X CPU Security Mitigations
AMD Ryzen 5 7600X CPU Security Mitigations
AMD Ryzen 5 7600X CPU Security Mitigations
AMD Ryzen 5 7600X CPU Security Mitigations

At least from this round of testing we now know that it's specifically the Spectre V2 mitigation that should be left on for Zen 4 to avoid hurting the performance, the opposite of what we are used to seeing with prior processor families.

AMD Ryzen 5 7600X CPU Security Mitigations
AMD Ryzen 5 7600X CPU Security Mitigations
AMD Ryzen 5 7600X CPU Security Mitigations
AMD Ryzen 5 7600X CPU Security Mitigations
AMD Ryzen 5 7600X CPU Security Mitigations
AMD Ryzen 5 7600X CPU Security Mitigations

As for why the Ryzen 7000 series performance is actually slower if disabling the Spectre V2 mitigations, that's likely something only AMD can effectively answer but presumably comes down to Zen 4 being better tuned/optimized now for assuming the Spectre V2 mitigated behavior in the micro-architecture. In any event this is ultimately good news for end users and those with production systems should be running in the default (secure) state rather than trying to run "mitigations=off" mode.

AMD Ryzen 5 7600X CPU Security Mitigations

Those interested can see all of my mitigation tests from the AMD Ryzen 5 7600X on Linux 6.0 via this result page.

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.