On Sun, Jul 09, 2017 at 10:26:01AM -0000, Leigh Scott wrote: > The scheduler choice could be set by a simple udev rule > > $ cat /etc/udev/rules.d/60-ssd-scheduler.rules > # set deadline scheduler for non-rotating disks > ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="0", ATTR{queue/scheduler}="deadline" > > > $ for f in /sys/block/sd?/queue/rotational; do printf "$f is "; cat $f; done > /sys/block/sda/queue/rotational is 0 > /sys/block/sdb/queue/rotational is 1 > /sys/block/sdc/queue/rotational is 0 > > $ for f in /sys/block/sd?/queue/scheduler; do printf "$f is "; cat $f; done > /sys/block/sda/queue/scheduler is noop [deadline] cfq > /sys/block/sdb/queue/scheduler is noop deadline [cfq] > /sys/block/sdc/queue/scheduler is noop [deadline] cfq This would be F27 material. What about the two new fancy schedulers added in 4.12 (BFQ, Kyber, https://lwn.net/Articles/720675/)? Zbyszek _______________________________________________ desktop mailing list -- desktop@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to desktop-leave@xxxxxxxxxxxxxxxxxxxxxxx