Separate delay, delay variation, loss and throughput
Two calls have the same average one-way delay. On one call every packet arrives 40 ms after sending. On the other the delays alternate between 10 and 70 ms. Why might only the second call sound broken?
Separate delay, delay variation, loss and throughput
Latency is a time, jitter is variation and throughput is a rate. Compare all three under the same load. On wireless links, strong received power still permits contention and interference. A wired control measurement helps locate the fault before changing radio settings.
In the transcript
The performance lesson distinguishes a bottleneck from delay variation and shows why a general report of slowness needs measurements.
Work through the decision
Two calls have the same average one-way delay. On one call every packet arrives 40 ms after sending. On the other the delays alternate between 10 and 70 ms. Why might only the second call sound broken?
Check your reasoning
The average hides variation in arrival delay. A receiver must buffer uneven arrivals, and late packets may miss playout. Compare delay variation and loss alongside airtime and uplink utilization before changing bandwidth.
Performance Issues · video start · Read the instructor’s transcript
Decisions and tradeoffs
- Latency
- Time taken to cross the path. Measure one-way delay with synchronized clocks or report round-trip time explicitly.
- Jitter
- Variation in packet delay or arrival spacing. A stable average can hide bursts that interrupt real-time media.
- Packet loss
- Compare expected and received packets or sequence numbers. Missing packets may force retransmission or disrupt media.
- Throughput
- Useful data delivered per unit time. Compare measured goodput with link capacity and competing demand.
Practice the guide skills
- Compare offered load to link capacity and delivered throughput.
- Calculate delay, variation and loss from an observed packet series.
- Compare airtime contention and channel overlap with wired counters.
- Trace signal quality, roaming and disassociation at the location of a reported drop.
Official objectives for this lesson
Videos and transcripts for objective 5.4
Compare two call traces with the same average delay
Save this script as calls.py and run it with Python 3. Each row is a packet sequence and a one-way delay in milliseconds from a synchronized capture. Predict mean delay, missing packets and the mean absolute change between consecutive received delays. The last measure is a simple teaching statistic.
from statistics import mean
traces = {"A": [(1, 40), (2, 40), (3, 40), (4, 40)],
"B": [(1, 10), (2, 70), (3, 10), (4, 70)]}
for name, packets in traces.items():
received = {seq for seq, delay in packets}
delays = [delay for seq, delay in packets]
changes = [abs(b - a) for a, b in zip(delays, delays[1:])]
print(name, "mean", mean(delays), "variation", mean(changes),
"missing", sorted({1, 2, 3, 4} - received))
Check the result
A mean 40 variation 0 missing [] B mean 40 variation 60 missing []
Only B has uneven delay. Remove sequence 3 from B and rerun. The missing list becomes [3], average delay becomes 50 ms, and the teaching statistic becomes 30 ms. Record loss separately from delay variation. Compare a wired trace and channel utilization before attributing a real complaint to wireless interference.
Related lesson · Choose a signal and route an alert
Separate delay, delay variation, loss and throughput quiz
Answer 3 questions. Check each answer for an explanation.
Worked example · Separate delay, delay variation, loss and throughput