Skip to content

Latest commit

 

History

History
131 lines (96 loc) · 6.3 KB

Readme.md

File metadata and controls

131 lines (96 loc) · 6.3 KB

Intel Adapter 'Recommended' Network Adapter Settings

Keep in mind that some drivers might have different settings/options! After talking with NordVPN I figured out with them that some settings might directly have a negative effect on Down-/Upload speed. Ensure you test each settings one by one. In this case try to disable all "offloading" params.

Optimized for quick response and low latency (Gaming):

  • Disable Interrupt Moderation Rate (if not possible decrease the size)
  • Disable Offload TCP Segmentation
  • Increase Transmit Descriptors
  • Increase Receive Descriptors
  • Increase RSS Queues

Optimized for throughput (e.g. Servers):

  • Enable Jumbo Frames
  • Increase Transmit Descriptors
  • Increase Receive Descriptors

For low CPU utilization:

  • Maximize Interrupt Moderation Rate
  • Keep Receive Descriptors at default
  • Avoid setting large Receive Descriptors
  • Decrease RSS Queues
  • Decrease the Max number of RSS CPUs in Hyper-V environments

Optional disable/change the following in your Network Adapter

  • Disable Adaptive Inter-Frame Spacing
  • Disable Flow Control
  • Disable Interrupt Moderation
  • Set Interrupt Moderation Rate to OFF (not needed if you disable Interrupt Moderation)
  • Set Enable PME to Disabled
  • Disable all “Offload” features
  • Disable Packet Priority & VLAN
  • Disable Jumbo Packet
  • Set Receive Side Scaling (RSS) - ENABLED
  • RSS Balancing Mode - NUMAScaling
  • Don't touch Speed & Duplex, leave it on Auto Negotiation

tweaks via CMD/PowerShell

netsh interface teredo set state disabled
netsh interface 6to4 set state disabled
netsh winsock reset
netsh interface isatap set state disable
netsh int tcp set global timestamps=disabled
netsh int tcp set heuristics disabled
netsh int tcp set global autotuninglevel=disable
netsh int tcp set global congestionprovider=ctcp
netsh int tcp set supplemental Internet congestionprovider=CTCP
netsh int tcp set global chimney=disabled
netsh int tcp set global ecncapability=disabled
netsh int tcp set global rss=enabled
netsh int tcp set global rsc=disabled
netsh int tcp set global dca=enabled
netsh int tcp set global netdma=enabled
PowerShell Disable-NetAdapterChecksumOffload -Name "*"
PowerShell Disable-NetAdapterLso -Name "*"
PowerShell Disable-NetAdapterRsc -Name "*"
PowerShell Disable-NetAdapterIPsecOffload -Name "*"
PowerShell Disable-NetAdapterPowerManagement -Name "*"
PowerShell Disable-NetAdapterQos -Name "*"

Enable or disable QoS?

It depends on how you set up your QoS/WMM. QoS is useful in scenarios where your network experiences peak or near-peak loads on a routine basis. If the network is not under significant load, QoS rules will not be applied, the same goes if your router is not configured to use QoS or the firmware doesn't includes it.

For example, if you live alone, don't play online games, don't use VOIP, don't use video streaming services (Netflix/Amazon/Hulu/Twitch.tv & YouTube), or don't use P2P file sharing - QoS is not going to be all that beneficial to you.

  • Check if you're ISP offers a QoS package to residential connections (most do)
  • Check your Router QoS settings
  • Check your OS QoS options

In general I recommend to leave it enabled. If there some problems check your configuration instead, I did some benchmarks and I never found any impact (because my router isn't configured to use it). It's right that Windows reserves some bandwidth but that doesn't matter because your router might ignore the flags.

Optional network tweaks


Disable "Inbound Layer 7" in your router.

Layer 7 filtering or shaping is identifying traffic at layer 7 (Application Layer) of the OSI model. Instead of shaping/filtering based on the port and source/destination, you are identifying a stream based on its contents. This is also sometimes called deep packet inspection since it works by looking into the contents of the packets not just the headers. If you're concerned about performance: IPP2P and especially L7 are slower than simple IP, MAC or port matches. L7 can't cope well with encrypted P2P traffic in background while gaming.

  • Enable SYN cookies
  • Disable IPv6 tunnel adapter & interfaces
  • Disable all ISATAP, 6to4 and Teredo Tunneling interfaces
  • Ensure Windows Defender Core Isolation stays disabled (default) it can causes 'lags' with several older games
  • Disable the Timeline function, it eats HDD space in order to collect your history or if you use it, ensure e.g. CCleaner cleans it -> bigger file means longer loading times.
netsh interface teredo set state disable
netsh interface 6to4 set state disable disable
netsh interface isatap set state disable
REG ADD "HKLM\SYSTEM\CurrentControlSet\services\TCPIP6\Parameters" /v "EnableICSIPv6" /t REG_DWORD /d 0 /f
REG ADD "HKLM\SYSTEM\CurrentControlSet\services\TCPIP6\Parameters" /v "DisabledComponents" /t REG_DWORD /d 255 /f

Keep in mind that every modern Router firmware has an option to block or at least filter Teredo traffic, same like NetBios which means you don't need to 'disable' everything blindly because nothing can pass the router anyway!

Reducing the Network latency

There is also another network tweak which aims to reduce the network latency, however this tweak is controversial because modern network cards/adapters already handlining it very well.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile]
"NetworkThrottlingIndex"=dword:ffffffff

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile\Tasks\Games]
"Scheduling Category"="High"
"SFIO Priority"="High"
"Background Only"="False"
"Priority"=dword:00000001
"Clock Rate"=dword:00002710
"GPU Priority"=dword:00000001
"Affinity"=dword:00000000

Multimedia streaming and some other games that uses Multimedia Class Scheduler service (MMCSS) can only utilize up to 80% of your CPU. MMCSS ensures prioritized access to CPU resources, without denying CPU resources to lower-priority background applications.

It should be mentioned that some games itself already handling it differently and you better test yourself if you see any better network response - aka do a backup and test it