A 2.5-gigabit internet connection suddenly delivered only about 600 Mbps downstream, while uploads remained near 2.4 Gbps. Testing ruled out the ISP, router, cable, and USB-C Ethernet adapter: plugged directly into the Mac, the adapter reached roughly 2.2 Gbps down and 2.3 Gbps up, but connected through the Studio Display’s USB hub, downloads collapsed. The adapter’s generic macOS driver performed poorly; Realtek’s driver nearly doubled download speed, and enabling Ethernet flow control raised it to about 2 Gbps. Flow control prevents a receiver from dropping frames by asking the sender to pause, but enabling it network-wide can add latency to other devices.
The underlying problem was that the older adapter could not hand incoming Ethernet traffic to the Mac fast enough through the display’s hub. Its frame-processing rate stalled at about 168,000 frames per second, and traffic above roughly 2 Gbps was dropped, triggering retransmissions and slowing downloads. USB transfers happen in bursts: the adapter sent four 1 KB packets before waiting for the Mac’s response, while hub delays made those short bursts inefficient. A newer 5-gigabit adapter with a different Realtek chip sends eight packets per burst and moves them faster, avoiding drops even without flow control and restoring speeds up to 2.4 Gbps. The investigation shows that practical transfer speed depends not just on rated link speed, but also on USB burst size, response delays, and packet handling.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.