Measuring Useful Data Delivered Over Time
Goodput describes useful application data successfully delivered per interval under a stated workload. Protocol overhead and retransmitted data can account for other traffic.
- Source
- Anbloq
- Language
- English
- Created
- Updated
- Chapters
- 4
- Reading time
- 1 min
In this article4 chapters
Work a small transfer
Receiving 500 kilobytes of useful data in two seconds yields 250 kilobytes per second on that measure. The link can carry a greater byte rate. See payload and headers.
Choose the measured interval
Include or exclude startup consistently depending on which experience is being studied. A complete one-file transfer and a warmed sustained stream answer different questions. Transfer rate and latency clarify that choice.[1][2]
Compute useful rate from distinct accepted payload bytes
Suppose a sender transmits 1.2 megabytes during a two-second interval, including headers and redundant transfers. The receiver accepts one megabyte of unique useful payload. Goodput over that interval is 0.5 megabytes per second. See packet overhead.
Sent bytes: 1.2 MB
Accepted useful payload: 1.0 MB
Time: 2 s
Useful rate: 0.5 MB/s
State which interval and completion are included
Counting from first data byte excludes earlier connection setup. Counting from request start includes setup and waiting. Keep accounting consistent across runs and state how duplicate deliveries are recognized.