all repos — nixfiles @ 162d59aea1c7690c0fceaeaeddb7cc885b719c1b

System and user configuration, managed by nix and home-manager

bare-metal: use a multi-queue scheduler for HDDs

single-queue schedulers are no longer included in the kernel
Alan Pearce alan@alanpearce.eu
Sun, 23 Apr 2023 21:47:41 +0200
commit

162d59aea1c7690c0fceaeaeddb7cc885b719c1b

parent

eeec367dad6ced8b35a19a6aae74d43cad4c5b0c

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M system/settings/hardware/bare-metal.nixsystem/settings/hardware/bare-metal.nix
@@ -26,7 +26,7 @@ ACTION=="add|change", KERNEL=="nvme[0-9]n[0-9]", ATTR{queue/scheduler}="none"     # 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
-    ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="1", ATTR{queue/scheduler}="bfq"
+    ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="1", ATTR{queue/scheduler}="kyber"
   '';
 
   boot.kernelModules = [ "tcp_bbr" ];