You are on page 1of 5

https://support.microsoft.

com/en-us/kb/2472264
netsh int tcp show global
netsh interface tcp set global autotuning=disabled
To clear DNS cache, open command prompt as administrator and type:
ipconfig /flushdns
With a Windows 2008 R2 server you will need to register DNS if you are using Dyn
amic DNS and run
ipconfig /registerdns

Speed up Windows 7 and 2008 R2 Network


Slow network is a pain in this high speed Internet and local area networks we ha
ve and with Windows 7, Vista and Windows 2008 R2 having a slow network is a big
issue. Slow networks can cause issues with accessing shares, accessing and tran
sferring data, DNS name resolutions and of course Internet downloads and uploads
.
Here are a few items that can be tweaked to aid in reducing some of the slowness
with the network on Windows.
Remove RDC ( Remote Differential Compression)
This feature introduced with Windows Vista to transfer data over network in comp
ressed format. RDC can slow down network data transfer in windows. You can remov
e this RDC (Remote Differential Compression) in windows 7 by removing the featur
e in control panel. Windows 2008 R2 systems do not have RDC turned on, so there
is nothing to do here, but if you want it, it can be added by adding the feature
in Server Manager.
Open Control Panel click on Programs and Features. Click on Turn Windows features
on or off , and un-check Remote Differential Compression and click OK.
Disable Autotuning
Disabling autotuning will help much on DNS lookup and network discovery. It impr
oves the data transfer speed also over the network.
Start command prompt as administrator, lets first see what the global settings.
Type:
netsh interface tcp show global
We see that Receive Window Auto-Tuning Level is set to normal. Now we need to se
t it to disabled. Type:
netsh interface tcp set global autotuning=disabled
We will get an OK returned and now rerun show global and we see it is disabled.

Remove IPv6 from network properties


Here in the US most networks have not adopted IPV6. For your home network you ar
e probably not using it and possibly not business networks. Keeping IPv6 in your
computer sometimes slows down network by trying to register IPv6 addresses, or
trying to get IPv6 address, or trying to resolve IPv6. This is turned on by defa
ult in Windows 7 and Windows 2008 R2.
Open Control Panel and click on Network and Share Center and click on change ada
pter settings. Right click on Local Area Connection and select Properties. For W
ireless right click on Wireless Network Connection and select properties.
Un-check Internet Protocol Version 6 (TCP/IPV6) and click ok.
Clear DNS Cache
Clearing the DNS cache is good to do periodically to clear any old and broken re
cords from your computer. This will allow new queries to come from the DNS serve
r as you make them.
To clear DNS cache, open command prompt as administrator and type:
ipconfig /flushdns
With a Windows 2008 R2 server you will need to register DNS if you are using Dyn
amic DNS and run
ipconfig /registerdns
Hope a few of these quick tips will speed some of you network slowness up.
Related Posts
Reserved Ports on Windows 2008 R2
Installing .NET 1.1 on Windows 2008 R2
Using Computer Startup Scripts to Map Drives in Windows 2008 R2
Install Tomcat 7 on Windows 7
Find a process using a port on Windows
How To Disable TCP Chimney Offload, RSS and NetDMA in Windows 2008 R2
How To Setup a DDNS enabled Router Through Double NAT
FBackup 4 a free backup for Windows
Leave a Reply
Your email address will not be published. Required fields are marked *
Name *
Email *
Website
Comment
You may use these HTML tags and attributes: <a href="" title=""> <abbr title="">
<acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em
> <i> <q cite=""> <strike> <strong>
Notify me of follow-up comments by email.

Notify me of new posts by email.


search search search search
Life of a Geek Admin
Passing Daisies
top
Tags
2008 R2 Alfresco Android apache audio backup batch blu-ray CentOS collections De
ll Fedora genealogy GIMP Internet Streaming Inventory IPV6 iTunes LibreOffice Li
nux Mac monitoring multimedia MySQL nagios Netflix networking Nvidia ocs OSX php
plex media server Powershell RedHat RHEL scanning Ubuntu vbscript video virtual
virtualbox vmware web Windows wordpress
Blogroll
Cincinnati Linux Users Group
Newlife Computer Consulting
Passing Daisies
Powered by WordPress | Designed by Elegant Themes

-------------------------------------------------------------------------------------------------netsh int tcp set global rss=disabled

netsh int tcp set global rss=enabled


--Global Settings
-- 1. Receive Side Scaling (RSS)
netsh int tcp set global rss=enabled
-- 2. TCP Chimney Offload
netsh int tcp set global chimney=disabled
---3. TCP Receive Windows Auto-Tuning Level
netsh int tcp set global autotuninglevel=disabled
-- 4. Add-On Congestion Control Provider
netsh int tcp set global congestionprovider=ctcp
-- 5. ECN Capability
netsh int tcp set global ecncapability=disabled
-- 6. Direct Cache Access (DCA)
netsh int tcp set global dca=disable
---netsh int tcp set global timestamps=Disabled

--------------------------------------------------------------------netsh
netsh
netsh
netsh
netsh
netsh

int
int
int
int
int
int

tcp set global chimney=Enabled


tcp set global autotuninglevel=normal
tcp set global congestionprovider=ctcp
tcp set global ecncapability=Enabled
ip set global taskoffload=Enabled
tcp set global timestamps=Enabled

---------------------------------------------------------------------

netsh
netsh
netsh
netsh
netsh
netsh

int
int
int
int
int
int

tcp set global chimney=Disabled


tcp set global autotuninglevel=Disabled
tcp set global congestionprovider=None
tcp set global ecncapability=Disabled
ip set global taskoffload=disabled
tcp set global timestamps=Disabled

To validate type:
netsh int tcp show global

Windows 2008 R2
Reduce the TIME_WAIT by setting the TcpTimedWaitDelay TCP/IP parameter to 30 sec
onds on the windows registry key HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Pa
rameters, as a DWORD value.
Increase the range of ephemeral ports by setting the dynamicportrange to an high
er value through the command netsh int ipv4 set dynamicportrange tcp start=32767
num=32768, this will set the port range from 32768 to 65535.
netsh int ipv4 set dynamicportrange tcp start=32767 num=65534

WINDOWS SERVER 2008 R2 PARAMETERS


The following should be set in the Windows registry on the SQL Server
machine and all server pool machines connecting to it:
Parameter: TcpTimedWaitDelay
Value:
0x1E (30s)
Location/Command/Purpose:
HKLM\System\CurrentControlSet\Services\Tcpip\Parameters\(REG_DWORD)
(Default value is 0xF0, which sets the wait time to
240 seconds. This will effectively hold the connection hostage
for 4 minutes increasing the number of connections in use.)
Parameter: maxuserport
Value:
0x0000ffff (65535)

Location/Command/Purpose:
HKLM\System\CurrentControlSet\Services\Tcpip\Parameters\(REG_DWORD)
(This is especially important on the web tier as each
user requires a separate ephemeral IP port.)
The following should be set in a Windows command shell with administrative
priviledges:
Parameter: Receive-Side Scaling State
Value:
disabled
Location/Command/Purpose:
netsh int tcp set global rss=disabled
Parameter: Chimney Offload State
Value:
disabled
Location/Command/Purpose:
netsh int tcp set global chimney=disabled
Parameter: NetDMA State
Value:
disabled
Location/Command/Purpose:
netsh int tcp set global netdma=disabled
Parameter: Direct Cache Acess (DCA)
Value:
disabled
Location/Command/Purpose:
netsh int tcp set global dca=disabled
Parameter: Receive Window Auto-Tuning Level
Value:
normal
Location/Command/Purpose:
netsh int tcp set global autotuninglevel=normal
Parameter: Add-On Congestion Control Provider
Value:
ctpc
Location/Command/Purpose:
netsh int tcp set global congestionprovider=ctcp
Parameter: ECN Capability
Value:
disabled
Location/Command/Purpose:
netsh int tcp set global ecncapability=disabled
Parameter: RFC 1323 Timestamps
Value:
disabled
Location/Command/Purpose:
netsh int tcp set global timestamps=disabled

You might also like