Auto-fine the scheduler
This commit is contained in:
parent
86e362f14d
commit
c28b93d813
1 changed files with 13 additions and 2 deletions
|
@ -50,7 +50,6 @@
|
|||
"page_alloc.shuffle=1"
|
||||
"pti=on"
|
||||
"vsyscall=none"
|
||||
"debugfs=off"
|
||||
"oops=panic"
|
||||
"module.sig_enforce=1"
|
||||
"mce=0"
|
||||
|
@ -62,7 +61,7 @@
|
|||
services.scx = {
|
||||
enable = true;
|
||||
scheduler = "scx_bpfland";
|
||||
extraArgs = ["-k" "-m all"];
|
||||
extraArgs = ["-k"];
|
||||
};
|
||||
|
||||
powerManagement = {
|
||||
|
@ -71,6 +70,15 @@
|
|||
scsiLinkPolicy = "max_performance";
|
||||
};
|
||||
|
||||
services.upower = {
|
||||
enable = true;
|
||||
usePercentageForPolicy = true;
|
||||
percentageLow = 25;
|
||||
percentageCritical = 5;
|
||||
percentageAction = 3;
|
||||
criticalPowerAction = "PowerOff";
|
||||
};
|
||||
|
||||
boot.runSize = "100%";
|
||||
boot.devSize = "100%";
|
||||
boot.devShmSize = "100%";
|
||||
|
@ -118,8 +126,11 @@
|
|||
hardware.cpu.amd = {
|
||||
sev.enable = true;
|
||||
updateMicrocode = true;
|
||||
ryzen-smu.enable = true;
|
||||
};
|
||||
|
||||
hardware.cpu.x86.msr.enable = true;
|
||||
|
||||
# Bootloader.
|
||||
boot.loader.systemd-boot = {
|
||||
enable = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue