3 ms·
Answering my own Question #1: Looks like it sets values for FeatureSettingsOverride and FeatureSettingsOverrideMask under the "HKEY_LOCAL_MACHINE\SYSTEM\Curren
by rkagerer 5y ago
Answering my own Question #1: Looks like it sets values for FeatureSettingsOverride and FeatureSettingsOverrideMask under the "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management" registry key.
FeatureSettingsOverride is a bit field where bit 0 controls the mitigation for CVE-2017-5715 (Spectre) and bit 1 controls it for CVE-2017-5754 (Meltdown). If the bit value is 0 the corresponding mitigation is enabled, if 1 it's disabled. FeatureSettingsOverrideMask is simply a mask to control which bits of FeatureSettingsOverride to apply. So, for example, FeatureSettingsOverride = 2 and FeatureSettingsOverrideMask = 3 would enable the Spectre mitigation (if available) and disable the Meltdown one.
More info here:
https://support.microsoft.com/en-us/topic/windows-server-guidance-to-protect-against-speculative-execution-side-channel-vulnerabilities-2f965763-00e2-8f98-b632-0d96f30c8c8e https://support.microsoft.com/en-us/topic/windows-server-gui...
https://gist.github.com/daBONDi/6f86210e54c68e84e85372fc4d1f0d82 https://gist.github.com/daBONDi/6f86210e54c68e84e85372fc4d1f...
Haven't checked if the program emits different behavior for other CPU's or OS versions.
- Datagenerator 5y agoPropitiatory big brother OS has some cryptic setting, so? Linux and BSD give the user all sorts of freedom Microsoft never will. Freedom to research the source, ability to disable telemetry if that would exist and so on.
- asdfasgasdgasdg 5y agoFor anyone considering whether to disable these for desktop performance, I tried to do some research on how much it helps, at least for my workload. From what I was able to read, for gaming, the performance differences are negligible. There also seems to be some indication that disabling mitigations is also harmful to performance on more recent CPUs, since more and more of the mitigations are being baked into the silicon. https://www.reddit.com/r/intel/comments/kp6b6i/how_bad_is_it_to_disable_specter_and_meltdown/ https://www.reddit.com/r/intel/comments/kp6b6i/how_bad_is_it...