My monitor was cutting my download speed by 75%
- senko - 26698 sekunder sedanThis reminds me of a (completely different, but felt equally) bizzare problem with ghostty (the terminal emulator) on Linux and Steam, specifically Baldur's Gate 3.
At the start of the game after an update, BG3 compiles the (Vulkan) shaders. To avoid hammering the computer, it checks the load, including I/O pressure, and then throttles itself. It turns out that Ghostty uses io_uring, and even if it's not doing anything this somehow counts as pressure. This was made worse by the fact that I usually have a dozen or so Ghostty windows.
End result, BG3 compiles shaders using 1 core, throttled, instead of all available 20 cores. Instead of a minute or so, it'd take several hours.
(For closure: I configured ghostty to use epoll instead. Probably not optimal but works around the problem.)
- manarth - 20233 sekunder sedanBetter description: "My USB network switch was cutting my download speed".
The fact that it's a monitor is a little bit irrelevant.
- fancyfredbot - 23904 sekunder sedanSince lots of comments misunderstood the article, the extra latency from going through the monitor meant his laptop couldn't acknowledge the packets quickly enough. That led a buffer on the ethernet adapter to fill and that led it to drop packets.
A different adapter which required less frequent acknowledgement fixed the problem for him.
It is quite a nice post which gets to the bottom of incredibly opaque behaviour of USB hubs.
- throw0101d - 23117 sekunder sedanMeta:
> Somehow I am one of those few very lucky people to have the opportunity of owning a 2.5 gig symmetrical line for my internet.
I'm not going to complain against more bandwidth (as a GenXer I stared my online journey at (IIRC) 9600bps (maybe lower): much celebration with V.32/V.90), but I'm curious to know how many residential use-cases can take advantage of that much bandwidth. Linux ISOs?
How many services allow that much speed on a single stream / (TCP) session? Maybe you could have five at 500 Mbps?
Certainly downloading security updates or games may be quicker, but I would think that above 500Mbps (and certainly 1 Gbps) there would be major diminishing returns. Is anyone regularly getting close to that utilization in their daily work / hobbies (and not just a momentary spike on patch Tuesday)?
- nagisa - 4380 sekunder sedanI recently had this same problem with a multigig copper SFP+ module. These SFP+ modules (usually) advertise 10Gbps to the NIC they're plugged in, but will negotiate lower speeds on the copper side. So when NIC tries to send to SFP+ at higher rate than whatever speed SFP+ has negotiated internally, the SFP+ module will just drop a bunch of packets and incur a significant hit in throughput.
These tend to not support sending pause frames to its SFP+ side either, so the best option I found was to set bandwidth limit on the NIC…
- gh123man - 23084 sekunder sedanI have nothing useful to add other than I feel so validated reading this. Ive been struggling with this issue on and off for over a year. With the release of Astra, it was able to finally unstick me to the point of enabling flow control which has been good enough.
I experienced this problem with a macbook and a thunderbolt dock. I had tried multiple different brands of docks and ethernet adapters, and various macbooks. One interesting thing I discovered is if I plugged a non-thunderbolt cable between the dock and the laptop, I would achieve full speed with no packet loss, so interestingly the issue doesn't occur over pure USB but only over thunderbolt.
This has got to be a bug on Apple's side right? Would be nice if they fixed it.
- frizkie - 13183 sekunder sedanI had the same problem recently when trying to figure out high bandwidth game streaming from my desktop to my Steam deck in the living room. The beta streaming tech is “pyrowave” and it is super low latency and looks INCREDIBLE compared to traditional codecs, but as a trade off it is extremely sensitive to packet loss, and uses an appropriately large amount of bandwidth (7-800mbit at 4k120). Wired network isn’t _strictly_ a requirement but it might as well be, and the steam deck doesn’t have a physical port - but the steam deck dock does.
Anyway, the exact same situation arises, where some network condition or physical configuration (there’s a lot of hardware in between these two devices, including MoCA adapters) meant that the network adapter buffer fills up and starts dropping packets. The buffer size is configurable through some terminal command and maxing that out makes the issue disappear immediately.
- umvi - 9680 sekunder sedanUnrelated to this particular issue, but I've had subtle monitor behaviors catch me off guard as well. Usually I think of monitors as being unrelated to the underlying program running, but this is not always the case. For example I released a JavaScript programming game on steam that uses chrome (Electron) for sandboxing. This game has a tiny community but already there are a couple players doing speed running [1], and one discovered that you can complete the game many seconds faster if using a 120Hz monitor instead of 60Hz. The reason is that the JS API requestAnimationFrame [2] is tied to monitor's refresh rate (which I didn't realize) and I originally didn't do any sort of logic limiting it to 60fps (and actually I was using PixiJS tickers[3] which I didn't realize were using requestAnimationFrame under the hood).
[1] https://www.speedrun.com/Pragma_Twice
[2] https://developer.mozilla.org/en-US/docs/Web/API/Window/requ...
- bjackman - 8968 sekunder sedanFunnily enough I recently noticed my network was slow, told Claude to investigate, it came up with "replace the DisplayPort cable on the right monitor".
Immediately 10X'd my bandwidth, turned out I was using a cheap cable that wasn't shielded like it was supposed to be, and it was running right past the WiFi antenna and causing loads of interference.
- toast0 - 7606 sekunder sedan> Basically, when a device receives Ethernet frames it can’t keep up with, it just drops them. With flow control (it’s something your router or switch has to support), it can send the sender a “pause” frame, and the sender then buffers the data on its side, instead of the receiver (the adapter in this case) on its side.
One thing that can happen with pause frames (and why I hate them) is pause propagation. If you have a switch between your server and client and the client sends the switch a pause frame, the switch may send a pause frame to the server. If it does (and the server accepts pause frames), the server will pause sending to all destinations.
So your one slow client can disrupt all the other flows from the server. Which is totally unhinged.
- zodwick - 19420 sekunder sedan>It’s run by this one guy
This was super surprising, have always thought ISPs are a super hard businesses. But good for you mate, good ISPs are lifesavers.
I have had the opposite experience with my ISP guys. One of the VMs I got as part of work only had IPv6 and to my shock my internet didn't have one. When I contacted my ISP they legit told "You can either have IPv4 or IPv6, but not both". Unfortunately I was on a 12 month plan and couldn't easily cancel so ended up working around using tailscale.
- srcreigh - 31116 sekunder sedanNice post. Unsatisfying conclusion - did you ever figure out why the original adapter was throttled when plugged into the monitor, and not when plugged into the computer?
- array4277 - 2744 sekunder sedanHaving the correct driver is crucial for any 2.5Gb+ adapter. I know because I've run into this problem with 2.5 and 5Gb dongles too.
- js2 - 9393 sekunder sedanUsually people discover the bandwidth delay product on long fat pipes. Neat to read someone discover it on a very fast very short link.
- throw0101d - 21937 sekunder sedanWhat's the difference in BOM cost for Realtek RTL8153 (1GigE) versus RTL8156 (2.5G) versus RTL8157 (5G) versus RTL8159 (10G)?
- ryankrage77 - 5671 sekunder sedanMaybe I need to look into frames and dropped packets. My LAN can't quite reach 1Gbps, it's more like 7-900Mbps. Last time I investigated it, I came to the conclusion it's sub-par ethernet cables, but perhaps there's more to it.
- brigade - 7757 sekunder sedan> because the issues don’t start at 1 gig
Actually, the speed of gigabit Ethernet adapters are also known to cut 60% behind a studio display. TBH I assumed it was because USB ECM sucks and NCM (which RTL8156 implements) was supposed to fix it.
- glitchc - 11973 sekunder sedanI suspect the problem here is the UGreen ethernet adapter. I have soured on UGreen after a couple of their recent hardware bits proved flaky and one damaged two laptop motherboards (it was a usb-c hub).
- cozzyd - 23463 sekunder sedanWould bbr congestion control help here to.get speeds to 2 Gbps?
- linker3000 - 15105 sekunder sedanUsed to get this with dial-up modems when they were either placed on top of the CRT (just to get very toasty?), or the incoming phone line ran too close to some CRTs.
This would reduce the established connection speed due to electrical noise from the monitor.
- usr1106 - 28283 sekunder sedanCould this be some kind of https://en.wikipedia.org/wiki/Bufferbloat problem?
Sure we are talking about a different level in the networking stack and very different protocols. But with every component you add things get less synchronous. Well, no buffering needs to involved by the middleman, the mechanism for the throttling could also be different. What do I know...
- iamflimflam1 - 20240 sekunder sedanI recently tracked down some poor network performance to some dodgy Ethernet cables in my patch panel.
- entrope - 28012 sekunder sedanWhat a click-bait headline. The conclusion was that it was due to having a more bottlenecked USB-to-Ethernet adapter path. Would the same result have held with a discrete Thunderbolt 5 hub, either with a built-in 2.5 Gbps or faster Ethernet port or with the original USB-to-Ethernet adapter? Would it have held with another USB hub? Who knows -- just blame it on the expensive monitor!
- mikenew - 1836 sekunder sedanI found it so funny that the author is using an M3, Studio Display, and a 2.5 GB symmetric internet connection to play Sauerbraten. A (very fun) 22 year old game made by 3 people.
- MadameMinty - 9815 sekunder sedan>I have a cupboard full of USB-C Ethernet adapters. Don’t ask.
Weird. It's the first time I hear someone has a cupboard of those. Everyone I know keeps them in a drawer.
- eska - 15881 sekunder sedanMy whole wifi slowed to 5kb/s because of a bluetooth smartwatch interfering with the 2.5ghz wifi. I was always told bluetooth and wifi sharing a spectrum could not possibly ever be problematic. Needless to say I hate Bluetooth even more since then.
- husseinhb - 8276 sekunder sedanToo bad, I have the 4mb plan and I get 6mb speed instead, I think im blessed
- ferdzo - 29942 sekunder sedanI've encountered a similar problem, the wifi on a MacBook Air was dying once connected to a Dell monitor over USB-C. The wifi signal was going from full to nearly no signal. Connecting to the same monitor with a dongle and HDMI didn't have the same outcome. Never had a time to find the culprit. Probably EMI or bad grounding.
- jmyeet - 25521 sekunder sedanA couple of thoughts:
1. These 1 cable solutions are nice but (IME) incredibly finnicky. I've gone through several Caldigit docks that have died;
2. When you think about it, these docks (and monitors) are really 100+ Gb/s switches. It's kind of no wonder that there are odd behaviors;
3. IME that cable that provides power to the laptop and handles power/video (you know, so it really is 1 cable) is the absolute worst. Whenever you buy them, buy 2-3 because I can almost guarantee 1 will be faulty and it'll be weird, annoying problems eg the screen gling black for a split second randomly;
4. I did a lot of testing with 1GbE USB-Ethernet adapters and it's true that they are not all created equal. In a perfect world, they should do ~930Mb/s. Depending on which one you get it'll be as low as 880 (or lower); and
5. I would honestly expect better from Apple. With the price premium you pay for these Studio monitors, I would expect the hub part to be pretty much seamless.
- Pxtl - 20583 sekunder sedanWhat's your handle on Sauerbraten?
- Sopel - 28103 sekunder sedan> So I thought I would do what any ~~human~~ apple user would do, and I spent more money on a new adapter.
- Jingling9188 - 16587 sekunder sedanWhat is this clickbait headline? It's the monitor hub and/or the USB adapter they were using.
- Betelbuddy - 14370 sekunder sedanUnnecessarily long...TL;DR: The monitor introduced a tiny delay in USB communication, which caused the Ethernet adapter to lose data packets...
- luxuryballs - 20063 sekunder sedanI'm always jealous of people who have the willpower and time to investigate this kind of stuff, I would have plugged it into the laptop and moved on! It's perhaps the most nerdy "grass must be greener" luxury I can imagine (in a good way).
- taneq - 24959 sekunder sedanHah, well if my monitor at home ever does this to me I can take my revenge by slowly removing my jacket, or sitting down on my chair. (Samsung Odyssey G9, it's ultra-sensitive to ESD anywhere near it so if I'm wearing the right jumper I can move my chair or wave my arms around and the capacitative heresy will make it wig out for a good 2-3 seconds.)
At work we run HP Z40c monitors and while they've been bulletproof in terms of image quality, on my old laptop the mouse cursor was definitely more laggy when running in a one-cable setup. We're using Logitech MX Master combos so I just moved the dongle from the monitor to my laptop and that fixed the lag issue.
Wow this sounds like a shill post. If anyone from HP or Logitech wants to talk message me. Otherwise Logitech Opti+ or whatever its called can fk off.
- candl - 25264 sekunder sedanI hate this attitude: "I wasn’t getting three quarters of the speed I was paying for" No, you were. It was not the ISPs fault. I get constant support requests like that. People install their own equipment, adapters, wifi repeaters, sketchy unmanaged switches and keep complaining about speeds when the ONT/CPE whatever works perfectly and the connection is fine. All it takes is to connect to the CPE directly and do a measurement. It's like people calling the power plant operator directly if one of their light bulbs is dimmer than the rest.
- TacticalCoder - 25806 sekunder sedanI've only read the headline: USB degrading speeds?
(five minutes passed, I skimmed through TFA)
Ah yup, of course it's somehow related to USB.
It's like the infamous line: "It's always DNS" (and when it's not it's the firewall).
When download speeds are degrading like that, it's always some weird USB thing.
In the earlier days people didn't know that, for example, plugging a monitor into an USB hub could, as a result, make the rest degrade to USB 2.0 speeds. Unplug the monitor, HUB is speedy again now that it doesn't need to deal with that 4K / 60 Hz or whatever monitor data.
It's not a criticism or anything and I'm not saying that's what's going on here: I'm just saying USB has many gotchas and there can be, as in TFA and as in many other (document or not) cases, weird things happening.
At times (and doubly so when troubleshooting), you're better to simply try to plug your USB cable directly in the computer instead of in a USB hub / monitor USB hub. (EDIT: ah yup, ofc eventually he try that)
There are thing too complex to ever be secure and then there are things too complex to not have gotchas.
USB is... Wild?
P.S: and then of course in addition to this USB wildness there's the mad insanity of USB... Cables.
- learntoplaypitc - 19791 sekunder sedan[flagged]
- field10DOTcom - 27628 sekunder sedan[dead]
- nonacosa - 22957 sekunder sedan[flagged]
- nonacosa - 24149 sekunder sedan[flagged]
- enoch_hou - 13462 sekunder sedan[dead]
- - 14169 sekunder sedan
- thefz - 24836 sekunder sedanI knew it was Apple even before clicking
Nördnytt! 🤓