• November 04, 2024, 05:21:39 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: Windows 7, 8 and 10 Networking Performance Tweaks To Try  (Read 35681 times)

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 49923
  • D-Link Global Forum Moderator
    • Router Troubleshooting
Windows 7, 8 and 10 Networking Performance Tweaks To Try
« on: February 09, 2017, 09:41:01 AM »

Here are some tweaks that users can try that may help in troubleshooting some Windows network performance issues seen with these OSs and various networked devices:
https://answers.microsoft.com/en-us/windows/forum/windows_7-networking/very-slow-200kbsec-file-copy-between-win7-machines/b8736b1b-0a91-4567-ba33-215084ffc906

1. Running as Administrator in Command Prompt, type: "netsh int tcp set heuristics disabled"

2. Next, follow the instructions that Amrita wrote above.

                  First enter: "netsh int tcp set global autotuninglevel=disabled" and reboot.

                  Then enter: "netsh int tcp set global autotuninglevel=normal" to restore it to the typical setting.

3. Finally, go to Control Panel > Programs > Turn Windows Features on or off > and check "Simple TCPIP services (i.e. echo, daytime, etc.) so that it is enabled.

4. Reboot your system again, and the file transfer rates should be excellent.
Reference forum thread:
http://forums.dlink.com/index.php?topic=66011.msg277278#msg277278


Network Throttling Index
Applies to Windows 7, 8, 10, 2008 Server, and 2012 Server. Setting can be applied using the TCP Optimizer as well.

By default, Windows implements a network throttling mechanism to restrict the processing of non-multimedia network traffic to 10 packets per millisecond (a bit over 100 Mbits/second). The idea behind such throttling is that processing of network packets can be a resource-intensive task, and it may need to be throttled to give prioritized CPU access to multimedia programs. In some cases, such as Gigabit networks and some online games, for example, it is beneficial to turn off such throttling all together for achieving maximum throughput.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile
NetworkThrottlingIndex=ffffffff  (DWORD, default: 10, recommended: 10 for media sharing, ffffffff for gaming and max throughput, valid range: 1 through 70 decimal or ffffffff to completely disable throttling)

It is only recommended to change this setting in saturated Gigabit LAN environments, where you do not want to give priority to multimedia playback. Reportedly, disabling throttling can also help reduce ping spikes in some online games.
Reference: http://www.speedguide.net/articles/lan-tweaks-for-windows-7-8-10-5819


Tweak network adapter settings
Understanding and tweaking some of the network adapter advanced settings can make a noticeable difference in your connection quality, both in a good and in a bad way.
In general:
Turn on "Checksum offload"
Disable most other TCP "offloads", such as "Large Send Offload (LSO)"
Disable Flow Control
Disable Inter-frame spacing
Try increasing Receive/Send Buffers on fast connections (if available, Intel adapter drivers usually have it under adapter properties -> Advanced -> Performance Options, look for "Receive Buffers" and "Transmit Buffers", default is 256, you can try increasing up to 512 on systems with plenty of RAM to spare).
Reference: http://www.speedguide.net/articles/network-adapter-optimization-3449


Disable SMB2 on Windows 7 File Server with Windows XP Clients

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters
SMB2 = 0 (DWORD, default: not present assumes 1, recommended: 0 if using clients with older Windows variants)
SMB1 = 1 (DWORD, default: not present assumes 1-enabled, recommended: 1 - no need to add or change)

Under Windows 8/10/2012 Server, you can also disable SMB2/3 using PowerShell cmdlets:

Set-SmbServerConfiguration -EnableSMB2Protocol $false
References:  MS KB2696547

Windows 10 Anniversary updates to TCP Info:
http://www.speedguide.net/articles/windows-10-anniversary-updates-to-tcp-6266
« Last Edit: February 09, 2017, 10:08:16 AM by FurryNutz »
Logged
Cable: 1Gb/50Mb>NetGear CM1200>DIR-882>HP 24pt Gb Switch. COVR-1202/2202/3902,DIR-2660/80,3xDGL-4500s,DIR-LX1870,857,835,827,815,890L,880L,868L,836L,810L,685,657,3x655s,645,628,601,DNR-202L,DNS-345,DCS-933L,936L,960L and 8000LH.