Tuesday, April 26, 2011

Tuning network(TCP) in windows 7

  • To show the TCP global settings:
    netsh interface tcp show global
    Querying active state...

    TCP Global Parameters
    ----------------------------------------------
    Receive-Side Scaling State          : enabled
    Chimney Offload State               : automatic
    NetDMA State                        : enabled
    Direct Cache Acess (DCA)            : enabled
    Receive Window Auto-Tuning Level    : normal
    Add-On Congestion Control Provider  : ctcp
    ECN Capability                      : disabled
    RFC 1323 Timestamps                 : disabled
    ** The above autotuninglevel setting is the result of Windows Scaling heuristics

    overriding any local/policy configuration on at least one profile.
  • To enable CTCP:
    netsh interface tcp set global congestionprovider=ctcp
    To disabled CTCP:
    netsh interface tcp set global congestionprovider=none
  • Disable Green Ethernet in Realtek NIC driver advanced properties. 
  • Measure the hard disk (drive letter c) throughput in windows vista/7
    winsat disk -drive c
  • Reference: Windows 7, Vista, 2008 Tweaks