Why a USB Bus Falls Short of a Theoretical 10x Throughput
A higher advertised line rate on a high-speed serial bus is not the same as application-layer throughput. This article explains the gap through encoding, transaction overhead, host scheduling, and electrical limits, and it also covers pull-up placement and multi-master arbitration on a two-wire open-drain bus.
The advertised rate of a high-speed serial bus is almost always the upper bound on the symbol rate on the wire, not the useful byte throughput an application sees. If you size caches, DMA, and real-time budgets as if “ten times the nominal rate” meant “ten times the measured throughput,” integration often reveals a bandwidth shortfall. The sections below explain why the gain is not tenfold, covering physical encoding, link-layer overhead, host-controller scheduling, and electrical constraints. They also cover the correct approach for another common bus—a two-wire synchronous bus—when choosing pull-ups and supporting multiple masters.
Nominal rate and useful throughput are not the same thing
Take a common high-speed universal serial bus. An earlier generation is often rated at a line rate on the order of a few hundred megabits per second; the next generation is often advertised as about ten times that. That factor of ten comes first from a higher signaling rate, wider differential lanes, and more complex encoding and link management. Application throughput is:
line rate × encoding efficiency × protocol efficiency × scheduling efficiency × (1 − retransmission fraction from errors).
If any term is well below 1, the overall gain is far from tenfold.
Encoding efficiency is the first term people underestimate. Earlier generations commonly used NRZI-style encoding plus bit stuffing: after a run of identical bits, the opposite bit is forced in so the receiver does not lose clock. When the payload contains long runs of 1s, stuffing reduces the payload fraction; in the extreme it can approach 6/7. Budgeting a few percentage points of average loss is not excessive. Newer interfaces use block codes with better DC balance—for example, mapping a group of bits to a longer codeword. Overhead changes from “occasionally insert one bit” to “a fixed fraction of redundant bits,” so part of the advertised tenfold gain is already consumed.
Transaction structure: tokens, headers, checks, and gaps
The protocol does not let you treat the bus as an infinite FIFO and stream data continuously. A typical transfer includes at least a token or transaction header, a data stage, a checksum, a handshake, and the inter-transaction gap plus bus turnaround. Inside the data stage there are still headers, sequence numbers, and cyclic redundancy checks. The shorter each transfer, the larger the fixed overhead as a share of the bus time. Even with large packets, the host controller may still slice the bus by endpoint, bandwidth reservation, and isochronous versus bulk priority.
That produces a counterintuitive result: the line rate may rise by about an order of magnitude, but if software still sends small packets, submits them frequently, and waits synchronously for a completion interrupt, useful throughput may rise only by a few times. Bulk transfers can approach the post-encoding ceiling when the bus is idle. Once they share the bus with isochronous and interrupt traffic, the scheduler must reserve time for real-time streams, and the burst peak of the bulk path is reduced.
Frame gaps and turnaround are not negligible. On a high-speed differential pair, switching from transmit to receive, or from OUT to IN, needs electrical settling time. Host and device must also parse the packet and prepare a response. Gaps of microseconds or less add up to a meaningful bandwidth loss at high packet rates.
A second discount from the host stack, drivers, and the application
The “theoretical maximum” in a chip manual usually assumes unlimited bursts, ideal DMA, no contention from other devices, and no operating-system scheduling delay. In a real system, the driver may submit work by pages or descriptor rings. A poor interrupt-coalescing policy creates bubbles: the next ring is filled only after an interrupt. If the application writes a tiny buffer each time, one transfer that could have been merged is split into many system calls. Extra copies—user space to kernel, kernel to controller—consume CPU and indirectly limit how fast work can be submitted.
Errors and retransmissions are another discount. Cable length, connector contact, supply noise, and common-mode interference all raise the bit error rate. Link-layer retries are especially costly for latency-sensitive traffic: a retry uses bandwidth and can disrupt isochronous scheduling. Plan “available bandwidth” as the post-encoding rate times a margin, not as the advertised tenfold rate divided by eight to get bytes per second.
How to measure bandwidth in a reproducible way
Measure in layers so every loss is not blamed on “the interface.”
Physical and link layers: use a protocol analyzer or controller counters for symbol errors, retraining, and recovery counts. If the link trains often, check cables, power, and ground return before changing software.
Transaction layer: count transactions per second, average packet length, and handshake failure rate. If the average packet is short, merge buffers and increase the size of each submission.
Host stack: watch whether the descriptor ring stays full, the interrupt rate, and CPU use. A ring that is often empty means software cannot keep up. A full ring while the bus is still idle points to scheduling or endpoint configuration.
Application layer: large sequential reads and writes, without waiting synchronously for every completion, are what approach the bulk ceiling. For real-time work, evaluate worst-case latency separately; do not look only at average throughput.
Pull-ups on a two-wire bus: not one pair per device
Another frequent question is whether a shared open-drain bus needs a pull-up pair on every device, or only on the host side. The answer is electrical, not a function of how many roles exist.
An open-drain or open-collector bus relies on an external pull-up to hold the idle level high. Outputs of every device are wired in parallel; if any device drives low, the whole line is low. The equivalent pull-up resistance is the parallel combination of every pull-up, and capacitance comes from every pin, via, and trace length. Therefore:
Usually one well-chosen pull-up pair—one resistor on the clock line and one on the data line—placed at the bus ends or near the host is enough. Do not add another parallel pair on every device. Too many device-side pull-ups make the equivalent pull-up too strong, so devices struggle to drive the bus low, the logic-low level rises, and both power and noise margin get worse.
Choose the resistance as a tradeoff between rise time and sink current. Too large, and bus capacitance slows the rising edge until high-speed timing fails. Too small, and the current while driven low is excessive, the low level rises, or a pin’s sink-current rating is exceeded. Estimate rise time from total bus capacitance, then check VOL and IOL of the weakest driver.
On long runs, with many devices, or with hot-plug, a weaker pull-up or series damping at the far end can help. Treat that as impedance and ringing control, not as a default pair on every chip.
Multiple masters: arbitration is open-drain, bit by bit, with self-monitoring
On a two-wire bus, multi-master operation is a carefully designed part of the protocol. When the bus is idle, any master may issue a start condition. Collisions are not resolved by “who claimed a chip select first.” They use the wired-AND behavior of the open-drain lines: a master samples the bus while it sends an address or data. If it drives high but reads low, another master is driving low, this master has lost arbitration, and it must immediately become a target or release the bus so the winner can finish the transaction.
That implies the pull-ups must make a high level reliably visible to every master. The clock line must also allow clock stretching, where a target holds the clock low while it finishes internal work. In an interview or a design review, being able to state that arbitration is bit-wise wired-AND plus self-monitoring—not an extra grant line—usually separates someone who memorized a timing diagram from someone who has built a multi-master board.
Multi-master designs also need a single address plan and timeout recovery. If a master that loses arbitration does not release the bus correctly, or a target sticks in clock stretch, the bus deadlocks. Provide timeout detection and a way to force a stop condition or reset the bus, and at power-up keep every open-drain pin high-impedance until reset is released.
One checklist for both buses
Whether the interface is a high-speed differential universal serial bus or a slower open-drain two-wire bus, design mistakes tend to look the same: treating the nominal rate as useful throughput, treating “it links” as “timing and noise margin are met,” and treating protocol overhead as a constant you can ignore.
At architecture time, write down the target useful bandwidth, maximum packet length, worst-case latency, total capacitance and pull-up range, arbitration and deadlock recovery, and a layered test method. If device logs and throughput curves need to be collected in the cloud, archive capture summaries in object storage and watch retransmissions and timeouts with logging and monitoring alerts, instead of relying on a single lab peak.
The conclusion is plain. After encoding, transaction headers and trailers, scheduling, and retries, a tenfold line rate commonly yields only a few times more application throughput. On a two-wire bus, design the pull-up values in one place, and rely on open-drain arbitration for multiple masters rather than stacking resistors. Modeling these costs explicitly is more useful than complaining later that theory and measurement do not match.
