Skip to content

mtk-bwmod v1.4

Choose a tag to compare

@Elvandito Elvandito released this 03 Jun 23:29
· 5 commits to main since this release
f93a680

🆕 What's New in v1.4

6 Linux Kernel Network Stack Optimizations

[14] tc qdisc → Fair Queue (fq)

  • Removes Android default qdisc, replaces with fq (BBR-optimized)
  • Per-flow pacing, eliminates head-of-line blocking
  • Performance: +15-25% sustained throughput on WiFi/LTE

[15] Hardware Offloading: GRO / GSO / TSO

  • Enables packet reassembly/segmentation offload to hardware
  • Applied via ethtool + sysfs on all interfaces
  • Performance: ↓ 20-30% CPU usage during high-bandwidth transfers

[16] XPS: Transmit Packet Steering

  • Maps TX queues to big-core CPU mask (same as RX)
  • Cache-hot path: both directions on same core
  • Performance: ↓ 10-20% latency, ↓ 30% packet loss during retransmits

[17] NAPI Budget Increase: 600 packets/cycle

  • netdev_budget: 300 → 600 (process more packets per interrupt)
  • backlog: 16384 → 32768 (larger hold buffer)
  • Performance: +20% stability, ↓ 50% packet loss during spikes

[18] schedutil CPU Tuning: up_rate_limit=0

  • Big cores respond in <10µs to network load (vs default 500µs)
  • NOT forcing performance governor (power-efficient)
  • Performance: ↓ 40% ping variance, ↓ 50% VoIP jitter, ~3-5% battery

[19] RPS Flow Table: 32768 entries

  • rps_sock_flow_entries increased for balanced multi-core RX
  • rps_flow_cnt=512 per queue
  • Performance: +30-50% multi-stream throughput (parallel downloads)

Bonus: 64MB NR Buffers

  • Upgraded from 32MB for sustained 5G speeds