MIKE'S Computer Support

www.mgmcc.org.uk
 
HomeHome  ­FAQFAQ  ­RegisterRegister  ­Log inLog in  
Post new topic   This topic is locked: you cannot edit posts or make replies.Share | 
 

 Disable TCP Auto-Tuning to solve certain problems.

View previous topic View next topic Go down 
AuthorMessage
mgmcc
Admin


Number of posts: 435
Registration date: 2008-10-13
Location: Dundee, Scotland

PostSubject: Disable TCP Auto-Tuning to solve certain problems.   Mon Oct 13, 2008 8:48 pm

Disable TCP Auto-Tuning to Solve Slow Network, Cannot Load Web Page or Download Email Problems in Vista

When Windows Vista is connected to high speed broadband Internet connection, there may be some incompatibilities and conflict problem or error such as the following:

* Poor intermittent network performance.
* Slow network loading.
* Unable to open and load some websites or webpages using Internet Explorer or Firefox, where the blue loading bar keeps running for a long time, but the pages fail to load.
* Java applets fail to download and open.
* Cannot receive email or download from POP3 mail server by email clients such as Thunderbird. No mail arrived although users may see the message “receiving 1 of 3 messages”, and eventually the receiving process will time out with the error number 0×800CCC19 timeout.
* Slow email sending or retrieval using Thunderbird and other clients.

The symptoms exist due to the new re-written TCP stack in Windows Vista that aims to take full advantage of hardware advances such as gigabit networking. Among the new feature in Windows Vista TCP/IP is Receive Window Auto-Tuning Level for TCP connections. TCP AutoTuning enables TCP window scaling by default and automatically tunes the TCP receive window size for each individual connection based on the bandwidth delay product (BDP) and the rate at which the application reads data from the connection, and no longer need to manually change TcpWindowSize registry key value which applies to all connection. Theoretically, with TCP auto-tuning, network connection throughput in Windows Vista should be improved for best performance and efficiency, without registry tweak or hack. However, this is not always the case, and may cause some Internet related issues and problems.

The workaround or solution to the above problem is to disable the TCP/IP AutoTuning in Windows Vista. Disabling auto tuning of TCP Windows Size should not cause any negative effects, only that TCP Window Size will always be at the default value without the ability to optimise for each connection. If there is any side effect after turning off auto tuning, re-enable it.

Check the state or current setting of TCP Auto-Tuning

1. Open elevated command prompt with administrator’s privileges.
2. Type the following command and press Enter:

netsh interface tcp show global

The system will display the following text on screen, where you can check on the Auto-Tuning setting:

Querying active state…

TCP Global Parameters
———————————————-
Receive-Side Scaling State : enabled
Chimney Offload State : enabled
Receive Window Auto-Tuning Level : normal
Add-On Congestion Control Provider : none
ECN Capability : disabled
RFC 1323 Timestamps : disabled

Disable TCP Auto-Tuning

1. Open elevated command prompt with administrator’s privileges.
2. Type the following command and press Enter:

netsh interface tcp set global autotuning=disabled

Enable TCP Auto-Tuning

1. Open elevated command prompt with administrator’s privileges.
2. Type the following command and press Enter:

netsh interface tcp set global autotuning=normal


Also run:

netsh interface tcp set global rss=disabled

_________________
Mike
Back to top Go down
 

Disable TCP Auto-Tuning to solve certain problems.

View previous topic View next topic Back to top 
Page 1 of 1

Permissions of this forum:You cannot reply to topics in this forum
MIKE'S Computer Support :: Internet, Connectivity & Networking :: Networking :: Networking Tutorials-
Post new topic   This topic is locked: you cannot edit posts or make replies.