24

Spectre/Meltdown/L1TF/MDS Mitigation Costs on an Intel Dual Core and HT Laptop

 4 years ago
source link: https://www.tuicool.com/articles/baYnEbY
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Spectre/Meltdown/L1TF/MDS Mitigation Costs On An Intel Dual Core + HT Laptop

Written byMichael Larabel inHardware on 21 May 2019 at 08:19 AM EDT.22 Comments

yEnmMrI.jpg!web

Following the recent desktop CPU benchmarks and server CPU benchmarks following the MDS/ZombieLoad mitigations coming to light and looking at the overall performance cost to mitigating these current CPU vulnerabilities, there was some speculation by some in the community that the older dual-core CPUs with Hyper Threading would be particularly hard hit. Here are some benchmarks of a Lenovo ThinkPad with Core i7 Broadwell CPU looking at those mitigation costs.

NB3uMfR.jpg!web

Here are some quick complementary data points looking at the impact of the mitigations=off / mitigations=auto (the default kernel behavior for these mitigations) / mitigations=auto,nosmt (disabling Hyper Threading) when using a Core i7 5600U with two physical cores plus Hyper Threading, very different from the desktop/server CPU benchmarks in recent days with high core counts.

Ubuntu 19.04 was in use with the patched Linux 5.0 kernel.

The I/O cost remains high as usual.

Memory allocations can take longer as well.

The socket impact is particularly high.

As seen with the beefier CPUs, the Hackbench Linux kernel scheduler is particularly hard hit by these mitigations.

GIMP and Darktable are among the real-world desktop applications seeing a difference from these default mitigations and obviously more so once HT gets flipped off.

The MATLAB-like Octave software is another one of those affected applications.

Context switching on this Core i7 Broadwell CPU takes seven times longer since these mitigations.

The JavaScript/browser performance on this dual-core laptop also sees a hit from the default mitigations even if keeping HT enabled.

If looking at the geometric mean across dozens of benchmarks ran, the default/out-of-the-box mitigations dropped the performance by 18% or 25% when disabling Hyper Threading. See all the benchmarks via this OpenBenchmarking.org result file .

22 Comments


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK