Disabling Intel and AMD CPU Vulnerability Mitigations Windows/Linux
CPU Vulmerability znizuje vykon CPU operacii o niekolko percent
Vypnutie Linux:
Kernel > 5.2
nano /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash mitigations=off"
Kernel < 5.2
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash noibrs noibpb nopti nospectre_v2 nospectre_v1 l1tf=off nospec_store_bypass_disable no_stf_barrier mds=off tsx=on tsx_async_abort=off mitigations=off"
Update grub
sudo update-grub
Windows disable:
CVE-2018-11091, CVE-2018-12126, CVE-2018-12127, CVE-2018-12130
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management" /v FeatureSettingsOverride /t REG_DWORD /d 3 /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management" /v FeatureSettingsOverrideMask /t REG_DWORD /d 3 /f