• Jun 20, 2026
  • 6 min read

Speed Tests Hide the Number That Matters: Latency Under Load

Part 2 of 2. Part 1: what a Raspberry Pi can and can’t see about your Wi-Fi.

A speed test answers one question: how fast can this link go, flat out? The number looks great on a screenshot. It also says almost nothing about why a video call stutters while someone else uploads photos.

The number that matters for that is latency under load: how long a packet waits when the link is busy. So I measured it.

TR-471 in one paragraph

The Broadband Forum, the body behind most home-router standards, publishes TR-471: a method for testing IP capacity with UDP. Their open-source tool is obudpst. Instead of one burst, it ramps the sending rate up step by step, and at each step records the throughput, the packet loss, and the latency. Then it refines around the point where things start failing, and holds the best passing rate to confirm it.

I ran it between two machines on my LAN: a client sending, a Raspberry Pi receiving.

make server                     # on the Pi
make client SERVER=<pi-address> ARGS="--json --client-name $(hostname)"

Reading the ramp

The upload test, step by step:

Rate triedGot throughLossLatencyVerdict
1–20 Mbpsall of it0%~10 mspass
50 Mbps500%12 mspass
100 Mbps1000%86 mspass
200 Mbps12338%249 msfail
refine 125 Mbps1176%262 msfail
refine 118.8 Mbps118.750%171 mspass
sustain 118.8 Mbps118.750%211 ms—

The headline a speed test would give: about 119 Mbps, no packet loss. Clean.

The rest of the table is the interesting part:

  • Idle latency: under 10 ms. Up to 50 Mbps, nothing changes.
  • At 100 Mbps, latency is 86 ms. Still no loss. The link is keeping up by queueing.
  • At the sustained maximum, 211 ms. Twenty times idle, and still no loss.

No packets were dropped, so a simple test calls this perfect. But every packet waited a fifth of a second in a buffer somewhere. That’s bufferbloat: a queue big enough to avoid dropping anything, and therefore big enough to delay everything. The tool estimated the buffer at almost 1 MB and flagged “moderate bufferbloat, consider QoS or AQM”.

What it means in a house: when a big upload runs, everything else on that path (calls, games, the SSH session) waits behind it.

The fix isn’t a faster plan. It’s smarter queueing on the bottleneck: QoS rules, or an active queue management algorithm (fq_codel or CAKE on OpenWrt) that keeps queues short so interactive traffic doesn’t wait behind bulk transfers.

In part 1 the Pi reported a Wi-Fi link rate of 433 Mbit/s. The measured ceiling between the two machines was about 119 Mbps. The tool’s own guess at the bottleneck was “a 100 Mbps Ethernet link or 2.4 GHz Wi-Fi somewhere on the path”.

I didn’t chase down which hop it was, and I’d want to before changing anything. But the lesson stands on its own: the number your device shows in its Wi-Fi settings is what the radios agreed on, not what you get end to end.

This measures the LAN, not your ISP

Worth being clear: both ends were inside my home network. This tested the path between two of my machines, Wi-Fi included, not my internet connection. To test the uplink you need a server outside, which is what public speed tests do (with all their simplifications). For a homelab, the LAN test is often the more useful one: it’s the path between your devices and your server.

For a quick throughput check without the ramp, iperf3 is still the standard:

iperf3 -s              # on one machine
iperf3 -c <server>     # on the other

It’s simpler and everywhere. It just doesn’t hand you the latency-versus-rate table, which is the whole point here.

From one-off commands to snapshots

A week of notes had produced a lot of commands. The problem with commands is that you run them once, when something already feels wrong, and you have nothing to compare against.

So the useful outcome wasn’t a post full of terminal output. It was a small tool that takes snapshots:

make devices-init         # create the device list (refuses to overwrite one)
make devices-remember ID=<address> NAME=laptop TAGS=trusted
make devices-remember ID=<address> NAME=appliance TAGS=iot
make snapshot             # Wi-Fi link, LAN devices, DNS, latency
make report               # a Markdown report of the latest snapshot
make devices-history      # each device over time

The device list matters most: once each device has a name and a tag (trusted, IoT, unknown), a new device on the network shows up as exactly that: new.

And snapshots only help if they keep happening:

make install-systemd-user     # a user-level timer, every 15 minutes
make scheduler-status
make scheduler-logs

It runs as a systemd user timer: no root, installed under the user’s own config, interval adjustable. A small web page on the Pi shows the latest report.

The plan split the features in two: what the Pi can do on its own (its link, the LAN inventory, DNS checks, latency), and what needs a server and a second machine (TR-471 runs, which need two ends). It’s the same line as in part 1: know what each device can actually observe.

What I’d do differently

The June notes mixed three things in one long page: measurements, a router lab plan, and unrelated homelab updates. I’d split them:

  1. a repeatable check (this tool) for Wi-Fi, LAN, DNS and latency;
  2. a router lab note for OpenWrt, TR-181 and EasyMesh;
  3. everything else somewhere else.

And I’d fix the order of work: find the bottleneck hop, then tune queueing. I measured bufferbloat before I knew where the 100 Mbps limit was.

Takeaways

  • A speed test hides latency under load. Ramp the rate and watch the queue.
  • Zero packet loss can still mean 200 ms delays. That’s bufferbloat.
  • Fix it with queueing (QoS, fq_codel, CAKE), not a faster plan.
  • Link rate isn’t throughput. Measure end to end.
  • Know whether you’re testing the LAN or the ISP.
  • Snapshots on a timer beat commands run in a panic, and a named device list makes new devices obvious.