Does TrueNAS support TCP window scale?

seba333

Cadet
Joined
Nov 15, 2023
Messages
4
Hi everyone!

Does TrueNAS support TCP window scale?
I have a Windows 10 PC with 10GE nic and a TrueNAS system with 10GE nic as well. The interconnection is done by a 10GE twinax cable.
I have done some tests between them with IPERF3 but results are poor uploading from PC to TrueNAS. Even worst when downloading from TrueNAS to Windows 10 PC.
I know hardware is fine at both sides. I have loaded the PC with a Linux Mind and the same tests are download: 9.43Gbps and download: 9.54Gbps

Is there a way to verify TrueNAS has TCP window scale option and is activated?
At the Windows 10 side I chaged the registry with the Tcp1323Opts option.

On the other hand, I have done some packets capture for both sides of the communication.
TrueNAS is announcing a window size of 1027 bytes and the calculated window size is 65728 bytes.
Windows 10 is announcing a window size of 53248 bytes and the calculated window size is 212992.

I was expecting these numbers are much more high as in theory they should send up to 1GB without ACK.

Any thooughts?

Thanks!
 

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
Have you investigated the 10 gig tuning guide in the resources section?
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
 

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680

I was thinking more like

 

seba333

Cadet
Joined
Nov 15, 2023
Messages
4
Thanks for the feedback.
This has to be something related to Windows 10.
If I take the same machine and load Linux Mint I get 9.40Gbps uploading and downloading from TrueNAS.
I take two Windows 10 machines with Mellanox ConnectX-3 each one and the speed is awful, under 2Gbps.
Does anybody know how to tweak Windows 10 to get higher performance?
 

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
Well, it's been known that Microsoft's TCP stack is kinda garbagey for years, as it's really tuned more towards home users and wifi. Even FreeBSD and Linux tip towards 1GbE tuning by default. Have you looked in the Resources section at the available tuning guides? For ex.

 
Top