This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

For those of you using SSD's - TRIM support..

I added the following lines to my /etc/crontab to run SSD TRIM cleanup on the primary mount points in my UTM weekly.  The fstrim command is included with the OS and does not appear to run automatically from what I could tell.  If someone know better, let me know..

@weekly  root /sbin/fstrim /
@weekly root /sbin/fstrim /boot
@weekly root  /sbin/fstrim /opt/inst
@weekly root /sbin/fstrim /var/log
@weekly root /sbin/fstrim /tmp

Thought I'd share..

Bryan


This thread was automatically locked due to age.
Parents
  • Apple doesn't enable TRIM for non Apple SSDs, so make of that what you will.  Still, not the same OS, not the same usage model.  The key here is that this isn't a desktop usage model.

    Linux has trouble with TRIM, and can slow down when TRIM is active on the filesystem.  TRIM commands sent via fstrim can have the same impact, but as long as you don't have any problems when the cron job runs you should be fine.
Reply
  • Apple doesn't enable TRIM for non Apple SSDs, so make of that what you will.  Still, not the same OS, not the same usage model.  The key here is that this isn't a desktop usage model.

    Linux has trouble with TRIM, and can slow down when TRIM is active on the filesystem.  TRIM commands sent via fstrim can have the same impact, but as long as you don't have any problems when the cron job runs you should be fine.
Children
No Data