sayuri: Add specialisation that disables mitigations
x264 encodes over 2 times faster in one example with mitigations disabled.
This commit is contained in:
parent
a6ddd29a1b
commit
621d209680
|
@ -1,4 +1,4 @@
|
|||
{ config, pkgs, ... }:
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
|
@ -44,5 +44,23 @@
|
|||
user = "sbruder";
|
||||
};
|
||||
};
|
||||
intel-sucks.configuration = {
|
||||
# https://make-linux-fast-again.com/
|
||||
boot.kernelParams = [
|
||||
"l1tf=off"
|
||||
"mds=off"
|
||||
"mitigations=off"
|
||||
"no_stf_barrier"
|
||||
"noibpb"
|
||||
"noibrs"
|
||||
"nopti"
|
||||
"nospec_store_bypass_disable"
|
||||
"nospectre_v1"
|
||||
"nospectre_v2"
|
||||
"tsx=on"
|
||||
"tsx_async_abort=off"
|
||||
];
|
||||
sbruder.gui.enable = lib.mkForce false;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue