Add 'etc/udev/rules.d/60-ioschedulers.rules'
This commit is contained in:
parent
93f544562c
commit
db0de8373b
6
etc/udev/rules.d/60-ioschedulers.rules
Normal file
6
etc/udev/rules.d/60-ioschedulers.rules
Normal file
@ -0,0 +1,6 @@
|
||||
# set scheduler for NVMe
|
||||
ACTION=="add|change", KERNEL=="nvme[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}="bfq"
|
||||
# set scheduler for rotating disks
|
||||
#ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="1", ATTR{queue/scheduler}="bfq"
|
Loading…
Reference in New Issue
Block a user