1 |
aside from that you might want to specify a different IO scheduler for |
2 |
the SSD, I do that via udev rules like: |
3 |
|
4 |
# 60-sched.rules |
5 |
# set deadline scheduler for non-rotating disks |
6 |
ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="0", |
7 |
ATTR{queue/scheduler}="deadline" |
8 |
|
9 |
# set cfq scheduler for rotating disks |
10 |
ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="1", |
11 |
ATTR{queue/scheduler}="cfq" |
12 |
|
13 |
- |
14 |
|
15 |
and I have a systemd-timer for running fstrim now and then |