summary refs log tree commit diff stats
path: root/system
diff options
context:
space:
mode:
authorAlan Pearce2023-04-23 21:47:41 +0200
committerAlan Pearce2023-04-23 21:47:41 +0200
commit162d59aea1c7690c0fceaeaeddb7cc885b719c1b (patch)
treefc871dca1e8137505c4dd30f2559c4a9224df0b4 /system
parenteeec367dad6ced8b35a19a6aae74d43cad4c5b0c (diff)
downloadnixfiles-162d59aea1c7690c0fceaeaeddb7cc885b719c1b.tar.lz
nixfiles-162d59aea1c7690c0fceaeaeddb7cc885b719c1b.tar.zst
nixfiles-162d59aea1c7690c0fceaeaeddb7cc885b719c1b.zip
bare-metal: use a multi-queue scheduler for HDDs
single-queue schedulers are no longer included in the kernel
Diffstat (limited to 'system')
-rw-r--r--system/settings/hardware/bare-metal.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/settings/hardware/bare-metal.nix b/system/settings/hardware/bare-metal.nix
index aa13b523..1eb18144 100644
--- a/system/settings/hardware/bare-metal.nix
+++ b/system/settings/hardware/bare-metal.nix
@@ -26,7 +26,7 @@
     # 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" ];