What Packet Loss Is
Packet loss is the share of packets that leave one end of a path and never reach the other. A little loss is part of how the internet works: when a link is full, routers drop packets, and TCP slows down in answer. Steady loss of even one or two percent on a path is a problem worth finding.
What It Does to Traffic
- TCP: lost segments are sent again, so data arrives complete but late. TCP also reads loss as congestion and cuts its sending rate, so a small amount of loss on a long path lowers throughput sharply. Downloads crawl and pages stall.
- Real-time traffic: voice and video calls usually run over UDP and do not wait for resends. Lost packets become gaps, choppy audio, or frozen frames.
- SSH sessions: typing lags, and the session can freeze for seconds at a time.
How loss relates to latency and throughput is covered in latency vs bandwidth vs throughput.
Test with ping
ping -c 100 203.0.113.10After 100 packets, ping prints a summary like this one:
100 packets transmitted, 97 received, 3% packet loss, time 99140ms
rtt min/avg/max/mdev = 21.412/23.907/48.215/4.106 msRead the loss figure first; mdev shows how much the times vary. Run the test for a few minutes and at different times of day, because loss often comes and goes with traffic. More options are in the ping command guide.
Read an mtr Report
mtr combines ping and traceroute and shows loss for every hop:
mtr -rwc 100 203.0.113.10Two patterns look alike and mean opposite things:
- Loss at one middle hop only: hop 5 shows 40% loss, but hops 6 to 10 show 0%. That router limits how many answers to ICMP it sends; it forwards traffic normally. This is not real loss.
- Loss that starts at a hop and continues to the end: hop 7 shows 5%, and every later hop, including the destination, shows about 5% too. That is real loss, and it begins at hop 7 or on the link right before it.
Only the last line, the destination, tells you what your traffic experiences. See how to use traceroute and mtr.
Test with iperf3 over UDP
Routers may treat ICMP differently from other traffic. A UDP test with iperf3 measures loss on real data between two machines you control. On the receiving server:
iperf3 -sOn the sending one, send 100 Mbit/s for 30 seconds:
iperf3 -c 203.0.113.10 -u -b 100M -t 30The report shows jitter and the number of lost datagrams out of the total. Raise -b step by step: if loss appears only above a certain rate, you have found the capacity of the path or a rate limit. Allow port 5201 between the two servers first; see iperf3.
Check the Server's Own Counters
ip -s link show eth0Look at the errors and dropped figures for RX and TX. Errors that keep rising point to a bad cable, port, or driver; drops point to a host that cannot keep up with incoming packets. TCP retransmissions show the same problem from the other side:
nstat -az TcpRetransSegs
ss -tinstat prints the system-wide count of retransmitted TCP segments since boot; run it twice a minute apart and compare. ss -ti adds a retrans field to each open connection that has had retransmissions.
Common Causes
- Congestion: a full link somewhere on the path, often at peak hours.
- A bad cable, port, or network card: shows as rising interface errors.
- Wireless links: Wi-Fi and mobile connections lose packets to interference. Test from a wired connection before you suspect the server.
- An overloaded host: a server short of CPU drops packets it cannot process in time.
- Rate-limited ICMP: routers that answer pings slowly look like loss but are not.
- MTU problems: large packets vanish while small ones pass; see MTU.
What to Send Your Provider
- mtr reports in both directions, from you to the server and from the server to you, each with at least 100 cycles.
- The source and destination addresses and the time of each test, with the time zone.
- Whether the loss is constant or only appears at certain hours.
- The interface counters from
ip -s link.
Updated:
Linux VPS with Full Root Access
MUVCloud cloud servers run on KVM with Enterprise NVMe SSD storage and full root access, in Turkey, the Netherlands, and the USA.
More Guides
No Limits on Service or Support
You are not on your own as your projects grow. Our support engineers are ready 24/7, on several channels, whenever you need them.

- 100% customer satisfaction goal
- Our own hardware
- 24/7 ticket and email support
- 4 countries with locations