Skip to content

Releases: Mylinde/linux-network-optimizer

Release v1.5.0 - Verified Performance Benchmarks

16 Feb 22:05

Choose a tag to compare

🚀 What's New in v1.5.0

Performance Benchmark Suite

  • 42% faster idle latency (verified)
  • 24% faster page loads (verified)
  • 11% better latency under load (verified)
  • ✅ Automated testing with netopt-test script

Real-World Validation

All performance claims are now backed by scientific A/B testing on WiFi/5G networks.

Try it yourself:

sudo ./Test/netopt-test wlan0

v1.4.0

15 Feb 10:03

Choose a tag to compare

v1.4.0 Pure nftables QoS + ShellCheck clean

Added: nftables DSCP marking (5 port sets, 15 rules)
Added: CAKE diffserv4 integration
Added: Strict mode (set -Eeu) + Concurrency protection (flock)
Improved: ShellCheck compliance (0 warnings, 0 errors)
Tested: 5M+ packets, zero issues

v1.1.0

12 Feb 23:12
30290ff

Choose a tag to compare

Changelog

[1.1.0] - 2026-02-12

Added

  • Strict Mode: set -Eeu for bulletproof error handling (without pipefail)

  • Concurrency Lock: Per-interface flock-based protection against race conditions

  • Intelligent Congestion Control Selection

    • Automatically selects optimal TCP CC algorithm based on interface type
    • BBR (v3 on XanMod, v1 on vanilla) for wired/WiFi
    • Cubic for mobile/VPN (better packet loss handling)
    • RTT-based decision for unknown interfaces
    • Graceful fallback chain: BBR → Cubic → Reno
  • Kernel-Aware ECN Configuration

    • Preserves XanMod's optimized ECN=2 default for stable networks
    • Automatically enables ECN on vanilla kernels (0→1)
    • Conservative override to ECN=1 for mobile/VPN interfaces
    • Reduces retransmits by 60-80% and latency spikes by 30-50%

Changed

  • Improved variable declaration style (bash best practices)
  • Updated documentation with BBRv3 information

v1.0.0 - Initial Stable Release

11 Feb 22:38

Choose a tag to compare

Changelog

1.0.0 - 2026-02-11

Added

  • TCP Fast Open: Optimized initcwnd and initrwnd for faster connection establishment
    • Ethernet/Wired: initcwnd=40, initrwnd=60
    • WiFi/Mobile: initcwnd=30, initrwnd=40
    • VPN/Tunnel: initcwnd=20, initrwnd=30
    • Unknown interfaces: RTT-adaptive with initcwnd=10, initrwnd=10
  • BBR Congestion Control: Google's BBR algorithm for improved throughput and latency
  • CAKE QDisc: Advanced queue management for reduced bufferbloat
  • Smart Routing: Static routes with DHCP fallback (metric-based priority)
    • Static routes with metric 500 (higher priority)
    • DHCP fallback routes with metric 600 (lower priority)
  • Dual-Stack Support: Full IPv4 & IPv6 optimization with automatic gateway validation
    • IPv6 gateway validation for link-local and global unicast addresses
    • Automatic source address selection for IPv6
  • RAM-Adaptive Buffers: TCP buffers automatically scale with available memory
    • Ethernet: 0.25% of RAM, 8-128MB
    • WiFi: 0.2% of RAM, 4-64MB
    • Mobile: 0.15% of RAM, 2-32MB
    • VPN: 0.15% of RAM, 4-32MB
    • Unknown (RTT-based): Adaptive 0.1-0.25% of RAM, 2-128MB
  • Auto-Recovery: Survives DHCP renewals and network changes
  • Interface-Adaptive Settings: TCP parameters automatically adjust based on connection type
    • Adaptive tcp_fin_timeout (3s wired, 5s wireless, 10s VPN, RTT-based for unknown)
  • Efficient RTT Measurement:
    • Primary method: ss -tmi on established connections (~5ms)
    • Fallback method: ping to gateway (only if no connections exist)
  • Advanced Latency Optimizations:
    • tcp_adv_win_scale=-2 for overhead protection
    • tcp_collapse_max_bytes=6291456 for better latency handling
    • Optimized for Cloudflare-patched kernels (XanMod, Liquorix, CachyOS)
  • Comprehensive Documentation:
    • Detailed README with installation, verification, and troubleshooting guides
    • Compatibility list for major Linux distributions
  • Automated Installation:
    • install.sh script with dependency checks
    • Checks for bc, NetworkManager, and CAKE qdisc support
  • MIT License: Open source license included

Technical Details

  • NetworkManager dispatcher integration at /etc/NetworkManager/dispatcher.d/99-netopt
  • Triggers on up, dhcp4-change, and dhcp6-change events
  • Interface type detection via NetworkManager device type
  • Dual-route system for automatic failover protection
  • Performance improvements: 30-50% faster connection establishment for small transfers

Compatibility

  • Ubuntu 20.04+, 22.04, 24.04
  • Debian 11+, 12
  • Fedora 33+
  • Arch Linux
  • Pop!_OS
  • Linux Mint
  • Requires Linux kernel 4.19+ for CAKE qdisc support