Spectre Mitigation Performance Impact Benchmarks On AMD Ryzen 3700X / 3900X Against Intel

Written by Michael Larabel in Software on 15 July 2019 at 10:15 AM EDT. Page 3 of 3. 22 Comments.
Benchmark Result

The socket activity test is another example of the Zen 2 CPUs appearing to take a greater hit from the mitigations than Zen 1. The Ryzen 7 2700X saw a 5% hit to the socket performance with the out-of-the-box mitigations while the Ryzen 7 3700X was at 11%, but at least it still came out faster than its predecessor.

Benchmark Result

The ctx_clock micro-benchmark for measuring out the time to perform a context switch shows roughly the same performance between Zen+ and Zen 2.

Benchmark Result
Benchmark Result

In browser tests, the Core i9 9900K mitigation hit was around 15% to the Ryzen 9 3900X at 11% or the Ryzen 7 2700X at 9%.

Benchmark Result

If looking at the geometric mean for these various mitigation-sensitive benchmarks, the default mitigations on the Core i9 9900K amounted to a 28% hit while the Ryzen 7 2700X saw a 5% hit with its default Spectre mitigations and the new Ryzen 7 3700X came in at 6% and the Ryzen 9 3900X at just over 5%. Keep in mind these benchmarks ran for this article were a good portion of synthetic tests and focused on workloads affected by Spectre/Meltdown/L1TF/Zombieload. Many of these particular tests aren't multi-threaded and that's why you don't see as much of a difference between these HEDT and desktop CPUs as in our more normal benchmarks.

We'll update if hearing back from AMD on whether any software mitigation changes are expected for AMD Zen 2 processors given their hardware mitigations or if they still recommend these same conservative defaults as it currently stands in the Linux 5.2 kernel.

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.