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

Reply via email to