RedditPP Mascot

RedditPP

r/truenas • … • u/teh_weiman

Poor network write performance, temporarily fixed simply by 'Saving' SMB settings

I'm running TrueNAS-13.0-U3.1 on an Intel G5400 with 32GB of RAM, ASRock H370M-ITX/ac motherboard. (dual Intel NICs but only using one) This NAS gets little usage, I turn it on maybe 2-3 times a month to run backups and then turn it off again to save power (€~0,4/kWh) A few months ago I had to reinstall the OS because I had ignored the warnings of not using USB drives for install and the one I was using including its backup brother had died. This is where I encountered this issue again, though I remember having fixed it in the past which is frustrating.

I have a basic setup with a single Pool made up of 4 Seagate IronWolf, 8TB in RAIDZ1 (yes, not optimal for performance or in case in failure but this is all backup data). The Dataset is shared through SMB, mounted as a network share and I simply write data to it either through Explorer or Robocopy.

The issue is that the write performance drops immensely, going up and down, looking like this while transferring files that are 1GB+ in this example: https://imgur.com/sroSv8A

Now, the moment I simply **save** my SMB settings bytouching this button: https://imgur.com/pg8YzqP *without changing any settings whatsoever*, the speed just **flies** and immediately saturates my gigabit LAN link. After a couple of minutes, speeds collapse again and doing the same trick they pick up again. I thought this was originally a NIC issue because this also used to happen by checking 'Disable Hardware Offloading' on the NIC properties. This doesn't seem to work anymore though

I honestly have no idea what is happening here. Is this a known bug? I though it maybe instantly cleared my ZFS cached allowing writes to be written to RAM but that is still full. Any ideas?

— 0