Sub topic 20
Why Real Throughput Is Lower Than the Headline Rate
This chapter assumes you know what a channel and channel width are, and that you have seen the terms CSMA/CA, MCS and spatial stream. It explains why a link advertised at "1201 Mbps" delivers a few hundred Mbps in a file transfer. It also shows how to estimate the gap and measure it.
Headline rate versus goodput
The number on the box is the PHY rate, also called the link rate. It is the speed at which bits are sent over the air while a frame is being transmitted. The number you care about is goodput: application data delivered per second, after all overhead and waiting.
The PHY rate comes from the modulation and coding scheme (MCS), the channel width, the number of spatial streams, and the guard interval. For example, an 802.11ac client with 2 streams on an 80 MHz channel at MCS 9 and a short guard interval has a PHY rate of 866.7 Mbps. A typical router box adds the rates of several radios or streams to produce a larger number. That sum is a marketing figure, because one client uses only one radio at a time.
Goodput is lower for four reasons:
- The link may not run at its top MCS.
- Frames carry headers, preambles and acknowledgments.
- Wi-Fi is half duplex and shared, so devices wait for each other.
- Retries, other protocol layers and the wired path take their share.
Signal quality limits the MCS
The top MCS needs a very clean signal. MCS 9 with 256-QAM needs a high signal-to-noise ratio (SNR), roughly 30 dB or more. As a client moves away or walls absorb signal, the radio steps down to a lower MCS with a simpler constellation and more error correction. This is called rate adaptation.
| Signal quality | Typical result |
|---|---|
| Strong signal, low noise | High MCS, near the headline rate |
| Moderate signal | Mid MCS, often 30 to 60 percent of the headline rate |
| Weak signal or high noise | Low MCS, many retries, very low goodput |
A drop in MCS also makes each frame last longer on the air. A slow frame uses airtime that every other device on the channel then cannot use.
Per-frame overhead
Each transmission carries fixed costs that do not shrink when the data rate rises.
- Preamble and PHY header. Every frame starts with a preamble that receivers use to synchronize. It is sent in a fixed way and takes tens of microseconds.
- MAC header and checksum. Each frame has a MAC header and a frame check sequence.
- Interframe spaces and backoff. CSMA/CA makes a sender wait a short interval, then a random backoff, before it transmits.
- Acknowledgments. The receiver must confirm unicast frames. The ACK is sent at a basic rate, and it needs its own preamble.
Because these costs are fixed in time, they matter more as the data rate grows. At a high PHY rate, the payload part of a frame is very short, so the fixed time dominates. This is why frame aggregation exists in 802.11n and later. A-MPDU packs many frames into one transmission with one preamble and one block acknowledgment, which improves efficiency.
The next code example estimates efficiency for a single sender. It uses simplified, illustrative timing values, not figures from a specific standard.
def efficiency(phy_mbps, payload_bytes, overhead_us):
"""Fraction of airtime spent sending payload bits."""
payload_us = payload_bytes * 8 / phy_mbps # bits / (Mbit/s) = microseconds
return payload_us / (payload_us + overhead_us)
# Assume about 150 microseconds of preamble, backoff, spacing and ACK per transmission.
OVERHEAD_US = 150
for phy in (54, 300, 866.7):
single = efficiency(phy, 1500, OVERHEAD_US)
aggregated = efficiency(phy, 1500 * 32, OVERHEAD_US) # 32 frames in one A-MPDU
print(f"PHY {phy:>6} Mbps: single frame {single:5.1%}, 32-frame aggregate {aggregated:5.1%}")Running it shows that a single 1500-byte frame uses about 60 percent of airtime at 54 Mbps, but under 10 percent at 866.7 Mbps. Aggregation brings the high-rate case back above 70 percent. The exact values depend on the assumed overhead, but the trend holds: faster links need aggregation to avoid wasting airtime.
Half duplex and a shared medium
An access point and its clients share one channel. Only one device can transmit at a time on that channel, and the AP sends and receives on the same frequencies. A wired gigabit Ethernet link carries 1 Gbps in each direction at once. A Wi-Fi link with a 1 Gbps PHY rate carries at most that figure in both directions combined, and only when nothing else is talking.
Every extra client adds contention. When two devices pick the same backoff slot, their frames collide and both must retry, with a larger backoff window each time. Collision losses grow with the number of active stations.
Airtime fairness and slow clients
CSMA/CA gives devices roughly equal chances to send a frame. It does not give them equal time. A client on a weak signal sending at 6.5 Mbps needs far more airtime for a frame than a client sending at 866 Mbps. If both get the same number of transmission turns, the slow client consumes most of the airtime. This effect is called the performance anomaly. One distant phone can pull down the throughput of everyone on that AP.
Some access points offer airtime fairness, which schedules by time instead of by frame. Another mitigation is disabling the lowest basic rates, so that distant clients roam to a closer AP instead of hanging on at poor quality.
Interference and retries
Other networks on the same channel force your devices to defer. Even when their traffic is light, beacons from many nearby networks use airtime. Non-Wi-Fi sources such as microwave ovens and Bluetooth, mostly on 2.4 GHz, corrupt frames and trigger retries. Each retry repeats the preamble, the backoff and the data, and rate adaptation may lower the MCS in response, which makes every frame longer.
Wider channels make this worse. An 80 MHz channel has the same noise per hertz as a 20 MHz one, but it catches four times as many neighbors and four times as much total noise. A wider channel raises the PHY rate but can reduce goodput in a crowded environment.
Other limits outside the radio
The radio is not always the bottleneck. These also cap measured speed:
- Client hardware. Many phones have one or two spatial streams, and a narrow antenna setup. The AP's 4-stream rate applies only to clients that support it.
- Wired uplink. The AP's Ethernet port, the router, or your internet plan may be slower than the Wi-Fi link.
- Protocol overhead. IP and TCP headers, and TCP behavior on lossy links, reduce application data further. TCP reacts to loss by slowing down, even when the loss comes from radio errors and not congestion.
- Encryption and CPU. Weak CPUs in routers or clients can limit throughput, particularly with many small packets.
A worked estimate
Suppose a laptop has 2 streams and connects to an 802.11ac AP on an 80 MHz channel. The best PHY rate is 866.7 Mbps. In a quiet room with a strong signal, a typical goodput is around 55 to 65 percent of that, so roughly 480 to 560 Mbps. In another room, through two walls, the rate drops to MCS 5 (about 520 Mbps PHY), so goodput falls to perhaps 250 to 300 Mbps. With three busy neighbors on the same channel, available airtime may drop to a third, giving about 80 to 100 Mbps. These percentages are rules of thumb, not guarantees.
Measuring your own link
On Linux, iw reports the current rate. Then compare it with a throughput test.
# Show the current link: the tx bitrate and rx bitrate lines give the PHY rates in use
iw dev wlan0 link
# Per-station statistics, including retries and failures, when the card is in AP mode
iw dev wlan0 station dump
# Throughput test against a server on the wired side (iperf3 must be installed on both ends)
iperf3 -c 192.168.1.10 -t 20
iperf3 -c 192.168.1.10 -t 20 -RThe second iperf3 command uses -R to test the reverse direction. Run the test near the AP first, then in a far room. If the iw bitrate is high but iperf3 is low, suspect contention, interference or the wired side. If the bitrate itself is low, the signal is the issue.
Common mistakes
- Comparing the headline rate with a speed-test result, and treating the gap as a fault.
- Adding up the rates of several bands or radios to predict single-device speed.
- Widening to 160 MHz in a crowded building and seeing lower speeds.
- Testing over Wi-Fi to a server on the internet, where the internet path, not Wi-Fi, may be the limit.
- Ignoring one old or distant client that is slowing the whole channel.
Exercise
A client connects at a PHY rate of 600 Mbps. A speed test shows 270 Mbps, and the client is next to the AP with strong signal. Name two causes of the gap that are not a fault, and one measurement that would separate Wi-Fi limits from wired limits.
Show answer
Two normal causes are per-frame overhead (preamble, backoff, ACK, MAC headers) and half-duplex sharing of the channel with other devices. Aggregation reduces the first but never removes it. To separate Wi-Fi from wired limits, run iperf3 against a server on the local wired network, so the internet path is not part of the result. If that also gives about 270 Mbps, the Wi-Fi link is the limit. If it is much higher, the earlier result was limited by the uplink or the remote server.
Exercise
Why does one client on a weak signal at a very low rate reduce throughput for a nearby client with a strong signal on the same AP?
Show answer
CSMA/CA shares transmission opportunities roughly per frame, not per unit of time. The weak client's frames take much longer on the air because of the low rate, so it uses most of the channel's airtime. The nearby client waits longer between turns and gets less goodput. Airtime fairness or removing low basic rates reduces the effect.