Interview Prep/Networking/Performance, MTU, Latency & Tools

How do you spot TCP retransmissions and what do they tell you?

IntermediateScenarioPerformance, MTU, Latency & Tools
Answer

Situation read → Retransmits show packet loss or congestion.

What I'd do →

  1. Per host counters: nstat -az TcpRetransSegs or netstat -s | grep -i retrans
  2. Per connection: ss -ti dst 10.0.1.20 and read retrans: and rtt:
  3. In Wireshark filter tcp.analysis.retransmission
  4. Rate of retransmits above about 1% is worth investigating
  5. Correlate with interface drops: ip -s link show eth0 and ethtool -S eth0

Why → Retransmits are TCP telling you the network lost or delayed its packets.

Interview tip → Say you check NIC drops and queue overruns before blaming the network.

All Networking questions Roadmap: Networking for DevOps

More on Performance, MTU, Latency & Tools