On Wednesday, 27 September 2017 17:04:53 CEST Stefan G. Weichinger wrote: > aside from that you might want to specify a different IO scheduler for > the SSD, I do that via udev rules like: > > # 60-sched.rules > # set deadline scheduler for non-rotating disks > ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="0", > ATTR{queue/scheduler}="deadline" > > # set cfq scheduler for rotating disks > ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="1", > ATTR{queue/scheduler}="cfq" > > - > > and I have a systemd-timer for running fstrim now and then
Thanks for the hint. Stefano