MacMusic  |  PcMusic  |  440 Software  |  440 Forums  |  440TV  |  Zicos

Here’s how, and why, the Spectre and Meltdown patches will hurt performance

jeudi 11 janvier 2018, 22:30 , par Ars Technica
Here’s how, and why, the Spectre and Meltdown patches will hurt performance
Enlarge (credit: Aurich / Getty)
As the industry continues to grapple with the Meltdown and Spectre attacks, operating system and browser developers in particular are continuing to develop and test schemes to protect against the problems. Simultaneously, microcode updates to alter processor behavior are also starting to ship.
Since news of these attacks first broke, it has been clear that resolving them is going to have some performance impact. Meltdown was presumed to have a substantial impact, at least for some workloads, but Spectre was more of an unknown due to its greater complexity. With patches and microcode now available (at least for some systems), that impact is now starting to become clearer. The situation is, as we should expect with these twin attacks, complex.
To recap: modern high-performance processors perform what is called speculative execution. They will make assumptions about which way branches in the code are taken and speculatively compute results accordingly. If they guess correctly, they win some extra performance; if they guess wrong, they throw away their speculatively calculated results. This is meant to be transparent to programs, but it turns out that this speculation slightly changes the state of the processor. These small changes can be measured, disclosing information about the data and instructions that were used speculatively.
Read 47 remaining paragraphs | Comments

Voir aussi

News copyright owned by their original publishers | Copyright © 2004 - 2018 Zicos / 440Network
Date Actuelle
dim. 21 janv. - 17:17 CET