A comprehensive network optimization suite that reduces latency, optimizes routing, and monitors network performance. Think of it as a DIY ExitLag alternative!
- DNS Optimization - Automatically finds and switches to the fastest DNS servers
- TCP/IP Optimization - Tunes network stack for lower latency
- Bandwidth Monitoring - Real-time monitoring of network usage
- Latency Testing - Continuous ping monitoring with statistics
- Network Statistics - Detailed information about your connection
- Process Monitoring - Identifies bandwidth-hungry applications
- Multi-platform Support - Works on Windows, Linux, and macOS
- Optimizes DNS routing - Connects you to faster DNS servers (5-50ms improvement)
- Reduces TCP overhead - Disables Nagle's algorithm and optimizes TCP windows
- Identifies bottlenecks - Shows which apps are consuming bandwidth
- Monitors connection quality - Tracks packet loss and latency spikes
- System-level optimizations - Registry and sysctl tweaks for gaming
โ Cannot increase your ISP bandwidth beyond your plan โ Cannot reduce physical distance latency (speed of light limit) โ Cannot create VPN-style proxy routes (use actual VPN/ExitLag for that) โ Cannot perform miracles - your base connection still matters
For Python version:
pip install psutilFor C++ version:
- Windows: Visual Studio with C++ tools or MinGW
- Linux: g++ compiler
- macOS: Xcode command line tools
# Clone or download the files
cd network-optimizer-pro
# Install Python dependencies
pip install -r requirements.txt
# Make scripts executable (Linux/Mac)
chmod +x network_optimizer.pypython network_optimizer.py# Run with admin/sudo for full functionality
sudo python network_optimizer.py --optimizepython network_optimizer.py --dns # Test DNS servers only
python network_optimizer.py --monitor # Monitor bandwidth
python network_optimizer.py --stats # Show network stats# Windows (MinGW)
g++ -o network_monitor.exe network_monitor.cpp -lws2_32 -liphlpapi -std=c++11
# Linux
g++ -o network_monitor network_monitor.cpp -std=c++11 -pthread
# macOS
g++ -o network_monitor network_monitor.cpp -std=c++11./network_monitor # Interactive menu
./network_monitor --dns # Test DNS servers
./network_monitor --monitor 8.8.8.8 # Monitor specific host- Right-click
windows_optimize.bat - Select "Run as Administrator"
- Wait for completion
- Restart computer
- Right-click
windows_advanced_optimize.bat - Select "Run as Administrator"
- Creates automatic backup
- MUST RESTART after completion
Tests multiple DNS providers and switches to the fastest:
- Cloudflare (1.1.1.1)
- Google (8.8.8.8)
- Quad9 (9.9.9.9)
- OpenDNS (208.67.222.222)
- AdGuard (94.140.14.14)
Expected improvement: 5-50ms faster DNS resolution
Windows:
- Enables TCP window scaling
- Disables Nagle's algorithm
- Enables RSS (Receive Side Scaling)
- Sets CTCP congestion provider
- Optimizes auto-tuning level
Linux:
- Enables TCP Fast Open
- Sets BBR congestion control
- Increases network buffers
- Enables SACK and timestamps
Expected improvement: 10-30ms lower latency, reduced jitter
Real-time Bandwidth Monitor:
- Shows upload/download speeds per second
- Identifies bandwidth spikes
- Tracks network interface statistics
Latency Monitor (C++):
- Continuous ping monitoring
- Min/Max/Average latency tracking
- Packet loss percentage
- High-resolution timing
Process Monitor:
- Lists top bandwidth consumers
- Shows connection counts per application
- Helps identify background downloads
The advanced script optimizes:
- Network adapter IRQ priority
- System responsiveness
- Gaming task priorities
- TCP window sizes
- DNS cache settings
- Network throttling
Most optimizations require elevated privileges:
- Windows: Run as Administrator
- Linux: Use
sudo - macOS: Use
sudo
After running optimizations, restart your computer for full effect.
Windows advanced script automatically creates registry backup on Desktop.
- Windows: 10/11 (7/8 may work)
- Linux: Most distributions with systemd
- macOS: 10.14+
All optimizations are safe and reversible:
- Python script: Changes can be reverted
- Batch scripts: Registry backup created
- No permanent hardware changes
- DNS resolution: 20-50ms faster
- Gaming latency: 10-30ms improvement
- Connection stability: Reduced jitter
- Better routing through optimized TCP
Your results depend on:
- Base connection quality - Fiber > Cable > DSL
- ISP routing - Some ISPs have better routes
- Geographic location - Closer to servers = lower latency
- Network congestion - Peak hours affect everyone
- Game server location - Physical distance matters most
- Your ISP's bandwidth cap
- Physical distance to game servers
- ISP's peering agreements
- Network infrastructure quality
- Reduces input lag in online games
- Stabilizes connection during gameplay
- Identifies background apps affecting performance
- Optimizes for competitive gaming
- Reduces buffering through better DNS
- Optimizes upload for streamers
- Monitors bandwidth usage
- Faster web browsing
- More stable video calls
- Better file download speeds
- Network troubleshooting
Run with administrator/sudo privileges
Install requirements: pip install psutil
- Windows: Use
ipconfig /flushdns - Restart network adapter
- Reboot computer
Some factors are outside software control:
- Physical connection quality
- ISP limitations
- Server-side issues
- Network infrastructure
Windows Quick Reset:
netsh int ip reset
netsh winsock reset
ipconfig /flushdnsLinux:
Edit /etc/resolv.conf to restore original DNS
Registry (if backup exists):
Double-click the backup .reg file on Desktop
Found a bug? Have an optimization technique? Contributions welcome!
Free to use for personal and commercial purposes.
For Gamers (Windows):
- Download
windows_optimize.bat - Right-click โ Run as Administrator
- Restart computer
- Launch game and enjoy lower latency!
For Power Users:
- Install Python and psutil
- Run
python network_optimizer.py - Choose option 1 (Full Optimization)
- Restart computer
For Developers:
- Compile C++ version for maximum performance
- Integrate into your monitoring tools
- Customize for specific use cases
If you encounter issues:
- Check your admin/sudo privileges
- Verify Python/C++ installation
- Review error messages carefully
- Try Windows batch scripts for simplest approach
Unlike ExitLag which provides VPN routing with optimized paths to game servers, this toolkit optimizes your LOCAL network configuration:
- DNS Optimization: Reduces initial connection time
- TCP Tuning: Reduces per-packet overhead
- QoS Settings: Prioritizes gaming traffic locally
- Monitoring: Identifies and removes bottlenecks
Think of it as tuning your car's engine (local optimizations) vs changing the route you drive (VPN routing). Both help, but work differently!
Made for gamers, by gamers. Game on! ๐ฎ