1 |
On 01/29/2017 03:06 PM, Mick wrote: |
2 |
> On Sunday 29 Jan 2017 22:10:59 Neil Bothwick wrote: |
3 |
>> On Sun, 29 Jan 2017 19:17:47 +0000, Mick wrote: |
4 |
>>>> Are you running fstrim once in a while like it's recommended? |
5 |
>>>> Apparently using 'discard' as an option when mounting is no longer |
6 |
>>>> recommended. On my laptops I use a systemd timer to do this. Before |
7 |
>>>> that I used anacron (I think it was anacron) which would run missed |
8 |
>>>> cronjobs. |
9 |
>>> |
10 |
>>> This is surprised me ... I just installed Gentoo on a MacBook and the |
11 |
>>> handbook/wiki said to use discard in fstab ... I'm running two PCs like |
12 |
>>> this now. :-/ |
13 |
>>> |
14 |
>>> Is there a URL somewhere recommending otherwise? |
15 |
>> |
16 |
>> man fstrim: |
17 |
>> |
18 |
>> Running fstrim frequently, or even using mount -o discard, might |
19 |
>> negatively affect the lifetime of poor-quality SSD devices. For most |
20 |
>> desktop and server systems a sufficient trimming frequency is once a |
21 |
>> week. Note that not all devices support a queued trim, so each trim |
22 |
>> command incurs a performance penalty on whatever else might be trying to |
23 |
>> use the disk at the time. |
24 |
> |
25 |
> Hmm .... I better take these discards off fstab then. Are these weekly trims |
26 |
> OK, if the PC is rebooted on a daily basis? |
27 |
> |
28 |
|
29 |
Yes, just make sure you use anacron or a systemd timer that will run a |
30 |
missed job. I remember somewhere once or twice a day was OK as well as |
31 |
fstrim will complete faster. It is noticable when fstrim is running. |
32 |
|
33 |
Dan |