Throughput and latency
- Throughput is the amount of data delivered per second, in Mbps or Gbps. It measures capacity. See PHY rates and throughput.
- Latency is the time it takes data to cross the network. It’s usually measured as round-trip time (RTT): the time from sending a request to receiving the reply, in milliseconds.
Idle latency and latency under load
Latency depends on what else the connection is doing:- Idle latency is measured when the connection is otherwise quiet. It reflects the distance to the server, the number of hops, and the processing along the path. This is what a simple ping test shows.
- Latency under load, also called working latency, is measured while the connection is busy, for example during a large download or upload. It’s often much higher than idle latency.
Bufferbloat
Bufferbloat is excessive latency caused by oversized or poorly managed buffers. A device with a large buffer and no active queue management lets the queue grow until it adds hundreds of milliseconds or more of delay. Throughput stays high, so speed tests look fine, but interactive applications stall whenever the connection is busy. Queues form at the narrowest point on the path, which can be the Wi-Fi link, the home router’s uplink, or the Internet provider’s network. Wi-Fi adds its own sources of delay: contention for airtime, retransmissions, and buffering in the access point and the client’s driver. Smart queue management algorithms, such as FQ-CoDel or CAKE, and per-station airtime fairness in access points can greatly reduce latency under load.Responsiveness and RPM
Responsiveness measures how quickly a connection responds while it’s under load. It’s commonly expressed in round trips per minute (RPM), a metric developed by Apple engineers and others in the IETF: RPM ≈ 60,000 ÷ round-trip time in milliseconds So 1000 RPM corresponds to round trips of about 60 ms, and 200 RPM to about 300 ms. Higher is better. RPM is a frequency rather than a time so that bigger numbers mean a better experience, like throughput. A responsiveness test saturates the connection with downloads, uploads, or both, and measures several kinds of round trips at the same time, such as establishing new connections and exchanging data on existing ones. The result reflects how a real application would experience the connection while it’s busy. Because it combines several measurements, a test’s RPM isn’t necessarily equal to 60,000 divided by one measured latency. Implementations differ in their details, so compare results from the same tool. Apple’snetworkQuality command in macOS reports responsiveness this way. The method is described in the IETF Internet-Draft Responsiveness under Working Conditions, which hasn’t been published as an RFC.
Jitter and packet loss
- Jitter is the variation in latency from one packet to the next. Real-time applications buffer incoming audio and video to smooth it out; large jitter forces bigger buffers, which add delay, or causes gaps. On Wi-Fi, contention and retransmissions are common sources of jitter.
- Packet loss is the share of packets that never arrive. Wi-Fi retransmits lost frames at the link layer, so radio errors usually show up as added latency and jitter rather than as loss. Packets are lost when retransmissions are exhausted, when buffers overflow, or because of problems beyond the Wi-Fi link. TCP treats loss as a sign of congestion and slows down, while real-time applications using UDP may simply skip the missing data.
Wi-Fi link versus end-to-end performance
An Internet test measures the whole path between the device and a test server: the Wi-Fi link, the local network, the router, the Internet service, and the server itself. A poor result doesn’t by itself show where the problem is. To narrow it down:- Compare with the Wi-Fi link’s readings. A high SNR, steady PHY rate, and moderate channel utilization suggest the Wi-Fi link isn’t the bottleneck.
- Test close to the access point. If results stay poor with a strong, uncontended Wi-Fi link, the cause is more likely beyond it.
- Compare directions. Low responsiveness in only one direction points to a queue in that direction, for example in the upload path of the Internet connection.
- Repeat the test. Results vary with other traffic on the network and the Internet. Compare results taken under similar conditions.
In the Intuitibits apps
- WiFi Signal Pro checks whether your Mac can reach the Internet, tells a Wi-Fi problem apart from an Internet problem, and runs an on-demand test of idle latency, download and upload throughput, and responsiveness in RPM. See Check Internet connectivity and Evaluate responsiveness when throughput looks normal.
See also
References
- Responsiveness under Working Conditions, IETF IP Performance Measurement working group Internet-Draft.
- RFC 8290: The Flow Queue CoDel Packet Scheduler and Active Queue Management Algorithm.
- RFC 7567: IETF Recommendations Regarding Active Queue Management.