<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Receive Window Auto-Tuning on Vista.</title><link>http://blogs.msdn.com/b/wndp/archive/2007/07/05/receive-window-auto-tuning-on-vista.aspx</link><description>Hi, my name is Katarzyna and I am the Program Manager within the Internet Protocols team. I have been asked a few times about the Receive Window Auto-Tuning feature on Vista and some associated issues people are having. One of the many cool new features</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Receive Window Auto-Tuning on Vista.</title><link>http://blogs.msdn.com/b/wndp/archive/2007/07/05/receive-window-auto-tuning-on-vista.aspx#10259203</link><pubDate>Sat, 21 Jan 2012 08:48:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10259203</guid><dc:creator>jm</dc:creator><description>&lt;p&gt;You do seem to have it right, but many websites and commenters mix up window scaling vs. Auto Tuning. &amp;nbsp;TCP window scaling is not new with Visa. &amp;nbsp;Older systems like Windows 98 support TCP window scaling. &amp;nbsp;TCP window scaling is enabled for any window size greater than 64kb. &amp;nbsp;On those old systems users can specify window sizes greater than 64kb, but the window size is fixed until a registry edit changes it. &amp;nbsp; What Vista introduced is Auto Tuning. &amp;nbsp;What that does is dynamically change the window size (the scale factor) on the fly to try and make each TCP connection as ideal as possible. &amp;nbsp;There can be an issue with older routers because the dynamic window size can get enormous and cause a problem. &amp;nbsp;Many websites suggest to disable Auto Tuning. &amp;nbsp;I don&amp;#39;t like that because disabling it fixes the TCP window (Rwin) to 16kb, which is not very good for broadband. &amp;nbsp;I like the HighlyRestricted option instead. &amp;nbsp;The window can grow, but is limited, but can get into where it&amp;#39;s better for broadband and doesn&amp;#39;t cause problems with older routers in my testing.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10259203" width="1" height="1"&gt;</description></item><item><title>re: Receive Window Auto-Tuning on Vista.</title><link>http://blogs.msdn.com/b/wndp/archive/2007/07/05/receive-window-auto-tuning-on-vista.aspx#9948428</link><pubDate>Thu, 14 Jan 2010 15:17:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9948428</guid><dc:creator>S H</dc:creator><description>&lt;P&gt;Seeing similar issues with Vista (with latest updates/S.Pack etc.) and using a Dlink DWA-547 Wireless N card to connect to a Dlink DWA-615 N-class router. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;The machine ticks away quite merrily on the web/using online apps etc. and streams media down over the air to a PS3 (physically connected to the router). &amp;nbsp;It can run fine for a while or start dropping out after 30 minutes or so, and the Wireless connection changes to "Local only" and the PS3 can't see the media server. &amp;nbsp;Also, Was streaming BBC I-Player traffic to the PS3 which kept pausing (on a 20MBps link) until the Vista machine dropped off the network, the PS3 advised it had lost connectivity to the Media server and all of a sudden it sprang into life. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;No errors at all (bar a browser re-election) in any of the event logs on the PC. &amp;nbsp;disconnecting and re-connecting to the network restored service. &amp;nbsp;The Event logs showed the reconnection and so did the Router. &amp;nbsp;no errors though shown as to what caused the drop off.&lt;/P&gt;
&lt;P&gt;I'll try disabling the auto-tuning to see if it makes a difference. &amp;nbsp;Is there a way to set this option to disabled permanently? &amp;nbsp;Also, would this option being enabled conflict with QoS settings (for media streaming/Online gaming traffic etc.) being set on the Router? &amp;nbsp;Currently I have those enabled.&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9948428" width="1" height="1"&gt;</description></item><item><title>re: Receive Window Auto-Tuning on Vista.</title><link>http://blogs.msdn.com/b/wndp/archive/2007/07/05/receive-window-auto-tuning-on-vista.aspx#9907409</link><pubDate>Thu, 15 Oct 2009 01:49:03 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9907409</guid><dc:creator>Mark</dc:creator><description>&lt;p&gt;I'm trying to RDP from a Vista x 64 machine into a Server running XP Pro 64.&lt;/p&gt;
&lt;p&gt;Its so slow (even locally) as to be unusable. It works fine from an XP machine and I can RDP from this Vista machine into other &amp;nbsp;XP machines without a problem.&lt;/p&gt;
&lt;p&gt;I tried the fixes mentioned here but it doesn't solve the problem. Please advise. &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9907409" width="1" height="1"&gt;</description></item><item><title>An existing connection was forcibly closed by the remote host</title><link>http://blogs.msdn.com/b/wndp/archive/2007/07/05/receive-window-auto-tuning-on-vista.aspx#9698968</link><pubDate>Thu, 04 Jun 2009 12:22:38 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9698968</guid><dc:creator>The Windows Directors' Cuts</dc:creator><description>&lt;p&gt;An existing connection was forcibly closed by the remote host&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9698968" width="1" height="1"&gt;</description></item><item><title>re: Receive Window Auto-Tuning on Vista.</title><link>http://blogs.msdn.com/b/wndp/archive/2007/07/05/receive-window-auto-tuning-on-vista.aspx#9484052</link><pubDate>Tue, 17 Mar 2009 19:43:47 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9484052</guid><dc:creator>R Sherwood</dc:creator><description>&lt;p&gt;So, is there a QoS policy that may be applied to set the autotuninglevel on Vista? Or is this only set through netsh? And, I believe the change to be persistent when set through netsh - is this the case?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9484052" width="1" height="1"&gt;</description></item><item><title>re: Receive Window Auto-Tuning on Vista.</title><link>http://blogs.msdn.com/b/wndp/archive/2007/07/05/receive-window-auto-tuning-on-vista.aspx#9132210</link><pubDate>Fri, 21 Nov 2008 22:51:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9132210</guid><dc:creator>Cecil Ward</dc:creator><description>&lt;p&gt;18 months on, there are still major router manufacturers who have yet to release fixes to their firmware to resolve window scaling issues.&lt;/p&gt;
&lt;p&gt;Microsoft could help its customers by (i) liaising with manufacturers to exert some gentle pressure, and (ii) also publicising those who do the right thing and reminding the rest of how they are missing out on the benefits of getting listed amongst the righteoud and acquiring a &amp;quot;logo&amp;quot;.&lt;/p&gt;
&lt;p&gt;Suggestion. What about a patch for vista that adds a new 'split' pair of two 'subnet-vs-global' autotuning parameters to control the behavior independently wrt subnet-local vs external ip addresses? That would allow users on a fast LAN to benefit without problems caused by routers or bad servers out on the internet.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9132210" width="1" height="1"&gt;</description></item><item><title>VISTA file transfer blues..</title><link>http://blogs.msdn.com/b/wndp/archive/2007/07/05/receive-window-auto-tuning-on-vista.aspx#8770278</link><pubDate>Fri, 25 Jul 2008 01:26:38 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8770278</guid><dc:creator>adamsalah</dc:creator><description>&lt;p&gt;So I decided to reorganize my laptop running VISTA ultimate. First things first, make room on the system...&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8770278" width="1" height="1"&gt;</description></item><item><title>re: Receive Window Auto-Tuning on Vista.</title><link>http://blogs.msdn.com/b/wndp/archive/2007/07/05/receive-window-auto-tuning-on-vista.aspx#8731336</link><pubDate>Mon, 14 Jul 2008 14:12:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8731336</guid><dc:creator>Mark Wall</dc:creator><description>&lt;p&gt;Whats the difference between &amp;quot;RWND Auto-Tuning&amp;quot; and &amp;quot;Window Scaling Option&amp;quot;(RFC 1323)?&lt;/p&gt;
&lt;p&gt;Does Auto-Tuning adjust the max. RWND (or the scaling factor) while the connection is already established?&lt;/p&gt;
&lt;p&gt;How does this work technically?&lt;/p&gt;
&lt;p&gt;Or does &amp;quot;Auto-Tuning&amp;quot; just mean that &amp;quot;Window Scaling Option&amp;quot; is used per-connection (while it is established) and not globally for all connections?&lt;/p&gt;
&lt;p&gt;Mark&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8731336" width="1" height="1"&gt;</description></item><item><title>re: Receive Window Auto-Tuning on Vista.</title><link>http://blogs.msdn.com/b/wndp/archive/2007/07/05/receive-window-auto-tuning-on-vista.aspx#8682434</link><pubDate>Thu, 03 Jul 2008 02:27:49 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8682434</guid><dc:creator>Michael L. Croswell</dc:creator><description>&lt;P&gt;Is there a netsh.dll so that this could be called programmatically (as opposed to using ShellExecute or CreateProcess)?&lt;/P&gt;
&lt;P&gt;Also, will this be fixed in Vista? &amp;nbsp;Wouldn't it make sense (!) if the OS had just set this to Restricted or Disabled by default. &amp;nbsp;Or perhaps, like DirectX, there would be a way to set it without going to a command-line program?&lt;/P&gt;
&lt;DIV class=commentowner&gt;We've done work in SP1 to lessen the impact for users with problematic network devices. We've heard general feedback about the lack of more programatic access to network settings and enjoy getting more information about specific scenarios that are intresting to our customers. I'd also like to point out one more type of control of the AutoTunning setting, Group Policy.&amp;nbsp;gpedit.msc -&amp;gt; Computer Configuration -&amp;gt; Windows Settings -&amp;gt; Policy Based QoS -&amp;gt; Right Click: Advanced Qos Settings -&amp;gt; Inbound TCP Traffic is a set of levels that map 0 -&amp;gt; diabled, 1 -&amp;gt; highlyrestricted, 2-&amp;gt;&amp;nbsp; restricted and 3 -&amp;gt; normal. This allows bulk deployment of the settings in a domain. 
&lt;P&gt;-- Ari &lt;/P&gt;&lt;/DIV&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8682434" width="1" height="1"&gt;</description></item><item><title>re: Receive Window Auto-Tuning on Vista.</title><link>http://blogs.msdn.com/b/wndp/archive/2007/07/05/receive-window-auto-tuning-on-vista.aspx#8670595</link><pubDate>Mon, 30 Jun 2008 10:22:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8670595</guid><dc:creator>Petter Nilsen</dc:creator><description>&lt;P&gt;It's interesting that IE 7+ seems to set "autotuninglevel=restricted" programmatically on Vista, as other browser vendors have been forced to do as well. &amp;nbsp;If there is a reliable way to only do this if required due to buggy routers, it would be useful to know about how.&lt;/P&gt;
&lt;DIV class=commentowner&gt;Well the mechanism is WSAIoctl SIO_SET_COMPATIBILITY_MODE with WsaBehaviorAutoTuning option. I believe Vista SP1 introduced some general mechanisms to reduce autotuning when it sees slow connections with small window sizes for sockets that do not set that option. Even with that, it's still a reactive test, the user still has to experience the bad network behavior before the stack can attempt to adapt to it.&lt;/DIV&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8670595" width="1" height="1"&gt;</description></item></channel></rss>