Cache drive's and trim support


11 posts in this topic Last Reply

Recommended Posts

I've been reading some conflicting posts that say the dynamix trim plugin is required and others saying that unraid natively supports trim now. Should I be running the dynamix plugin for my SSD cache or is unraid taking care of it? If unraid has support for it natively is there anything I need to do to enable trim support or is it done automatically?

Link to post
2 hours ago, Ericjr said:

f unraid has support for it natively is there anything I need to do to enable trim support or is it done automatically?

With v6.8 you need to run trim manually, with v6.9 no need to trim any btrfs pool since it uses the new discard=async mount option, still need to do it for any xfs filesystem.

Link to post
  • 1 month later...
  • 2 weeks later...
  • 3 months later...

I'm not convinced that trim is working the way it should be.  I have two nvme devices each in their own named btrfs cache pool, and performance over time on these devices plummets down until i'm seeing less than 20MB/s write speeds when copying files.  If i manually force a trim, i then see (as an example) 85GB trimmed, and the drive then speeds back up again.  The system log is showing the drive as having been trimmed with the dynamix plugin, but it just doesn't look like it's working to me.  Perhaps i need to completely remove the dynamix plugin if its not needed? On unRAID 6.9.2 by the way

Edited by sdamaged
Link to post
12 minutes ago, sdamaged said:

If i manually force a trim, i then see (as an example) 85GB trimmed, and the drive then speeds back up again.

if there are no errors manual trim is the same as the Dynamix trim.

Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.