Skip to content

Field notes · Networking

'My Monitor Cut My Download Speed by 75%': How to Find the Slow Hop Before You Blame Your ISP

A speed test only tells you the whole path is slow. Split it into hops, test each one with iperf3, change one thing at a time and test both directions.

Table of Contents
A row of five plain tiles joined by lines, labeled laptop, dock, adapter, router and ISP. The link between dock and adapter is marked with an orange bar and the words the slow hop. A bracket under laptop to router reads inside your house, where you can test it. ISP is the internet service provider. Headline: Find the slow hop before you blame your ISP.

A field note for Wed, Dec 2, 2026. This is a method piece. The story and the home-network measurements belong to Oscar Molnar, who wrote it up on his blog as tymscar. The lab numbers later in the note come from a simulated path on bn-dev, our build server, not from a real monitor or ISP.

The short version

Oscar Molnar pays for a 2.5 gig symmetrical line. One day his speed test said 600 Mbps down and 2.4 Gbps up. In his write-up he says the opposite pattern would have made more sense. The ISP turned out to be fine. The slow part was a USB-C 2.5G Ethernet adapter plugged into his Studio Display XDR, which he used as a one-cable dock. His postPower-On Self-Test: the quick hardware check firmware runs every time a computer starts, before it looks for an operating system. Read more → reached 702 points and 333 comments on Hacker News as of Dec 2.

The lesson I took from it has little to do with Apple monitors. A speed test measures the whole path at once. It can tell you the path is slow. It can’t tell you where.

So you split the path into hops, test each hop on its own, change one thing at a time, and test both directions. That’s the whole method. The rest of this note explains why it works and how to do it with a free tool.

Why a speed test can’t point at the problem

Your data crosses a chain of links on the way out: laptop to dock, dock to adapter, adapter to cable, cable to switch, switch to router, router to the ISP, and then a lot of internet you don’t own. Each of those links is a hop.

The whole chain can’t move data faster than its slowest hop. That hop is the bottleneck, and a speed test only reports the result of it. Think of a highway with one lane closed. Your map app shows a slow trip. It doesn’t show which mile has the cones. To find them, you time each stretch of road on its own.

A speed test also adds hops you can’t control: the ISP’s network and whatever server the test picked. If you start there, every guess is about the ISP. If you start inside your own house, you can rule the ISP in or out in five minutes.

The method, one step at a time

Take the ISP out first. Test between two machines you own, on the same network, wired. If that’s slow, the internet was never the problem. iperf3 does this. It’s a free tool that measures how much data moves between two machines you control, with no internet involved.

Test both directions. In an adapter and its driver, upload and download often take different code paths and different buffers. Oscar’s numbers are the clue here: 2.4 Gbps one way and 600 Mbps the other. When one direction is fine and the other is crippled, look at a device or a driver before you look at a cable or the ISP.

Change one thing at a time. Remove the dock. SwapDisk space the operating system uses as overflow when physical memory (RAM) fills up, at the cost of being much slower than RAM. Read more → the adapter. Try a different cable. Run the same test after each change, on the same machine, at about the same time. If you change two things and it gets faster, you don’t know which one fixed it.

Split the path in half. If the path has many hops, test the middle first. Fast to the middle means the problem is past it. Slow means it’s before it. Repeat on the bad half. A path of eight hops needs about three rounds.

The same chain of five tiles, laptop, dock, adapter, router and ISP, split by one thin orange vertical line between dock and adapter. Each side is bracketed and labeled test this half. Test the middle first, then repeat on the bad half.
Split the path in the middle and test one half. Repeat on the half that is slow.

Watch for the device in between. Sometimes each link tests fast alone and the full path is still slow. That points at whatever forwards traffic between them: a dock, a hub, an adapter, or a firewallA security device or software that monitors and controls incoming and outgoing network traffic based on predefined rules. Read more → doing inspection. That’s the shape of Oscar’s problem.

What Oscar found

These are his findings, from his post.

His adapter used a Realtek RTL8156B chip, which macOS ran with Apple’s generic USB networking driver. He installed Realtek’s own driver, and in his words it “almost doubled the download speed to 1.1 Gbps.” Better, and still far short of 2.5.

Next he turned on Ethernet flow control in his UniFi console. Flow control lets a receiver that can’t keep up send a “pause” frame, so the sender holds data instead of the receiver dropping it. Download jumped to around 2 Gbps. He didn’t want it on all the time, because he says it can add latencyThe time delay between sending a request and receiving the first byte of the response, typically measured in milliseconds. Read more → for other machines like his gaming PC.

The cause, as he worked it out, was bursts. A USB 3 device sends a few packets, then waits for the Mac’s go-ahead to send more. His SSDSolid-State Drive: storage that keeps data on flash memory chips with no moving parts, making it far faster and more durable than a spinning hard drive. Read more → enclosure sends 16 per burst. The RTL8156B sends 4. Behind the monitor’s hub the go-ahead took longer, so the adapter couldn’t pass data to the Mac as fast as 2.5 Gbps arrived from the router. Its buffer filled and overflowed, and its own counters showed drops starting around 2 Gbps. He then bought a 5G adapter with an RTL8157 chip. Its USB descriptor reported bMaxBurst 7 where the RTL8156B reported bMaxBurst 3, so it sent 8 packets per burst instead of 4. In his tests it dropped no frames.

Notice his order. He measured, then changed the driver, then flow control, then the adapter, one at a time, and checked after each change. That habit found the answer. The Realtek details are a bonus.

The lab capture

This is a simulated lab, not Oscar’s monitor. The bn-dev lab run used a Python relay as a stand-in for the slow hop, with a 100 Mbit/s download cap. Case A made the middle box slow. Case B made the far end slow.

== Case A: the box in the middle is slow (download direction capped at 100 Mbit/s by the middle relay) ==
-- end to end, upload (client to server through middle) --
$ nsc iperf3 -c 10.0.1.2 -p 6000 -t 5
[  5]   0.00-5.00   sec  7.16 GBytes  12.3 Gbits/sec    0            sender
[  5]   0.00-5.04   sec  7.16 GBytes  12.2 Gbits/sec                  receiver

-- end to end, download (-R) --
$ nsc iperf3 -c 10.0.1.2 -p 6000 -t 5 -R
[  5]   0.00-5.04   sec  61.6 MBytes   103 Mbits/sec    2            sender
[  5]   0.00-5.00   sec  60.0 MBytes   101 Mbits/sec                  receiver

-- hop 1 alone: client to middle, download --
$ nsc iperf3 -c 10.0.1.2 -p 5201 -t 5 -R
[  5]   0.00-5.00   sec  16.4 GBytes  28.1 Gbits/sec    1            sender
[  5]   0.00-5.00   sec  16.4 GBytes  28.1 Gbits/sec                  receiver

-- hop 2 alone: middle to server, download (through the server's own relay) --
$ nsm iperf3 -c 10.0.2.1 -p 6001 -t 5 -R
[  5]   0.00-5.04   sec  7.65 GBytes  13.0 Gbits/sec    1            sender
[  5]   0.00-5.00   sec  7.64 GBytes  13.1 Gbits/sec                  receiver

== Case B: the far end is slow (server side relay capped at 100 Mbit/s, middle relay uncapped) ==
-- end to end, upload --
$ nsc iperf3 -c 10.0.1.2 -p 6000 -t 5
[  5]   0.00-5.00   sec  6.79 GBytes  11.7 Gbits/sec    0            sender
[  5]   0.00-5.04   sec  6.78 GBytes  11.6 Gbits/sec                  receiver

-- end to end, download (-R) --
$ nsc iperf3 -c 10.0.1.2 -p 6000 -t 5 -R
[  5]   0.00-5.04   sec  62.4 MBytes   104 Mbits/sec    1            sender
[  5]   0.00-5.00   sec  60.1 MBytes   101 Mbits/sec                  receiver

-- hop 1 alone: client to middle, download --
$ nsc iperf3 -c 10.0.1.2 -p 5201 -t 5 -R
[  5]   0.00-5.00   sec  14.6 GBytes  25.1 Gbits/sec    0            sender
[  5]   0.00-5.00   sec  14.6 GBytes  25.1 Gbits/sec                  receiver

-- hop 2 alone: middle to server, download --
$ nsm iperf3 -c 10.0.2.1 -p 6001 -t 5 -R
[  5]   0.00-5.04   sec  62.4 MBytes   104 Mbits/sec    2            sender
[  5]   0.00-5.00   sec  60.0 MBytes   101 Mbits/sec                  receiver

Captured on bn-dev, Dec 2, 2026, 8:26 to 8:27 AM ET, throwaway debian:trixie-slim containerA lightweight, portable package that bundles an application with its dependencies and runs in an isolated process on the host OS, sharing the kernel. Read more → with NET_ADMIN and SYS_ADMIN only, no —privileged. iperf3 3.18, Python 3.13.5, iproute2-6.15.0, host kernel 7.0.0-44-generic. ip netns add is denied in the container, so the hops used unshare —net and nsenter. nsc and nsm call nsenter; 10.0.1.0/24 and 10.0.2.0/24 are lab veth addresses.

Download is 101 Mbits/sec in both cases, at the cap, and upload stays between 11 and 12 Gbits/sec. A whole-path test looks the same.

Hop 1 is fast: 28.1 Gbits/sec in Case A, 25.1 in Case B. Hop 2 is 13.1 Gbits/sec in Case A and 101 Mbits/sec in Case B. When the far end is slow, hop 2 alone finds it. When the middle box is slow, both hops look fine, and only the full path is capped.

Your first step

On any Debian or Ubuntu machine, install iperf3, then pick one wired machine on your network to act as the server:

bash
sudo apt install iperf3
iperf3 -s

From the slow machine, run iperf3 -c <that machine> for upload and iperf3 -c <that machine> -R for download. The -R flag reverses the direction, so the server sends to you. Write both numbers down. Then remove one dock or adapter, run both tests again, and repeat for each piece in the path. When one change moves the number a lot, you’ve found your hop.

If your local numbers are close to your plan’s speed in both directions, your house is fine, and now a call to your ISP comes with evidence. Test wired first. Wi-Fi results swing too much to compare one change against another. For a 2.5 gig line, keep the bandwidth of every link in mind, since one 1 gig port or adapter in the chain caps the whole path at 1 gig.

Our holiday tech support order uses the same habit, one layer at a time: power, link, address, name, app. If you want the general habit, BNLC has lessons on reading specs and finding the bottleneck and on a troubleshooting method you can repeat.

Go deeper: build a slow hop on one Linux machine

The idea. You can rehearse the method on one machine with three network namespaces, which are isolated copies of the Linux network stack. Call them client, middle and server, joined by two veth pairs, so traffic from client to server has to cross middle. Then put a deliberately slow hop somewhere and see whether you can find it. Our WireGuard site-to-site lab uses the same namespace setup.

The slow hop. Research wrote a small Python TCP relay, relay.py, that forwards traffic and caps one direction at a rate you choose. It stands in for a slow adapter or driver. The usual Linux way to shape a link is the token bucket filter, tc qdisc add dev <iface> root tbf, described in tc-tbf(8). That needs the sch_tbf kernel module, and loading a module changes the host, so the lab uses a relay instead.

python
import socket, sys, threading, time
listen_ip, listen_port, dst_ip, dst_port, mbit = sys.argv[1], int(sys.argv[2]), sys.argv[3], int(sys.argv[4]), float(sys.argv[5])
def pump(a, b, rate):
    start = time.monotonic(); sent = 0
    try:
        while True:
            d = a.recv(65536)
            if not d: break
            b.sendall(d); sent += len(d)
            if rate > 0:
                ahead = sent * 8 / (rate * 1e6) - (time.monotonic() - start)
                if ahead > 0: time.sleep(ahead)
    except OSError: pass
    for s in (a, b):
        try: s.shutdown(socket.SHUT_RDWR)
        except OSError: pass
srv = socket.socket(); srv.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
srv.bind((listen_ip, listen_port)); srv.listen(16)
while True:
    c, _ = srv.accept(); u = socket.create_connection((dst_ip, dst_port))
    threading.Thread(target=pump, args=(c, u, 0), daemon=True).start()
    threading.Thread(target=pump, args=(u, c, mbit), daemon=True).start()

The last argument is the cap in Mbit/s for the server-to-client direction. 0 means no cap.

The steps. Run this in a throwaway VM or container that has NET_ADMIN, never on a machine you care about. Research’s script, slowhop_unshare.sh, does all of it. The first version used ip netns add. That call is denied in the bn-dev container, so the script builds the hops with unshare --net and nsenter instead. The topology and the 100 Mbit/s relay stay the same.

  1. Install iproute2, iperf3 and python3.
  2. Create the client, middle and server network stacks, link client to middle and middle to server with veth pairs, and give them 10.0.1.0/24 and 10.0.2.0/24 addresses.
  3. Start iperf3 -s in middle and in server.
  4. Case A, the middle is slow. Run relay.py in middle with a 100 Mbit/s cap toward the client, and an uncapped relay in server.
  5. From client, test end to end in both directions, then test hop 1 alone, client to middle, and hop 2 alone, middle to server.
  6. Case B, the far end is slow. Move the cap to the server-side relay and run the same four tests.
  7. Stop the unshare processes. If you used ip netns instead, delete the namespaces with ip netns del client, ip netns del middle and ip netns del server.

What to look for. End-to-end download is 101 Mbits/sec in both Case A and Case B. Hop 2 is the test that tells them apart: 13.1 Gbits/sec when the middle is slow, 101 Mbits/sec when the far end is slow. The numbers are in the capture above. Veth links inside one machine run far faster than real hardware, so only the contrast between tests means anything.

iperf3 gotchas. At high speeds the CPU on either end can be the limit, so watch top during a test. A single TCP stream may not fill a fast link. Try -P 4 for four parallel streams. UDP mode, -u -b 2G, sends at a fixed rate, which is how Oscar watched his adapter drop frames.

Reading a USB descriptor. Oscar’s bMaxBurst check used pyusb on macOS. On Linux, lsusb -v prints the SuperSpeed endpoint companion descriptor, which includes bMaxBurst. The number counts packets after the first, so 3 means 4 packets per burst and 7 means 8.

iperf3troubleshootingspeed-testusb-ethernetdockshome-networkbottleneckmethod

All field notes