10GbE and TCP Window Size?

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.

TeeJayHoward

Active Member
Feb 12, 2013
376
112
43
I've got a pair of X520-SR2s connected directly to each other. One box is running Windows 8, the other Windows 2012 R2. If I do an iperf between the two machines, I get a result of 1Gbit/s. If I run iperf with a 1M window, I get 9.9Gbit/s. If I bridge the two interfaces, I get a result of 250Kbit/s.

Obviously, I want these two machines to talk to each other as fast as possible. The problem is, both machines have 1Gbps interfaces in addition to the 10GbE adapter, and the 2012R2 box has a 40Gbps interface too! I can't seem to find a way to set the TCP window to 1M just for the X520-SR2 adapters. Is there a way to let Windows automatically adjust the window?
 

HotFix

Member
May 20, 2015
87
23
8
Silver Spring MD
blogs.technet.com
If I remember correctly you should not be adjusting the TCP Window Size in Windows Server 2008 or later because it's auto-tuning. If you want to tweak some settings to get better performance check out the following links:
General recommendations:
Performance Tuning Network Adapters
More on receive side scaling (ignore the fact that the post is on SAP):
Network Settings, Network Teaming, Receive Side Scaling (RSS) & Unbalanced CPU Load - Running SAP Applications on Microsoft Platform - Site Home - MSDN Blogs
I have also been told to run the Server Performance Advisor (although I have yet to do so myself):
Microsoft Server Performance Advisor

I hope that helps.