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
1 files changed, 1 insertions(+), 1 deletions(-)
M system/settings/hardware/bare-metal.nix → system/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" ];