06-28-2020, 06:58 AM
I optimized my TRIM Method from WEEKLY to DAILY job. The default TRIM in LL5 is WEEKLY but I think it is too long to recover some disk space to be useful again. I made some tweaks to change my TRIM to DAILY. But before that, check your TRIM timer first by copy-pasting this code to the Terminal:
Output is somewhat like this for the weekly job:
Code:
systemctl cat fstrim.timer
Output is somewhat like this for the weekly job:
Code:
# /lib/systemd/system/fstrim.timer
[Unit]
Description=Discard unused blocks once a week
Documentation=man:fstrim
ConditionVirtualization=!container
[Timer]
OnCalendar=weekly
AccuracySec=1h
Persistent=true
[Install]
WantedBy=timers.target