TcpWindowSize is limited

Get help and discuss anything related to tweaking your internet connection, as well as the different tools and registry patches on the site. TCP Optimizer settings and Analyzer results should be posted here.
Post Reply
Regabuser
New Member
Posts: 8
Joined: Thu May 02, 2019 3:18 pm

TcpWindowSize is limited

Post by Regabuser »

(Sorry for my bad English)
Hello!

My TcpWindowSize in registry is 496400.
I downloaded a WireShark to make sure that all okey.
And i noticed that my TcpWindowSize is 262144
Help me, what`s wrong? :confused:
Windows 10, WindowsScalingOption=256
P.S And TcpAnalyzer say the same
Image
User avatar
Philip
SG VIP
Posts: 11699
Joined: Sat May 08, 1999 5:00 am
Location: Jacksonville, Florida

Post by Philip »

Windows 10 uses an "auto tuning" algorithm to determine what size RWIN is needed at the moment depending on network conditions. You can control how aggressively this algorithm allocates the RWIN value, however, you can't control it directly, it does not follow the registry value. The relevant settings that are editable in Windows 10 are covered by the TCP Optimizer.
Disclaimer: Please use caution when opening messages, my grasp on reality may have shaken loose during transmission (going on rusty memory circuits), even though my tin foil hat is regularly audited for potential supply chain tampering. I also eat whatever crayons are put in front of me.
๑۩۞۩๑
Regabuser
New Member
Posts: 8
Joined: Thu May 02, 2019 3:18 pm

Post by Regabuser »

Philip wrote:Windows 10 uses an "auto tuning" algorithm to determine what size RWIN is needed at the moment depending on network conditions. You can control how aggressively this algorithm allocates the RWIN value, however, you can't control it directly, it does not follow the registry value. The relevant settings that are editable in Windows 10 are covered by the TCP Optimizer.
OK but can you please say what parameters are controlling how aggressively this algorithm allocates the RWIN value in Win7\Win10
As I understood there are: CongestionProvider, autotuninglevel, Tcp1323Opts?
User avatar
Philip
SG VIP
Posts: 11699
Joined: Sat May 08, 1999 5:00 am
Location: Jacksonville, Florida

Post by Philip »

Autotuninglvl is the one that controls the algorithm, i.e. how much memory is assigned for the TCP Window buffer per connection. it considers the current speed and latency, and assigns a maximum RWIN value based on those parameters.

Tcp1323Opts only determines if TCP Options are turned on, as defined in RFC1323. This allows for RWIN values of over 65535. The only other thing it controls is timestamps.

CongestionProvider deals with what the TCP/IP stack does when it encounters packet loss, those are congestion avoidance algorithms. Those algorithms also control how fast the speed scales up in the beginning of a transfer.
Post Reply