Spectre and Meltdown Protection - Performance
- Der Diplomat
- Powerknopf-Verweigerer
- Beiträge: 1467
- Registriert: 21.07.2001 01:00
- Wohnort: Landsberg
Re: Spectre and Meltdown Protection - Performance
Danke für die Info. Wurde im Wiki ergänzt.
- Michael H.W. Weber
- Vereinsvorstand
- Beiträge: 22435
- Registriert: 07.01.2002 01:00
- Wohnort: Marpurk
- Kontaktdaten:
Re: Spectre and Meltdown Protection - Performance
Michael.
Fördern, kooperieren und konstruieren statt fordern, konkurrieren und konsumieren.
http://signature.statseb.fr I: Kaputte Seite A
http://signature.statseb.fr II: Kaputte Seite B
http://signature.statseb.fr I: Kaputte Seite A
http://signature.statseb.fr II: Kaputte Seite B
-
- Brain-Bug
- Beiträge: 564
- Registriert: 26.07.2013 15:41
Re: Spectre and Meltdown Protection - Performance
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
================================================================================================================================================================
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
================================================================================================================================================================