Hello. For the past several weeks, I’ve been witnessing truly terrible read/write performance on my TrueNAS home server, and I can not determine why. There are no warning signs on the GUI, and my 10G network card is working flawlessly. Basically, I determined it to be an internal issue as I can demonstrate with this screenshot:
That is a single large file (33GB) being copied from one folder to another inside the NAS so there is no network involvement. The speed shoots up to 300/400 MB/s then drops back down to single digits, sometimes coming to a complete stop before shooting back up again. It’s as if it’s running out of cache or something.
Of course. The problem persists, same inconsistent transfer rates and coming to a halt in the middle of a transfer. Like I said, it’s not a network issue.
You can start by upgrading to the recommended/supported version which is 13.0-U1.1
Use gstat to see what’s going on regarding the HDDs from GEOMs point of view,
If you generate a long transfer using lets say iperf3, is the network performance consistent and if at what rates? You might also want to look at interrupts during transfers.
Which doesn’t say anything at all unfortunately. FreeBSD 13.1 has a lot of improvements compared to 12.3 and while there might be I personally haven’t experienced any regressions on various of platforms.
Based on? There are a number of improvements to the subsystem and kernel which would be very much beneficial. Just because you have aging hardware doesn’t mean that a newer software necessarily will be slower than the previous version. It’s worth mentioning that 12.X is going away so it makes little sense to troubleshoot an essentially dead platform.
@Hostile
Just for your information, iperf and iperf3 are not the same packages (not typos)
Does Windows file transfer copy files from network to PC to then write it back? that could explain the ~1/2 bandwidth.
Pool at high capacity (>60%) with serious fragmentation? ARC should mitigate those problems, but usually pool performance degrades quite considerably at higher %
It’s perhaps a bit more logical to look at the basics first and then look at what potentially ZFS is doing just for the sake of making sure the hardware performs as expected.
I take that as you don’t have any arguments against upgrading since the current version is on the chopping block. Rule #1 is to have software that’s up to date and supported, there’s no point in troubleshooting a legacy version which the vendor have little no to interest in for no obvious reason.
Guys I’m sorry it took me a while to reply but we had a local power outage and I couldn’t do anything while that was happening.
Thank you for all your suggestions and recommendations.
I did run iperf and confirmed everything to be working correctly AFTER I changed the Cat7 cable that was connected to my NAS as I noticed some fraying around the connector. I’m getting a solid 5.05 Gbits/sec indicating a 5G link. I don’t know what happened to my other 5Gs but I’ll take it for now.
Speaking of, do you guys have a recommendation for a solid non-amazon basic Cat7 Cable that can guarantee 10G?
Cat6a is fine for 10G. Higher rating for patch cables isn’t necessarily better. More bend radius restrictions, less flexible cables etc.
If you’re crimping your own cables my advice would be don’t. Trying to crimp cat 7 yourself… it isn’t really meant for patch cables. It’s made for structured in building cabling runs.
There’s also CAT 8.1/8.2 but that’s kinda useless for your use-case unless it costs the same as 6a. If you’re getting installation cable make sure the manufacturer actually provides a datasheet for the cable rather than just a claim.