This is exactly the behavior I am seeing. Been running Freenas/Core for years, currently virtualised in VMWare 8.0 with HBA passed through with triple mirror vdev. Spun up a new VM, with latest Dragonfish 24.04 a few days ago, works for maybe 24 hours before GUI becomes sluggish, but unusable in a large file transfer. File transfers are incredibly fast after a fresh reboot, 550MB/s+, but after a few hours the rate is all over the place and I have seen it as low as 30MB.
Unrelated to this, but I also experienced a scary moment where my passphrase enrypted pool would not unlock, following install of an app, and the creation of the ix-application pool, getting the message:
'/mnt/tank' directory is not empty (please provide "force" flag to override this error and file/directory will be renamed once the dataset is unlocked)
Luckily it looks like a GUI issue as it unlocks fine in Core. I have reverted back to Truenas Core for now - will monitor the bug fixes and try again on a future release.
@brywhi I think you don’t have persistent settings, if you reboot you will lose it. I don’t think you can edit sysctl.conf and be persistent, instead, add it to the UI via System Settings → Advanced → Sysctl and then it will be persistent for sure.
I’m sure you did, didn’t go back and read all previous posts. I will amend my comment, thanks for pointing it out. We definitely agree it’s not a true fix.
Not a big deal. Just reiterating that my two days without problems doesn’t mean I think iX should disable swap and call it a day For me though, I don’t intend to enable it.
Yeah, for me, I’d prefer to have it on. To me, it still indicates some other issue, not just zfs vs Linux. Some posters are coming forward in another thread now saying they had the same ARC settings on Cobia without issue. One indicated he had no trouble on Dragonfish on the RC, only the release version. Only a couple, but it does make you wonder what changed.
Hate to burst that bubble, but this problem started for me with the RC. Can’t say 100% for sure my RC slowdown was for the same reasons as my Release slowdown, but the symptoms were definitely the same.
Update- still running well with swappiness at 0 and other things at defaults.
Boot drive is also quiet and not getting hit aggressively.
Did a quick load test via some SMB and NFS shares, UI stayed performant during these tests. Used fio to do some more load tests directly on the truenas box via ssh, everything continued to run fine.
I set the var vm.swappiness to 0 in sysctl under system settings/advanced- this solution is working well for me, so I want to be sure it persists whenever I reboot next.
Edit: it is still using a tiny bit of swap, but I’m fine with that as long as it isn’t affecting performance or hammering my boot drive, etc.
total used free shared buff/cache available
Mem: 228Gi 199Gi 29Gi 12Mi 328Mi 28Gi
Swap: 15Gi 1.2Gi 14Gi