Seite 2 von 2

Re: Spectre and Meltdown Protection - Performance

Verfasst: 20.10.2018 13:11
von Der Diplomat
Danke für die Info. Wurde im Wiki ergänzt.

Re: Spectre and Meltdown Protection - Performance

Verfasst: 20.10.2018 16:52
von Michael H.W. Weber
:good:

Michael.

Re: Spectre and Meltdown Protection - Performance

Verfasst: 08.03.2019 12:53
von Jacob Klein
Microsoft announced that Retpoline can be manually enabled on 1809 release.
https://techcommunity.microsoft.com/t5/ ... a-p/295618

I did some testing, to see if I could confirm my prior results. And I was able to confirm them.

My plan is:
Whenever I have an RNA World VM task running, I'll disable the Spectre protection using InSpectre, knowing and accepting the security risk.

================================================================================================================================================================

Conclusions:
- Microsoft's Windows 10 Retpoline and Import Optimization features, DO NOT IMPROVE Spectre v2 mitigation performance degradation, for RNA World VM Tasks.

================================================================================================================================================================
Speed, Microcode 3D, VirtualBox v5.2.27 Test Build 128969, Win10 v1809 (Build 17763.348)
Meltdown Protection ON, Spectre Protection ON, Retpoline ON
FeatureSettingsOverride: 0x400
FeatureSettingsOverrideMask: 0x400

Get-SpeculationControlSettings
BTIHardwarePresent : True
BTIWindowsSupportPresent : True
BTIWindowsSupportEnabled : True
BTIDisabledBySystemPolicy : False
BTIDisabledByNoHardwareSupport : False
BTIKernelRetpolineEnabled : True
BTIKernelImportOptimizationEnabled : True
KVAShadowRequired : True
KVAShadowWindowsSupportPresent : True
KVAShadowWindowsSupportEnabled : True
KVAShadowPcidEnabled : True

VM 1 test 1: 16524457
VM 1 test 2: 16409788

================================================================================================================================================================
Speed, Microcode 3D, VirtualBox v5.2.27 Test Build 128969, Win10 v1809 (Build 17763.348)
Meltdown Protection ON, Spectre Protection ON, Retpoline OFF
FeatureSettingsOverride: 0x0
FeatureSettingsOverrideMask: 0x0

Get-SpeculationControlSettings
BTIHardwarePresent : True
BTIWindowsSupportPresent : True
BTIWindowsSupportEnabled : True
BTIDisabledBySystemPolicy : False
BTIDisabledByNoHardwareSupport : False
BTIKernelRetpolineEnabled : False
BTIKernelImportOptimizationEnabled : False
KVAShadowRequired : True
KVAShadowWindowsSupportPresent : True
KVAShadowWindowsSupportEnabled : True
KVAShadowPcidEnabled : True

VM 1 test 1: 16448307
VM 1 test 2: 16486235

================================================================================================================================================================
Speed, Microcode 3D, VirtualBox v5.2.27 Test Build 128969, Win10 v1809 (Build 17763.348)
Meltdown Protection ON, Spectre Protection OFF, Retpoline OFF
FeatureSettingsOverride: 0x1
FeatureSettingsOverrideMask: 0x3

Get-SpeculationControlSettings
BTIHardwarePresent : True
BTIWindowsSupportPresent : True
BTIWindowsSupportEnabled : False
BTIDisabledBySystemPolicy : True
BTIDisabledByNoHardwareSupport : False
BTIKernelRetpolineEnabled : False
BTIKernelImportOptimizationEnabled : False
KVAShadowRequired : True
KVAShadowWindowsSupportPresent : True
KVAShadowWindowsSupportEnabled : True
KVAShadowPcidEnabled : True

VM 1 test 1: 5431211
VM 1 test 2: 5355062

================================================================================================================================================================
Speed, Microcode 3D, VirtualBox v5.2.27 Test Build 128969, Win10 v1809 (Build 17763.348)
Meltdown Protection OFF, Spectre Protection OFF, Retpoline OFF
FeatureSettingsOverride: 0x3
FeatureSettingsOverrideMask: 0x3

Get-SpeculationControlSettings
BTIHardwarePresent : True
BTIWindowsSupportPresent : True
BTIWindowsSupportEnabled : False
BTIDisabledBySystemPolicy : True
BTIDisabledByNoHardwareSupport : False
BTIKernelRetpolineEnabled : False
BTIKernelImportOptimizationEnabled : False
KVAShadowRequired : True
KVAShadowWindowsSupportPresent : True
KVAShadowWindowsSupportEnabled : False
KVAShadowPcidEnabled : False

VM 1 test 1: 5508251
VM 1 test 2: 5354766

================================================================================================================================================================