4 ms·
Does anyone have the full kernel command line to turn all of the mitigations off? I don't need this on my private development server which runs all code either
by rwmj 8y ago
Does anyone have the full kernel command line to turn all of the mitigations off? I don't need this on my private development server which runs all code either written by me or under my control.
- pabs3 8y agohttps://make-linux-fast-again.com/ https://make-linux-fast-again.com/
- afroboy 8y agoThat's why average joe doesn't like Linux. how i'm going to use this?
- simfoo 8y agohttps://wiki.ubuntu.com/Kernel/KernelBootParameters https://wiki.ubuntu.com/Kernel/KernelBootParameters
- Zardoz84 8y agoYou must put it on kernel options, somewhere on grub config files.
- ChrisSD 8y agoThe "average joe" shouldn't be doing this.
- Asooka 8y ago> That's why average joe doesn't like Linux Having seen the attempts at making Linux friendly for theoretical frictionless spherical Joes in vacuum, I'd rather just have my 1-2% market share GNU/Linux OS for unix greybeards, warts and all. The friendly GUI shell on top of Linux for average Joes is called Chrome OS and Android.
- zamadatix 8y agoIn 5.2 (next major release) the "mitigations=off" flag should cover it all. Up until recently there wasn't really a need for such a catch-all so it hadn't been made.
- kurtisc 8y agoMaybe you'll prefer the Windows version: 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
- throwaway2048 8y agoClearly windows is never going to be ready for the desktop.
- Tepix 8y agoHaha! Made my day.
- SamuelAdams 8y agoSource for this is here [1]. [1]: https://support.microsoft.com/en-us/help/4072698/windows-server-speculative-execution-side-channel-vulnerabilities-prot https://support.microsoft.com/en-us/help/4072698/windows-ser...
- lordlimecat 8y agoAbsolutely. I was talking to an average joe the other day and he was complaining how hard it was to roll back Spectre, Meltdown, and ZombieLoad mitigations to improve his compilation speed.
- BeeOnRope 8y agoAt least based on my tests it is not possible to remove the impact of the mitigations with boot-time flags: this "disabled" the mitigations but the code paths for eg for kernel calls is still much different and slower than pre-mitigation kernels. Pre-mitigation I measured just over 100 ns for a bare do-nothing system call, while after it is over 1,000. However if you disable mitigations on the boot command line I still see over 500 ns so it is not close to the old performance. You'd have to run an old kernel to really get pre-mitigation performance. I tested this just after Meltdown + Spectre 1-3, so things may have better or worse since then, I'm not sure.
- rich-tea 8y agoWith a recent stable or longterm kernel it's simply mitigations=off.
- saati 8y agomitigations=off is the only parameter you need.