Windows 7 & Server 2008 r2 network settings (vista and 2008 also)

I have a need to refer back to the TCP tuning settings introduced recently by Microsoft, so I decided to put all of this in one place so that I can find them easier in the future.

To see the status of these settings, use: netsh int tcp show global

image

To enable receive side scaling: netsh int tcp set global rss=enabled

To enable chimney offload state: netsh int tcp set global chimney=enabled

To enable direct cache access (dca): netsh int tcp set global dca=enabled 

To change the auto-tuning level: netsh int tcp set global autotuninglevel=normal

To change the congestion provider: netsh int tcp set global congestionprovider=ctcp

To change the ECN capability: netsh int tcp set global ecncapability=enabled

To change the timestamps: netsh int tcp set global timestamps=enabled

To change the setting for NetDMA:

To enable or disable NetDMA, follow these steps:

  1. Click Start, click Run, type regedit, and then click OK.
  2. Locate the following registry subkey, and then click it::  HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesTcpipParameters
  3. Double-click the EnableTCPA registry entry.  Note If this registry entry does not exist, right-click Parameters, point to New, click DWORD Value, type EnableTCPA, and then press ENTER.
  4. To enable NetDMA, type 1 in the Value data box, and then click OK.
  5. To disable NetDMA, type 0 in the Value data box, and then click OK.
  6. If the EnableTCPA registry entry does not exist, enable the NetDMA functionality.

If you want to see the MTU applied to the connection: netsh interface ipv4 show subinterface

If you want to change the MTU: netsh interface ipv4 set subinterface "connection_name" mtu=9000 store=persistent

Leave a Reply

Your email address will not be published. Required fields are marked *