The loaded ping: measuring one hop at a time
The trick is to ping something before the queue you're not interested in, while deliberately filling the link. Two terminal windows: one pinging, one making load.
Start with nothing running. In the first window, start a continuous ping to your router and leave it running for two or three minutes before you load anything. On Linux and macOS, ping keeps going until you stop it with Ctrl+C:
ping 192.168.0.1
On Windows it stops after four replies unless you add -t. Stop it with Ctrl+C:
ping -t 192.168.0.1
Use your own router's address. On Windows, ipconfig shows it as Default Gateway; on Linux, ip route shows it on the default via line; on macOS, route -n get default shows it on the gateway: line. This idle run is your baseline, and it matters: if the ping is already jumping around with nothing running, that's a different fault and no amount of load testing will explain it — see Spikes at idle below.
Then fill the link for thirty seconds or so, keeping the ping running. There are two ways to do it.
With a second computer (cleanest). Send the traffic to another machine on your network, so nothing touches the internet at all and you're measuring only the local hop — your cable, your Wi-Fi, the router's own queue. This uses iperf3, which isn't installed by default: install it on both machines, start it as a server on the other one,
iperf3 -s
then run the client on yours, pointing at the other machine's address (add -R to test the opposite direction):
iperf3 -c 192.168.0.10 -t 30
With one computer. No second machine, nothing to install: download a large test file from a well-provisioned server and throw it away as it arrives.
for s in 1 2 3; do ( end=$((SECONDS+30)); while [ $SECONDS -lt $end ]; do curl -s -o /dev/null "https://speed.cloudflare.com/__down?bytes=50000000"; done ) & done; wait
That runs three downloads side by side for thirty seconds. Two details are deliberate: Cloudflare refuses a single request of 100 MB or more, so it repeats a 50 MB file instead of asking for one huge one; and one connection on its own often can't fill a fast line, so it runs three. Brief dips between files are normal. On Windows, in PowerShell:
1..3 | % { Start-Job { $e=(Get-Date).AddSeconds(30); while ((Get-Date) -lt $e) { curl.exe -s -o NUL "https://speed.cloudflare.com/__down?bytes=50000000" } } } | Wait-Job | Out-Null
To load the upload direction instead (Linux and macOS) — one connection is usually enough here, because upload is the slower side:
end=$((SECONDS+30)); while [ $SECONDS -lt $end ]; do head -c 25000000 /dev/zero | curl -s -o /dev/null -X POST --data-binary @- https://speed.cloudflare.com/__up; done
On Windows, in PowerShell:
$f="$env:TEMP\up25.bin"; [IO.File]::WriteAllBytes($f,(New-Object byte[] 25000000)); $e=(Get-Date).AddSeconds(30); while((Get-Date) -lt $e){ curl.exe -s -o NUL --data-binary "@$f" https://speed.cloudflare.com/__up }; Remove-Item $f
One limit to know: this traffic comes from the internet, so it can only push your local hop as hard as your plan allows. If your plan is slower than your Wi-Fi, the queue builds upstream instead and the ping to your router stays flat — which is itself an answer: the local hop isn't your bottleneck.
Pick the ping target on purpose. Pinging your router measures the local hop. Pinging something on the internet, such as 1.1.1.1 (add -t on Windows, as above), adds the internet-facing queue — the one Smart Queue manages. With the one-computer method, run it both ways: router flat while 1.1.1.1 climbs means the internet-facing queue; both climbing means the local hop.
Example output
$ ping 1.1.1.1 (output shortened)
icmp_seq=22 time=9.73 ms
icmp_seq=23 time=10.1 ms
← upload starts
icmp_seq=24 time=46.3 ms
icmp_seq=26 time=146 ms
icmp_seq=28 time=246 ms
icmp_seq=30 time=346 ms
icmp_seq=32 time=448 ms
icmp_seq=33 time=9.58 ms ← one upload finishes, queue drains
icmp_seq=34 time=59.8 ms ← next upload, climbs again
icmp_seq=36 time=160 ms
icmp_seq=39 time=310 ms
$ ping 192.168.0.1 (same moment, second window)
icmp_seq=23 time=0.574 ms
← upload starts
icmp_seq=24 time=0.658 ms
icmp_seq=28 time=0.825 ms
icmp_seq=32 time=0.745 ms
icmp_seq=36 time=0.517 ms
icmp_seq=38 time=0.662 ms
$ ping 1.1.1.1 (same test, QoS on)
icmp_seq=8 time=9.36 ms
icmp_seq=9 time=9.71 ms
← upload starts
icmp_seq=10 time=10.8 ms
icmp_seq=14 time=11.8 ms
icmp_seq=18 time=10.3 ms
icmp_seq=22 time=10.2 ms
icmp_seq=26 time=11.9 ms
icmp_seq=30 time=10.9 ms
icmp_seq=34 time=9.59 ms
icmp_seq=38 time=9.53 ms
QoS off, upload, on a cable: your router stays under 1 ms while 1.1.1.1 climbs to about 450 ms, so the queue is on the internet side. With QoS on, the same upload adds about 2 ms.
Then watch what the ping does while the load runs. That's the whole test.