The Samsung Evo 850 http://www.samsung.com/semiconductor/minisite/ssd/product/consumer/850evo.html
The following post suggests that with Ubuntu 16.04 and the 850 EVO, TRIM is enabled by default.
However,
cat /etc/cron.weekly/fstrim
returns
#!/bin/sh
# trim all mounted file systems which support it
/sbin/fstrim --all || true
and I read elsewhere, What SSD optimization are needed on latest Ubuntu version?, David Ambarsumov's answer, that 16.04 doesn't have the -all option. So will the weekly TRIM work? I understand that the quote is that fstrim-all isn't available, but I don't know if this is the same and if fstrim --all works as intended (this could just be my nervousness and lack of understanding in this area).
Second, I read elsewhere that one should set noatime option in /etc/fstab. Is this still relevant; I don't see noatime nor relatime in that file currently?
Finally, I read, and I think this is old, that one should choose a different scheduler than the default. Is this true, and if so, which one?
Thanks for your time!!! Much of the information on SSDs is dated, and Linux and Ubuntu have made a lot progress in that time, so it's a bit confusing.
fstrim-all
, not that there's nofstrim --all
.all
infstrim-all
wouldn't be an option. It would be part of the name of the command. – Chai T. Rex Jan 01 '17 at 08:59fstrim-all
(8) man page on 12.04. As you can see from thefstrim
(8) man page on 12.04, the--all
option didn't exist at the time, but it exists in 16.04. – Chai T. Rex Jan 02 '17 at 21:43