WiFi or ISP

Free bufferbloat test

Bufferbloat test

Speed tests tell you how fast your connection goes. This one tells you how laggy it gets while it's busy, which is why video calls stutter when someone starts a download.

Takes about 25 seconds. Close other downloads and video first.

Runs in your browser against Cloudflare's public speed test servers. Nothing is stored. Uses a few hundred MB on a fast connection.

What is bufferbloat?

Every router and modem holds packets in a queue when more arrives than the line can carry. A small queue smooths out bursts. A big one fills up whenever something saturates your connection, like a cloud backup, a game update, or a 4K stream, and every other packet waits in line behind it.

That wait is bufferbloat. Your speed test still looks great, but a video call that needed a reply in 30 ms now waits 300 ms, and it freezes, talks over people, or drops.

How to read your grade

The grade is based on how much latency rises under load, in whichever direction is worse:

  • A+ or A (under 30 ms added): you won't notice it.
  • B (30 to 60 ms): calls may hiccup during big transfers.
  • C (60 to 200 ms): noticeable lag whenever the connection is busy.
  • D or F (over 200 ms): real-time anything suffers during uploads and downloads.

Upload bufferbloat is the most common kind on cable and DSL, because upload speeds are smaller and the modem's queue fills faster.

How to fix bufferbloat

  1. Turn on smart queueing in your router. Look for Smart Queue Management (SQM), “Smart Queues”, or adaptive QoS in its settings. It keeps the queue short by sending traffic slightly slower than your line's maximum.
  2. Set the limits a bit below your real speed. Most SQM settings ask for your download and upload speeds. Use about 90% of what a speed test shows, so the queue forms in your router (where it's managed) instead of in the modem.
  3. No such setting? Your router may be the bottleneck. Many ISP-supplied routers have none. A router with SQM, or one that runs OpenWrt with cake, usually takes a C or D to an A.
  4. Still bad with SQM on? Show your ISP. If the queue is past your equipment, it's theirs to fix. Bring the numbers.

Is the queue in your Wi-Fi or past your router?

A browser can't see your router, so this test can only say how much lag builds up, not where. The queue can sit in your Wi-Fi (a busy channel or your Mac's own upload), in your router, or in the modem and the ISP's network, and each one has a different fix.

WiFi or ISP for Mac runs the same kind of test, and while the connection is loaded it also times your router and the internet side by side. If the router slows down as much as the internet does, the queue is on your side. If the router stays quick, it's past it.

How this test works

It measures round trips to Cloudflare at idle, then fills your download with five parallel streams for 10 seconds, then your upload with four, timing round trips over a separate TCP connection the whole time. Cloudflare reports how long it spent on each reply, and that time is subtracted, so the numbers are network round trips. The first two seconds of each phase are skipped while the streams ramp up. Latency is the median, so one slow probe doesn't decide your grade.

Questions

Is this a speed test?

Partly. It reports the speeds it reached while loading the connection, but the point is the lag under load. A connection can be fast and still badly bloated.

Why is my upload grade worse than my download?

Upload is usually the smaller pipe, so its queue fills sooner. It's also where your own devices queue packets before they reach the router.

Does Wi-Fi cause bufferbloat?

It can. A busy Wi-Fi channel or a weak signal adds its own queue between your device and the router. Test on a cable to compare, or use WiFi or ISP, which checks the router and the internet separately.

How is this different from Apple's networkQuality?

Both measure responsiveness under load. Apple's tool reports round trips per minute (RPM), and this page reports added milliseconds. WiFi or ISP uses the same IETF method as Apple and adds router probes to show where the queue is.

Find out where the lag comes from.

WiFi or ISP is a free Mac menu bar app. It times your router and the internet at the same moment, says which side is slow, and keeps a log you can send your ISP.

brew install --cask coreyhaines31/tap/wifiorisp