Page 1 of 1

[Solved] Optimize SSD in Linux?

Posted: Fri May 22, 2020 5:43 pm
by hal_sk
Hi,
Is it recommended to optimize solid-state drive (SSD) in Linux Mint? If yes, is optimization performed regularly and automatically (like in Windows 10) or should I manually use some software to do the work. If yes what software?

Re: Optimize SSD in Linux?

Posted: Fri May 22, 2020 6:01 pm
by Schultz
See this, written by forum member Pjotr: https://easylinuxtipsproject.blogspot.com/p/ssd.html

Re: Optimize SSD in Linux?

Posted: Fri May 22, 2020 6:05 pm
by LanceM
Every Monday morning it will TRIM. You can manually TRIM by running this in the Terminal:

Code: Select all

sudo fstrim -va
You can see if TRIM is scheduled:

Code: Select all

systemctl status fstrim.timer
When last done:

Code: Select all

journalctl | grep fstrim
-If nothings shows wait until Monday or thereafter.

Re: Optimize SSD in Linux?

Posted: Fri May 22, 2020 6:29 pm
by hal_sk
Thank you all for information :wink:

Re: [Solved] Optimize SSD in Linux?

Posted: Fri May 22, 2020 7:28 pm
by ajgringo619
Another way (which seems to be faster) to check on fstrim is journalctl -u fstrim. This will work for any systemd unit.