From 33f3d14cbf15bcd68251e6d1fcbf7dd02e02a2b6 Mon Sep 17 00:00:00 2001 From: Emmet Date: Fri, 8 Nov 2024 14:59:53 -0600 Subject: [PATCH] Trying bfq scheduler --- system/hardware-configuration.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/system/hardware-configuration.nix b/system/hardware-configuration.nix index 313c9f15..0d19ab1f 100644 --- a/system/hardware-configuration.nix +++ b/system/hardware-configuration.nix @@ -33,6 +33,11 @@ hardware.amdgpu.opencl.enable = true; hardware.amdgpu.amdvlk.enable = true; + # makes disk io not freeze the computer + services.udev.extraRules = '' + ACTION=="add|change", SUBSYSTEM=="block", ENV{ID_SERIAL_SHORT}=="BTKA121225GP512A", ATTR{queue/scheduler}="bfq" + ''; + systemd.tmpfiles.rules = let rocmEnv = pkgs.symlinkJoin {