1.) Confirm this isn't just a network issue by running an iperf test 2.) If above looks good, get samba and dmesg logs and post
Linux
A community for everything relating to the GNU/Linux operating system (except the memes!)
Also, check out:
Original icon base courtesy of lewing@isc.tamu.edu and The GIMP
btw if both your server and clients are *nix, isn't it better to use NFS?
Technically yes, but I have two windows machines that regularly need to access it as well and I preferred SMB to act like a real mapped network drive.
i see. btw, if you're running win10/win11 they natively support nfs mounting. might be worth trying if you can't solve this issue with smb.
I also found that post. They are talking about bad performance on the NAS side though with openmediavault- which I don't have, when I boot into Windows on my main desktop there is no performance issue with the NAS whatsoever. Whatever I think is going on with mine it is debian (client) specific.
You should still be able to adjust client settings in /etc/samba/smb.conf
The cifs driver is complex. I haven't spent time tuning it in quite a while, but I once got rid of a performance problem by mounting with the nouser_xattr option, which can be included in a mount.cifs command or an /etc/fstab entry. That, or something else documented in the mount.cifs man page, might be worth a try.
Good luck!
FWIW, this is more likely Linux-specific than Debian-specific.
Check ethtool to make sure your link is actually operating at 2.5gbit with full duplex. You may need to make sure the kernel module for that ethernet nic supports 2.5gbit.
I am running at 2.5g. Ethtool confirms it and in the screenshot I just added to the OP, you can see my max transfer rate is around the 280MB/s that I expect out of 2.5g. The behavior is not network speed limited.
Now, this is a Debian only problem. When I reboot into my Windows 11 install, this problem disappears- transfers run at full line speed as expected, no delays. So I am ruling out an issue with the Truenas box.