Kars CS Notes

Engineering notes on Linux networking, storage engines, and distributed systems.

Tracing Spurious TCP Retransmissions with eBPF

Published 2026-11-21 · Observability

Lightweight kprobe scripts for isolating packet reordering from true congestion drops in production.

Standard netstat counters lump fast retransmits, TLP probes, and RTO timeouts together. Attaching a tiny bpftrace probe to tcp_retransmit_skb with flow tuples and srtt_us immediately separates middlebox drops from local NIC ring-buffer overruns.

← Back to Home