The twist is it would happen with any additional device in the signal path. The mere presence of a hub causes the USB control message to take slightly longer to reach the adapter—about the same amount of time it takes to receive 5 Ethernet frames at 2Gbps.
The fix is to cut the overhead by sending more than 4 frames per interrupt. Unfortunately that required buying a new adapter with a different chip.
There are plenty of USB hubs with built-in NICs behind the hub, that can achieve full ethernet bandwidth. I even have a hub with a built-in RTL8156 and it achieves 2.4 gbps. And a separate RTL8156 plugged into a random hub also hits that.
So it certainly seems possible to have an additional device in the signal path.
The fix is actually to plug it directly into the host, and not use a hub. Very common thing to need to do with cheap or older USB Hardware. Paying more money for something new when the old one works fine is pointless and wasteful.
> The fix is actually to plug it directly into the host, and not use a hub.
This was true a long time ago. For some reason the "level of abstraction" cancer has hit also PC HW. You have to account for countless levels of busses and hubs when working with serial ports for example.
This isn't always a viable option, see for example the whole concept of docking stations.
The proper fix is to get the device manufacturer to release a firmware patch which accounts for a worst-case scenario acknowledgement round trip time by sending bigger bursts - but good luck with that...
The datasheet[0] makes no mention of field reprogrammability, but that likely wouldn’t help anyway. The maximum burst size is probably dictated by how much physical RAM the chip has to buffer packets.
The datasheet does mention support for EEPROM and SPI storage, eFuses, and a USB interface with a vendor-specific "in-house configuration" for "enhanced features and optimized performance". It even explicitly mentions some other features being configurable via "register", but never clarifies how to do that either.
What you've got to remember is that with nontrivial chips the datasheet is primarily intended for purchasing decisions. It is a high-level summary of the most important features and specifications. All the technical details are going to be in a separate many-hundred-page Application Manual.
Besides, the physical RAM likely isn't the limitation here. It has explicit support for 16k jumbo frames, so it is going to have at least that much buffer space.
This would have been a valid criticism 10 years ago. Today, a MacBook Pro comes with 3 Thunderbolt ports, each driven by an independent controller. You get a full 40Gb/s on each port. This is best-in-class connectivity.
> 2026 Studio Display XDR, with everything plugged into it so switching laptops is one cable
I think I'd have accepted having two cables from the get-go. And if I observed this problem, the first diagnostic I would do is to plug the Ethernet directly into the laptop.
Fewer technical pieces in a puzzle sometimes trumps ease of use.
With a $3300 monitor? Not a chance. When you are dropping that kind of money on your setup and it performs worse than a $35 docking station, having to mess around with that kind of ugly workaround is unacceptable.
"Ease of use" is the whole point of monitors with integrated docking stations, or even of USB-C in general. Going back to a worse UX than a 2005 Dell laptop dock? Hell no, not going to happen: something is broken here and it will end up getting replaced.
The Studio Display also takes an extra half second to activate its mic vs the onboard MacBook mic (~0.10 vs ~0.60) which is something I would never have noticed until I tried using the various whisper/parakeet STT apps.
The first rule of troubleshooting is to try to cut down the search space as much as possible with each question. My first reaction would have also been to plug directly into the computer to see if there's a bottleneck or failure at the monitor.
I was under the impression that in the Apple ecosystem, you pay for better integration. Apple’s XDR display should really be able to handle this better. Or have the drivers negotiate with the chipset better.
I mean, the guy’s using a USB Ethernet adapter with one of the cheapest NICs on the market that can do 2.5GbE, and it’s the behaviour of its firmware that caused this problem. It would have performed identically behind any hub. How is this apple’s fault?
"Better" is subjective. I think monitor is a better title, because it gives misdirection, so we the readers learn the same time OP did in the story. Unreliable narrator and all that.
I understand that not everybody likes this, because it can feel like a trick, or patronizing, or lying. But in my experience, it works very well for people.
I've got a few USB drives that are always attached that I do stuff with.
To pick a not-RAID example, I've got an old (2012-vintage) 180GB SATA SSD, from Intel, on my desk. It gets used as scratch space for big-ish file operations, where it gets hammered hard periodically, usually in bursts. It's plugged into a cheap SATA <> USB 3 adapter, and is otherwise-unadorned. It is bus-powered.
It's usually connected to the back of the PC, but it's been plugged into different USB ports (with different controller types) and also external hubs.
I don't recall what its exact status was when I starting doing that with it after pulling it out of a gently-used Thinkpad T530 about 5 years ago, but I do recall thinking that it had lots of life left.
Here's where it is today:
- 10.6 years powered on
- 81TB written (of 36.5TB promised); ~222% over spec
- Zero reallocated sectors
- One singular hardware-reported error (corrected)
- Zero sector reallocations
And the pièce de résistance:
- Zero reported errors according to ZFS checksums
That last one is important because in this application, ZFS automatically and continuously provides end-to-end verification, and it's been doing...perfectly fine.
The other USB storage devices here that are used 24/7 are similar in this way. It's not hellish at all. It's quite lovely.
I'm inclined to further extrapolate that it would not have better data integrity when connected directly to a SATA port on the motherboard, or in a disk shelf attached via iSCSI or SAS or some other more-stodgy thing. It's hard get results that exceed beyond perfection.
(But in this example, I'm not chasing down minute bus timing issues with multi-gig networks. That's a very different kind of discussion.)
Currently on the fourth and most stable iteration of the "usb raid" project.
1. btrfs raid1 - chosen for different size disk compatibility but failed due to UAS issues with the HDD enclosures.
2. bcachefs raid1 with metadata on separate USB SSDs - worked the longest with its fsck ironing many issues but ultimately the metadata got irreparably damaged due to some USB <-> SATA bridge issue compounded with hub power loss.
3. lvmraid 1 - worked for a while but failed after USB hub power loss.
4. snapraid + mergerfs in raid5 config - currently using this though not realtime raid. fast and stable. no issues if a disk drops out or hub power fails. finally ironed out the UAS and hub issues.
Looking back, if I really needed realtime raid I would go back to bcachefs, such a shame it's not in the kernel anymore. The failures in all cases were faulty UAS implementation in SATA enclosures compounded by USB hub design issues (chaining hubs internally) and of course the odd hub power loss that would send a teetering array into the abyss.
No question purchasing a NAS would've been the saner choice but I really don't like throwing things away if I can help it.
In my experience, data integrity and long-term reliability of products that actually work correctly in the first place are not an issue, nor is performance if you don't have unrealistic expectations.
It's not like hard drives and SSDs underlying USB storage are engineered to lower quality standards than internal drives; they're typically similar if not identical. The only instance where I've observed special-purpose hardware is drives incorporating USB bridge logic directly on the drive's controller rather than on a separate board connected via a traditional SATA interface as a cost-cutting measure.
Problems I have seen are typically the result of hardware or firmware bugs leading to frequent disconnections or even failure to attach in the first place, power problems due to low-quality power supplies, overloading controllers or hubs with too many bus-powered devices, or knowingly or unknowingly using hardware clearly not fit for purpose (expecting good random read/write I/O performance from an array incorporating one or more of SMR drives, SATA port replicators, and non-UAS bridge chips; expecting hot-running drives to remain within their operating temperature range in environments with relatively high ambient temperatures when installed in enclosures with little or no airflow, etc.).
…and you're like 10% of the way to even peak bandwidth hitting 600 mbps. It's crazy how little anything uses, outside of software updates that are cached at a local CDN node. See also: https://www.wsj.com/graphics/faster-internet-not-worth-it/
I still maintain that part of why The Cloud works at all is how much we struggle to saturate networking hardware with a single process/core these days. That limits how noisy your neighbors can be and probably breaks one of the 8 Fallacies.
Every so often someone tries a new way to push throughput which might fix this and I wonder what happens then.