Low ping, but downloads make everything crawl
Your ping is fine until someone uploads or downloads, then calls stutter and games lag. Why full buffers cause it, how to test for it in two minutes, and the fix.
3 min read
On this page
A video call is fine until a backup starts. A game is smooth until someone streams. The speed test shows everything you pay for, and ping is low whenever you check. The missing piece is ping while the line is busy. If it jumps then, you have bufferbloat: equipment that lets long queues build up.
What happens
- 1A large transfer startsIt sends as fast as it’s allowed
- 2The slow link fills upUsually your upload or download at the modem
- 3Packets wait in lineThe equipment stores them instead of dropping them
- 4Yours wait tooA game or call packet joins the back of the line
Nothing is lost and the speed test looks great. Everything is just late.
Network equipment has memory to hold packets for a moment when more arrive than can be sent. A little is necessary. A lot does harm, because programs that send data slow down when packets are lost, and with a large buffer nothing is lost. They keep sending, the queue stays full, and every packet has to wait for the whole queue ahead of it.
How long is simple arithmetic: the size of the queue divided by the speed of the line.
That's why a faster plan can seem to help: the same queue empties sooner. It doesn't remove the cause, and Bufferbloat.net is blunt that buying speed won't cure it.
It's the normal case
Of the 137 countries and territories with at least 1,000 tests, 116 had a median latency under load of three times the idle figure or more. The current figures for each country are on the status page:
Test it in two minutes
You need ping and something to fill the line.
First start a ping and leave it running. On macOS and Linux:
ping 1.1.1.1On Windows:
ping -t 1.1.1.1- Let it run for 20 seconds and note the usual time.
- Start a large download for 20 seconds. Stop it.
- Start a large upload (a video to cloud storage, for example) for 20 seconds. Stop it, then stop the ping with Ctrl+C.
64 bytes from 1.1.1.1: icmp_seq=18 ttl=57 time=12.4 ms64 bytes from 1.1.1.1: icmp_seq=19 ttl=57 time=11.9 ms64 bytes from 1.1.1.1: icmp_seq=42 ttl=57 time=318.6 ms64 bytes from 1.1.1.1: icmp_seq=43 ttl=57 time=344.1 ms64 bytes from 1.1.1.1: icmp_seq=66 ttl=57 time=12.2 msThis is an illustration. Bufferbloat.net says that if a test under load shows latency below 15 to 25 ms, bufferbloat is under control, and that you likely have it if the figure is higher.
On a Mac, networkQuality measures it in one step. Apple describes the result in round-trips per minute (RPM) under working conditions, and classes it as low, medium or high. It uses a good deal of data.
CKIP's speed test reports speed and the delay of an idle connection. It doesn't measure delay under load, so it can't show bufferbloat. The test by ping above can.
Is it your line or your Wi-Fi?
Repeat the test with a cable. If the jump disappears, the queue is in the Wi-Fi. If it stays, it's at the modem or router. Slow Wi-Fi or slow broadband? has more on separating the two.
Fix it
Use a router that manages its queue. Look in its settings for SQM, "Smart Queue Management", fq_codel or CAKE. These do two things: they keep the queue short by dropping or marking packets early (CoDel), and give each connection a queue of its own, so that a call doesn't line up behind a backup.
It only works if your router is the slowest point, because the queue forms there. So:
- Measure your real speed by cable.
- Turn SQM on and enter the measured download and upload speeds.
- Run the ping test again. If it still jumps, lower the values a little and repeat, until it stays low.
You give up a little speed and get a connection that stays usable. Old routers may not be fast enough to do this on a fast line.
No such setting? In order of effort:
- Limit the speed in the programs that fill the line: the backup, cloud storage, the game launcher. Limiting upload often does most of the work, since that's usually the narrower direction.
- Schedule large transfers for the night.
- Replace the router with one that supports SQM. Many can run OpenWrt, which has it.
- Ask your provider. Some modems have a newer queue management that they can turn on.
"QoS" settings that only prioritize certain devices help those devices. They don't shorten the queue for the rest.
What it isn't
- High ping when nothing is running: distance, Wi-Fi or the line. Not this.
- Packet loss: a different problem, with a different test. Bufferbloat delays packets without losing them.
- Slow only to one site: one site won't open.