Bookmarks

Throughput

throughput, bandwidth

The amount of data or operations that a link, device or system handles per unit of time: megabytes per second, gigabits per second, requests per second.

Also: data transfer rate, bandwidth, network throughput

checked 9 Nov

All terms

Throughput answers the question “how much per second”: how many bits, bytes, packets or requests a system handles on average over the measurement period. It is the main metric for streaming workloads such as file copying, video broadcasts, backups and backends with a constant flow of requests.

Link bandwidth and actual speed

A link’s bandwidth is set by the medium and the hardware: gigabit Ethernet promises 1 Gbit/s, and an upgrade to 10GbE gives ten times more. Actual throughput is lower: part of the bandwidth goes on protocol headers, on acknowledgements for protocols that confirm delivery, and on retransmissions after loss on a radio link.

What an application sees is the useful speed: a 5 GiB update over a provider’s advertised 100 Mbit/s takes at best a little over seven minutes, and at an actual 70 Mbit/s, more than ten.

What is measuredUnitsExample
Linkbit/s: Mbit/s, Gbit/sgigabit port, actual speed 940 Mbit/s
Storagebytes/s: MiB/s, GB/sstreaming writes and reads of large files
Serviceoperations per second: RPS, transactions/sa backend sustaining 2,000 RPS
Goodputuseful data without headers and retransmissionsa 1,500-byte IP packet (Ethernet MTU) carries 1,460 bytes of TCP data

How it is measured

Between two nodes, speed is measured with iperf3: iperf3 -c server.example.com sends traffic in one direction, iperf3 -c … -R in the other, and the -P 4 flag opens four parallel streams, since a single stream often cannot fill the whole link. The measurement shows the actual speed here and now; for protocols such as TCP it also depends on latency and on loss along the path.

consoleFour parallel streams; the total speed is on the SUM line.
iperf3 -c server.example.com -t 10 -P 4…[SUM]   0.00-10.00  sec  8.90 GBytes  7.65 Gbits/sec   sender

Where else throughput is counted

  • Load testing: results show throughput as requests per second (RPS), and it must be read together with latency percentiles: rising RPS with growing latency means saturation, not success.
  • Storage: throughput in megabytes per second sits alongside IOPS; in sequential reads and writes the bottleneck is throughput, in random access it is IOPS and latency.
  • GPU clusters: the throughput of a model inference server is how many tokens per second it serves; it is most often limited by memory.
  • Methodology: in RFC 1242 (1991) the IETF defines a device’s throughput as the maximum rate at which none of the offered frames are dropped; RFC 2544 describes the measurement method.

Sources

the term is written from these pages

Verified 9 Nov

Not to be confused with

what it is mixed up with and how it differs

  • latency

    Latency is the time for a single packet or response; throughput is how many such packets pass per second.

  • IOPSinput/output operations per second

    IOPS counts operations per second, while storage throughput is counted in megabytes: 16,000 IOPS at 16 KiB each give 250 MiB/s.

  • QoSQuality of Service

    QoS divides the available bandwidth between traffic classes but does not increase the throughput itself.

In depth in the references

where the topic is covered in detail