diff options
Diffstat (limited to 'system/settings')
-rw-r--r-- | system/settings/hardware/bare-metal.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/system/settings/hardware/bare-metal.nix b/system/settings/hardware/bare-metal.nix index d49e9d41..9d870a40 100644 --- a/system/settings/hardware/bare-metal.nix +++ b/system/settings/hardware/bare-metal.nix @@ -22,7 +22,8 @@ }; services.udev.extraRules = '' # set scheduler for NVMe - ACTION=="add|change", KERNEL=="nvme[0-9]n[0-9]", ATTR{queue/scheduler}="none" + ACTION=="add|change", KERNEL=="nvme[0-9]n[0-9]", ATTR{queue/scheduler}="kyber" + ACTION=="add|change", KERNEL=="nvme[0-9]n[0-9]", ATTR{queue/iosched/read_lat_nsec}="100000" # set scheduler for SSD and eMMC ACTION=="add|change", KERNEL=="sd[a-z]|mmcblk[0-9]*", ATTR{queue/rotational}=="0", ATTR{queue/scheduler}="mq-deadline" # set scheduler for rotating disks |