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