bazzite/deck/etc/udev/rules.d/60-schedulers.rules
Kyle Gospodnetich 0cb0c67283 feat: Use BFQ (Low Latency) I/O scheduler.
This helps with IO starvation on Deck when games are installing or de-duplication is occurring. https://www.phoronix.com/review/linux-56-nvme
2023-06-21 15:08:24 -07:00

7 lines
325 B
Plaintext

# SSD/MicroSD
ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="0", ATTR{queue/scheduler}="bfq"
# HDD
ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="1", ATTR{queue/scheduler}="bfq"
# NVME
ACTION=="add|change", KERNEL=="nvme[0-9]n1", ATTR{queue/rotational}=="0", ATTR{queue/scheduler}="bfq"