Basically, I did the following steps on a backup clone of a VM.
Do NOT try to do these on a running task! Use a clone, if you decide to test!
RESULTS:
Spectre Protection costs 20% in performance, for a VirtualBox VM!
Meltdown Protection doesn't cost anything in performance.
METHODOLOGY:
On Host:
[*]Set the host protection settings, by running InSpectre as Administrator, and setting Enable/Disable, then restarting Windows whenever you make a settings change.
https://www.grc.com/inspectre.htm
On Guest (Backup clone of a VM):
[*]Kill the PID of the cmsearch process
[*]Shutdown the Guest
[*]Edit the VM settings, to Enable network adapter 1, for NAT
[*]Start the Guest
[*]Hit Ctrl+C when it starts the BOINC script.
[*]Update the apt-get packages with:
apt-get update
[*]Install sysbench with:
apt-get install sysbench
[*]Run sysbench on the Guest, with:
sysbench --test=cpu --cpu-max-prime=20000 run
Useful keys:
= is shift+0
- is only on numpad
y is z
DETAILS:
Code: Alles auswählen
20180303: Meltdown Protection: ON, Spectre Protection: ON
test 1 total time: 26.4573
test 2 total time: 26.4192
test 3 total time: 26.4090
20180303: Meltdown Protection: OFF, Spectre Protection: ON
test 1 total time: 26.4010
test 2 total time: 26.5037
test 3 total time: 26.4018
20180303: Meltdown Protection: ON, Spectre Protection: OFF
test 1 total time: 21.2456
test 2 total time: 21.3365
test 3 total time: 21.2588
20180303: Meltdown Protection: OFF, Spectre Protection: OFF
test 1 total time: 21.2296
test 2 total time: 21.2345
test 3 total time: 21.3814
Regards,
Jacob Klein