The Current Spectre / Meltdown Mitigation Overhead Benchmarks On Linux 5.0
The Memcached mcperf performance was affected on all three systems with Linux 5.0, but less so on the AMD Ryzen 7.
The Nginx and Apache web servers show roughly the same performance hits we've been seeing for the past year.
The OSBench operating system micro-benchmarks show some of the other associated costs involved with the default Spectre/Meltdown mitigations.
Of 57 benchmarks tested on these three systems with the Linux 5.0 kernel, the Core i9 7980XE performance was down by about 13% based upon the geometric mean of all the test results. The Intel Core i7 8086K performance was down by 17% with these out-of-the-box protections for Spectre and Meltdown. The AMD Ryzen 7 2700X performance with its default Spectre mitigations was lower by just 3%. Should you choose to go against the security assessment and wish to recover from these performance losses, reverting the mitigations as tested can easily be done by some boot parameters albeit no single switch. Now with Microsoft shipping Retpolines for revising their Spectre V2 mitigation, some additional Spectre/Meltdown tests will be coming up soon on Phoronix.
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.