Skip to content
Documentation / Optimizations / Network Optimization

Network Optimization

Reduce network latency for online gaming by optimizing TCP/IP settings, disabling throttling, and configuring receive side scaling for multi-core packet processing.

Optimization Overview

Network optimization focuses on reducing latency (ping) rather than increasing bandwidth. These tweaks optimize how Windows handles network packets, prioritizes gaming traffic, and processes network data across multiple CPU cores.

Metric Value
Expected FPS Impact +0 FPS (indirect via CPU reduction)
Expected Latency Reduction 8-15ms average, up to 30ms in best case
Restart Required No (adapter reset only)
Reversible Yes (one-click revert)
Risk Level Low (may need revert on some adapters)
Best For
Online competitive gaming where every millisecond of latency matters. Particularly effective for games like Valorant, CS2, Fortnite, Apex Legends, and other fast-paced online titles.

What Gets Modified

Network optimization modifies TCP/IP stack settings and network adapter configurations through the Windows registry.

TCP/IP Stack Tweaks

TCP Timed Wait Delay

Registry Key: HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\TcpTimedWaitDelay

Default Value: 120 seconds
Optimized Value: 30 seconds

Effect: Reduces time TCP ports stay in TIME_WAIT state, allowing faster port cycling for game servers

Max User Ports

Registry Key: HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\MaxUserPort

Default Value: 5,000 ports
Optimized Value: 65,534 ports

Effect: Expands available ephemeral port range for simultaneous connections

Network Throttling Index

Registry Key: HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile\NetworkThrottlingIndex

Default Value: 10 (throttling enabled)
Optimized Value: 0xFFFFFFFF (disabled)

Effect: Disables Windows network throttling to prioritize gaming traffic over background tasks

Network Adapter Settings

These settings are applied to all active network adapters:

Setting Modification Impact
TCP/IP Power Saving Disabled Prevents adapter from entering low-power states that increase latency
Receive Side Scaling (RSS) Enabled + configured for multi-core Distributes network packet processing across multiple CPU cores
Interrupt Moderation Optimized (adaptive) Reduces CPU overhead while maintaining low latency
Flow Control Disabled Eliminates flow control frame overhead for lower latency
Learn More: What is Receive Side Scaling?

Receive Side Scaling (RSS) is a Windows feature that distributes network packet processing workload across multiple CPU cores:

  • Without RSS: All network packets are processed on a single CPU core, creating a bottleneck at high speeds
  • With RSS: Packets are hashed and distributed across all available cores for parallel processing

Gaming benefit: In online games, RSS reduces CPU bottlenecks when processing game traffic, voice chat, and streaming simultaneously. This frees up CPU resources for game logic and rendering.

Requirement: Multi-core processor (4+ cores recommended) and RSS-capable network adapter (most modern adapters support this).

How to Apply

Follow these steps to apply network optimization to your system.

  1. Test Current Latency

    Before applying, ping your game server or use an in-game latency meter to record your baseline ping. This allows you to measure improvement.

  2. Navigate to Optimizations

    Open Frameshift and go to the Optimizations tab. Locate the "Network Optimization" section.

  3. Review Changes

    Click "Details" to expand and review exactly what registry keys will be modified. Read through to understand the changes.

  4. Apply Optimization

    Click "Apply" button. Frameshift will modify registry settings and reset your network adapter. This takes 5-10 seconds. Your internet connection will briefly disconnect and reconnect.

  5. Test Improvement

    Ping your game server again or launch your game. Most users see 8-15ms latency reduction immediately. No restart required for network optimization.

Brief Connectivity Loss
When applying network optimization, your network adapter will reset, causing 5-10 seconds of connection loss. Save any online work before applying. Your internet will automatically reconnect.
Reverting Optimizations
To revert network optimization, click the "Revert" button in the Network Optimization section. Frameshift automatically creates a system restore point before applying each optimization category, so you can also use Windows System Restore if needed.

Expected Results

Here's what you can expect after applying network optimization:

Latency Improvements by Connection Type

Connection Type Average Improvement Best Case
Fiber / Cable (Wired) 10-15ms reduction 25-30ms reduction
DSL / Satellite (Wired) 5-10ms reduction 15-20ms reduction
WiFi (5GHz) 8-12ms reduction 20-25ms reduction
WiFi (2.4GHz) 5-8ms reduction 15-18ms reduction

Real-World Gaming Impact

Before Optimization

  • Ping to game server: 45ms
  • Occasional micro-stutters
  • Slight input delay
  • Peeker's disadvantage

After Optimization

  • Ping to game server: 30-35ms
  • Smoother gameplay
  • Reduced input delay
  • More responsive movement

Troubleshooting

Most users experience no issues with network optimization, but here's how to resolve problems if they occur.

Internet Connection Drops After Applying

Symptom: Internet doesn't reconnect after adapter reset, or connection is unstable.

Solution:

  1. Click "Revert" button in Network Optimization section
  2. If revert doesn't work, manually restart your router
  3. As a last resort, go to Device Manager → Network Adapters → right-click your adapter → "Uninstall device" → Restart PC

Slower Speed After Optimization

Symptom: Download/upload speeds are lower than before (measured via speedtest).

Solution: Revert network optimization. Some ISPs or routers don't work well with aggressive TCP/IP tuning. Your speed may be slightly lower, but this is rare (affects less than 1% of users).

Specific Application Connectivity Issues

Symptom: Certain applications (VPN, P2P apps) have connection problems after optimization.

Solution: These apps sometimes rely on specific TCP timeout behaviors. You can either:

  • Revert network optimization while using those apps
  • Configure those apps to use different port ranges
  • Keep optimization applied (most apps work fine)
Compatibility Note
Network optimization works with 99%+ of network adapters and ISPs. However, some corporate VPNs or highly customized network setups may not be compatible. If you experience issues, simply revert the optimization.

Measuring Latency Reduction

Use these methods to quantify your latency improvement:

Method 1: In-Game Ping

  1. Launch your game and note your ping in the scoreboard or settings menu
  2. Exit game and apply network optimization
  3. Launch game again and compare ping to previous value

Method 2: Command Line Ping Test

  1. Open Command Prompt
  2. Ping a game server: ping -n 20 [game-server-ip]
  3. Note the average ping time
  4. Apply network optimization
  5. Run the ping command again and compare average

Method 3: Traceroute Analysis

  1. Before optimization, run: tracert [game-server-ip]
  2. Note the total time and hops
  3. Apply network optimization
  4. Run tracert again - you should see reduced time especially on final hops
Advanced: Manual Registry Edits

If you need to manually apply or modify these settings, here are the exact registry locations:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
"TcpTimedWaitDelay"=dword:0000001e (30 seconds)
"MaxUserPort"=dword:0000fffe (65534)

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

Important: Backup your registry before manual edits. Incorrect registry changes can cause system instability. Using Frameshift's built-in apply/revert system is safer and automatically handles backups.

Pro Tip
Combine network optimization with CPU and System optimizations for maximum latency reduction. The three categories work together to minimize input lag and network processing overhead.