> ## Documentation Index
> Fetch the complete documentation index at: https://docs.intuitibits.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Latency and responsiveness

> How throughput, idle latency, latency under load, bufferbloat, jitter, packet loss, and responsiveness in RPM relate, and how Wi-Fi affects them, as used throughout the Intuitibits guides.

Speed tests usually report throughput: how much data a connection moves per second. Many applications care more about delay. A video call, a game, or a remote desktop session sends small amounts of data and needs each one delivered quickly. A connection can have plenty of throughput and still feel slow for these applications.

## Throughput and latency

* **Throughput** is the amount of data delivered per second, in Mbps or Gbps. It measures capacity. See [PHY rates and throughput](https://docs.intuitibits.com/concepts/phy-rates-and-throughput.md).
* **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.

The two are largely independent. A high-throughput connection to a distant server can have high latency, and a modest connection to a nearby server can have low latency.

## 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.

The difference comes from queues. When data arrives at a link faster than the link can send it, routers, access points, and other devices hold the excess in buffers. Every packet behind the queue waits its turn, including the small, time-sensitive packets of a call or game.

### 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's `networkQuality` 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](https://docs.intuitibits.com/wifisignalpro/check-internet-connectivity.md) and [Evaluate responsiveness when throughput looks normal](https://docs.intuitibits.com/wifisignalpro/investigate-wifi-problems.md#evaluate-responsiveness-when-throughput-looks-normal).

## See also

* [Glossary: Latency](https://docs.intuitibits.com/glossary.md#latency), [RPM](https://docs.intuitibits.com/glossary.md#rpm), [Bufferbloat](https://docs.intuitibits.com/glossary.md#bufferbloat)
* [PHY rates and throughput](https://docs.intuitibits.com/concepts/phy-rates-and-throughput.md)
* [Channel utilization and airtime](https://docs.intuitibits.com/concepts/channel-utilization-and-airtime.md)

## References

* [Responsiveness under Working Conditions](https://datatracker.ietf.org/doc/draft-ietf-ippm-responsiveness/), IETF IP Performance Measurement working group Internet-Draft.
* [RFC 8290](https://www.rfc-editor.org/rfc/rfc8290): The Flow Queue CoDel Packet Scheduler and Active Queue Management Algorithm.
* [RFC 7567](https://www.rfc-editor.org/rfc/rfc7567): IETF Recommendations Regarding Active Queue Management.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.