Dev.to
8/5/2026

The original title is "Linxr | Part 8 — Fixing Network Latency & SLIRP Terminal Slowness"
Original: Linxr | Part 8 — Fixing Network Latency & SLIRP Terminal Slowness
Short summary
Linxr Part 8 details how network latency in QEMU SLIRP user-mode networking on Android was reduced from 250ms to under 15ms. The root cause was Nagle's algorithm coalescing single-byte SSH keystroke packets. Fixing it required TCP_NODELAY on local port forwards and tuning virtio-net MTU with checksum offloading disabled.
- •SSH keystrokes buffered 100-300ms due to Nagle's algorithm in SLIRP
- •TCP_NODELAY on port forwards plus virtio-net MTU tuning fixed latency
- •Keystroke response dropped from 250ms to under 15ms
Generated with AI, which can make mistakes.
Is this a good recommendation for you?



