Solved

How TCP/IP Sliding Window is configured on Win7 hosts?

Posted on 2014-01-31
4
15,111 Views
Last Modified: 2014-02-07
How to set the TCP window size in Windows 7?  Environment Variables or Registry Entry? How to set adjust parameters (like TCP window size) in Windows 7 to improve network performance over LAN & WAN?
0
Comment
Question by:helpdesk_wlk
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 82

Expert Comment

by:David Johnson, CD, MVP
ID: 39825629
Windows Vista and newer use it by default .. They call it auto-tuning
0
 
LVL 6

Accepted Solution

by:
Sasha Kranjac earned 500 total points
ID: 39825672
TCP Window Size can be adjusted editing the Registry, and it works back from NT times, for all Operating Systems, not just for Windows 7. Well, it should work - I've tested it on NT 4, Windows Server 2003 and Windows 7. I'm pretty sure it would work on Windows Server 2012 R2 and Windows 8.1 too.

You can set TCP Window size either A) globally, for all interfaces or B) per interface.

A) Run Regedit and under following key

HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
add GlobalMaxTcpWindowSize REG-DWORD entry. Put any value between 0x0 and 0x3FFFFFFF.

B) Run Regedit and under following key:

HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\ interface-name
add TcpWindowSize REG-DWORD entry. Put any value between 0x0 and 0x3FFFFFFF.

A lot of factors affect transfer rate and each network should be fine tuned - there is no "recipe for all". Bit errors, round-trip time, network bandwidth, sender/receiver configuration and many other factors have impact on network performance.

To check TCP/IP stack configuration on Windows 7 type in command prompt:

netsh interface tcp show global
netsh interface tcp show heuristics
Take a look at the two lines:
Receive Window Auto-Tuning Level : normal. It means OS is using TCP/IP normal level of auto-tuning.
Windows Scaling Heuristics : enabled tells you auto-tuning is enabled.

Be very careful and calculate TCP window size to avoid network performance penalties.

Check these sites for more info: TCP thoughoutput calculator, Brad Hedlund's Blog and Neil Carpenter's Blog
2
 

Author Comment

by:helpdesk_wlk
ID: 39841033
Thank you for your answers.
0
 
LVL 6

Expert Comment

by:Sasha Kranjac
ID: 39841311
You're welcome!
0

Featured Post

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

INTRODUCTION The purpose of this document is to demonstrate the Installation and configuration of the Data Protection Manager product. Note that this demonstration was prepared on the basis of Windows OS is 2008 R2 and DPM 2010. DATA PROTECTI…
I'm a big fan of Windows' offline folder caching and have used it on my laptops for over a decade.  One thing I don't like about it, however, is how difficult Microsoft has made it for the cache to be moved out of the Windows folder.  Here's how to …
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
Suggested Courses

630 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question