meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux:prepare:iosched [2025/01/05 21:54] niziaklinux:prepare:iosched [2025/01/06 20:36] (current) niziak
Line 32: Line 32:
 ACTION=="add|change", KERNEL=="sd*[!0-9]|sr*", ATTR{queue/rotational}=="1", ATTR{queue/scheduler}="bfq" ACTION=="add|change", KERNEL=="sd*[!0-9]|sr*", ATTR{queue/rotational}=="1", ATTR{queue/scheduler}="bfq"
  
-ACTION=="add|change", KERNEL=="sd*[!0-9]|sr*", ATTR{queue/rotational}=="1", ATTR{queue/iosched/slice_idle}="0"+# order matters strict_guarantee:=1 cause slice_idle back to 8
 ACTION=="add|change", KERNEL=="sd*[!0-9]|sr*", ATTR{queue/rotational}=="1", ATTR{queue/iosched/strict_guarantees}="1" ACTION=="add|change", KERNEL=="sd*[!0-9]|sr*", ATTR{queue/rotational}=="1", ATTR{queue/iosched/strict_guarantees}="1"
 +ACTION=="add|change", KERNEL=="sd*[!0-9]|sr*", ATTR{queue/rotational}=="1", ATTR{queue/iosched/slice_idle}="0"
 +
  
 ACTION=="add|change", KERNEL=="sd*[!0-9]|sr*|mmcblk[0-9]*", ATTR{queue/rotational}=="0", ATTR{queue/scheduler}="kyber" ACTION=="add|change", KERNEL=="sd*[!0-9]|sr*|mmcblk[0-9]*", ATTR{queue/rotational}=="0", ATTR{queue/scheduler}="kyber"
Line 56: Line 58:
 cat /sys/block/sd*/queue/iosched/strict_guarantees cat /sys/block/sd*/queue/iosched/strict_guarantees
 </code> </code>
 +
 +
 +===== more =====
 +
 +  * [[https://www.reddit.com/r/btrfs/comments/12qf09a/bfq_btrfs/|bfq & btrfs]]
 +  * [[https://docs.kernel.org/block/bfq-iosched.html|bfq]]