diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-09-21 12:58:33 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-09-21 12:58:33 +0100 |
commit | 2a581fe1a54a5d2c50ed50bacd26e61aae3f6076 (patch) | |
tree | 3161b73a6b7fe1c9379580a169680de8c2e166f8 /sys-apps/baselayout/files/ioschedcfg | |
parent | bf7b5813ec462f7b4224a86f44c737730a47e081 (diff) |
sys-apps/baselayout : version bump
Diffstat (limited to 'sys-apps/baselayout/files/ioschedcfg')
-rw-r--r-- | sys-apps/baselayout/files/ioschedcfg | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys-apps/baselayout/files/ioschedcfg b/sys-apps/baselayout/files/ioschedcfg new file mode 100644 index 00000000..9047bd4a --- /dev/null +++ b/sys-apps/baselayout/files/ioschedcfg @@ -0,0 +1,6 @@ +# set mq-deadline scheduler for non-rotating disks (SATA SSDs) +ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="0", ATTR{queue/scheduler}="mq-deadline" +# set bfq scheduler for rotating disks (SATA HDDs) +ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="1", ATTR{queue/scheduler}="bfq" +# set mq-deadline scheduler for non-rotating nvme-disks (NVME SSDs) +ACTION=="add|change", KERNEL=="nvme[0-9]n1", ATTR{queue/rotational}=="0", ATTR{queue/scheduler}="mq-deadline" |