Static

My monitor was cutting my download speed by 75%

First reported by Blog.tymscar ·

The signal ●○○○ Compiled by AI from Blog.tymscar and Hacker News
Why you might care

If you use a USB-C hub or monitor with an Ethernet adapter, your download speeds might be capped by USB burst limitations.

What happened

The author, Oscar Molnar, discovered his 2.5 Gbps internet download speed was throttled to 600 Mbps when using his Studio Display XDR for a one-cable setup. Despite having a fast ISP and using a 2.5G Ethernet adapter plugged into the monitor, his download speeds were severely impacted. Testing revealed that the USB Ethernet adapter, specifically the Realtek RTL8156B chip, was dropping packets when connected through the monitor. This packet dropping occurred because the adapter sent data in small bursts of 4 packets, and the latency introduced by the monitor's USB hub caused the adapter's buffer to overflow before the Mac could respond. Upload speeds remained unaffected. The issue was exacerbated at download speeds above 2 Gbps. By enabling flow control on his UniFi router, download speeds improved significantly but introduced latency for other devices. A solution was found by switching to a newer UGREEN 5 Gbps adapter using the RTL8157 chip, which supported larger USB burst sizes (8 packets) and resolved the packet dropping issue, restoring near-full download speeds.

What it means

The bottleneck wasn't the monitor's network throughput or the Ethernet adapter's maximum theoretical speed, but rather the interaction between the adapter's USB burst packet count and the inherent latency of the monitor's USB hub. This specific combination caused data buffering issues and packet loss, which manifested as drastically reduced download speeds. The findings highlight that even with high-speed networking hardware, the performance can be dictated by the intricacies of USB communication protocols and device-specific burst capabilities, especially when consolidated into a single-cable solution.

This scenario underscores a potential fragility in consumer-grade docking solutions that aim for convenience through single-cable connectivity. As network speeds increase, the limitations imposed by USB transaction timing and buffer management become more pronounced. Users experiencing unexpected speed degradations on high-speed networks when using these integrated devices should consider the USB burst behavior and latency introduced by the hub, as a more capable adapter with a higher burst packet count or lower inherent latency might be required.

AI-written summary. May contain errors.

Tech