Issues arise when using Truenas Core, leading to slower operation.
Issues arise when using Truenas Core, leading to slower operation.
I've been thinking about how my motherboard works. On my Asrock x79 Extreme6, four SATA ports are 3Gb and five are 6Gb. Might this setup be limiting performance? A fast spinning drive won't exceed 3Gb, but could the storage controller itself be restricting total speed?
It doesn’t seem quite right, especially given how fast a single drive can operate. The RAID setup might actually be leading to a CPU limitation.
I don't agree, I've checked the CPU and it never exceeds 5% (that's unusual on its own).
I recently recalled a setting, so I turned off Interrupt Moderation on the NIC in my Windows machine to achieve better performance. It would switch between Linux modes seamlessly, but Windows struggled. Testing iperf3 on the NAS and using iperf3.exe with serverip also revealed slow NIC speeds. You’d need to install iperf3 on the NAS, download it for Windows, and execute it via the command line.
I tested iperf3 and achieved near 10Gb in both directions. Truenas includes iperf and iperf3 by default. Turning off interrupt moderation on Windows boosts read speed past 800MB/s for a 10GB file, but write speed returns to about 250MB/s. It seems adjusting settings on the NAS might be necessary.
You might want to verify which coalescing settings are active on the card using ethtool. You can also find helpful guidance at the provided link. Many adjustments are possible through sysctl, though it's likely TrueNAS has already fine-tuned these features.