A help desk's voice packets leave every 20 ms but arrive 12, 45, 19 and 70 ms apart. Their average delay stays low and none go missing.
Measuring a network: capacity, delay, jitter and noise
A network can be fast and still unusable, much as a wide motorway can be fast and still make a delivery late if the lorries arrive in bunches. Six measures describe how well a network carries traffic, and each answers a different question. No background is assumed beyond TCP and UDP. Security staff need them because availability is a security property, and attacks often show first as a change in these numbers.
By the end of this unit you will be able to:
- Tell apart bandwidth and throughput, and convert between bits and bytes
- Explain latency, jitter and packet loss, and the limits voice can tolerate
- Calculate a signal-to-noise ratio in decibels and say what a low one causes
- Choose which measure explains a described problem
- Explain how quality of service and baselines connect performance to security
Full speed on the test, frozen on the call
An illustrative example
A village doctor's surgery pays for an 80 megabit broadband line. When video consultations keep freezing, the practice manager runs an online speed test. It reports 78 megabits per second, almost the full amount paid for.
The broadband company points to the test and says the line is fine. The doctors say that patients' faces freeze for a second or two, then jump forward, several times in every call.
If the line delivers nearly its full speed, what could still be making the video calls freeze?
Bandwidth is capacity; throughput is what gets through
Bandwidth is the most data a link can carry each second: its capacity. Throughput is the amount of data that actually gets across each second. Throughput can never be higher than bandwidth, and in practice it is lower.
Lanes and lorries
A three-lane motorway can carry so many lorries an hour: that is its bandwidth. Roadworks, a breakdown or traffic joining from slip roads mean fewer actually pass a bridge each hour: that is its throughput.
Both are measured in bits per second. A kilobit is 1,000 bits, a megabit 1,000,000 and a gigabit 1,000,000,000, so 1 Gbps is a thousand times 1 Mbps. File sizes are usually given in bytes, and one byte is eight bits. A 100 megabyte file is 800 megabits.
Throughput falls below bandwidth for ordinary reasons. Every layer adds headers, other traffic shares the link, lost data is sent again, and the slowest device on the path sets the pace. When engineers test a device, they define its throughput as the highest rate it can handle without dropping anything.
Latency, jitter and packet loss: how timely and how complete
Latency is the time a takes to cross the network, measured in milliseconds (ms), each a thousandth of a second. It is measured one way, from sender to receiver, or as the round trip that a test such as reports. Distance, slow links and packets queuing in busy devices all add to it.
Jitter is the variation in latency from one packet to the next. If packets leave every 20 ms but arrive 15, 40, 18 and 60 ms apart, the delay is jittery. Voice and video software holds incoming packets in a short buffer to even them out. When jitter exceeds the buffer, sound breaks up and pictures freeze and jump.
Packet loss is the share of packets that never arrive, given as a percentage. notices the loss and sends again, so a file arrives complete but more slowly. does not, so a call simply loses those fragments of sound.
| Measure | Limit cited for voice | What happens beyond it |
|---|---|---|
| One-way latency | 150 ms upper bound | Speakers talk over each other |
| Packet loss | About 1 to 3 per cent at most | Words go missing; quality becomes unacceptable |
| Jitter | Must stay within the receiving buffer | Speech breaks up; video freezes and jumps |
The 150 ms figure comes from the International Telecommunication Union's recommendation on one-way delay, G.114, as cited in NIST's guidance on .
Signal-to-noise ratio: how clearly the signal can be heard
Every cable and radio channel carries some background noise: random electrical or radio energy that is not part of the message. The signal-to-noise ratio (SNR) compares the strength of the signal with the strength of that noise. A high ratio means the signal stands out clearly, like a voice in a quiet room. A low ratio is a voice in a noisy pub.
Signal-to-noise ratio in decibels
SNR (dB) = 10 × log10(signal power ÷ noise power)
- dB
- decibels, a scale for comparing two powers
- log10
- the power of ten that gives the number: log10 of 1,000 is 3
A signal 1,000 times stronger than the noise gives 10 × 3 = 30 dB. A signal only 10 times stronger gives 10 dB. Each extra 10 dB means ten times the power ratio.
A low SNR makes the receiver misread bits. Damaged frames fail their checks and are sent again, so throughput falls even though bandwidth has not changed. far from its access point, cables run beside electrical equipment and interference from other radios all lower SNR.
Jamming lowers it on purpose. Jamming is deliberate radio interference that drowns the signal, and it is a denial-of-service attack on a wireless link.
Six measures, six different questions
Each measure answers one question. A problem is explained by the measure that matches its symptom, not by the one best known.
| Measure | Question it answers | Unit | A typical cause of a bad reading |
|---|---|---|---|
| Bandwidth | How much could the link carry? | Bits per second | The link bought was too small |
| Throughput | How much does actually get through? | Bits per second | Congestion, resending, overhead |
| Latency | How long does one packet take? | Milliseconds | Distance, queues, slow links |
| Jitter | How much does the delay vary? | Milliseconds | Queues that fill and empty |
| Packet loss | How much never arrives? | Per cent | Full queues, damaged frames |
| Signal-to-noise ratio | How clear is the signal? | Decibels | Distance, interference, jamming |
Common misconception
“Calls that break up need a link with more bandwidth.”
A voice call needs very little bandwidth. Breaking up comes from jitter, latency and loss. If the link is not full, more bandwidth changes nothing; giving voice priority does.
Quality of service, baselines and attacks seen in the numbers
Quality of service (QoS) gives some traffic better treatment than others when a link is busy. In the common Differentiated Services method, each packet carries a mark in its IP header, and every router treats it by that mark. The mark called Expedited Forwarding is meant for traffic that needs low delay, low jitter and low loss, such as voice.
A baseline is a record of a network's normal readings: usual throughput at each hour, usual latency, usual loss. Without one, nobody can say whether today's numbers are a problem.
is one of the three core security properties, so these measures are security measures too. A flood of traffic shows as throughput collapsing while latency and loss climb. Data being stolen shows as outbound volume far above the baseline, often at night. Jamming shows as a falling signal-to-noise ratio. A monitoring system that alerts on departures from the baseline sees all three.
Worked example: Reading the surgery's link report
The surgery's link is 80 Mbps. A 600 megabyte file took 75 seconds to copy. During a video call, packets left every 20 ms and arrived 20, 22, 90, 18, 85 and 21 ms apart. Loss was 0.5 per cent.
- Convert the file to bits: 600 megabytes × 8 = 4,800 megabits.
- Throughput = 4,800 megabits ÷ 75 seconds = 64 Mbps.
- Compare with bandwidth: 64 ÷ 80 = 80 per cent of capacity. The link is delivering most of what was bought.
- Look at the arrival gaps: most are near 20 ms, but two are 85 and 90 ms. The delay varies by about 70 ms, so jitter is high.
- Loss at 0.5 per cent is inside the 1 to 3 per cent that voice and video tolerate.
Capacity and loss are acceptable; jitter is not. The freezing comes from packets queuing behind other traffic. Giving video and voice priority with quality of service is the fix, not a bigger line.
A question, worked through
A council's contact centre reports that telephone calls break up during the afternoon. Monitoring shows the 1 Gbps link at 30 per cent use, one-way latency of 40 ms, loss of 0.2 per cent and delay that varies by up to 80 ms between packets. The IT manager asks the security manager to approve a fix.
Which fix should the security manager support as MOST likely to work?
Decide on your answer, then open the reasoning
- Match the symptom to a measure. Latency and loss are within voice limits, the link is far from full, and the delay varies by 80 ms. The problem is jitter.
- Rule out a: the link is at 30 per cent, so capacity is not the limit. More bandwidth leaves the queues that cause jitter unchanged.
- Rule out c: SRTP protects calls from eavesdropping, which is worth doing, but it does not change how long packets wait in queues.
- Between b and d: TCP would resend lost packets, but each resend arrives too late to be played, and waiting for it adds more delay.
- Priority marking lets voice packets skip the queue at each device, which is exactly what reduces jitter. The answer is b.
Answer: B. Mark voice traffic for priority handling at every switch and router
Choosing between good answers
- Calls or video break up on a link that is not full
- suspect jitter or latency, and choose quality of service over more bandwidth.
- A question gives a speed in bytes and another in bits
- convert first: one byte is eight bits.
- Wireless throughput falls with no change in users
- think signal-to-noise ratio: distance, interference or jamming.
- A question asks how to recognise an attack in performance data
- choose the answer that compares against a baseline of normal readings.
Check your understanding
4 questions on this unit, easiest first. Confirm an answer to see the reasoning for it, then the right answer, the other options and the rule to reuse. Your answers are kept in this browser and feed readiness and review.
These questions are drafts that no named reviewer has approved yet.
Question 1 of 4
What to remember
- Bandwidth is what a link could carry; throughput is what actually gets through, and it is always lower. Both are in bits per second, and a byte is eight bits.
- Latency is delay, jitter is variation in delay and packet loss is the share that never arrives; voice tolerates about 150 ms one way and only a few per cent loss.
- Signal-to-noise ratio, in decibels, says how clearly a signal stands out; a low ratio causes errors and resending, and jamming lowers it on purpose.
- Quality of service gives voice and video priority, which cures jitter that more bandwidth cannot.
- A baseline of normal readings turns performance data into a way to spot floods, data theft and jamming.
Say it from memory
Define bandwidth, throughput, latency, jitter and signal-to-noise ratio, with the unit of each, and say which one most often explains broken-up voice calls.
Bandwidth: capacity of a link, in bits per second. Throughput: what actually gets through, also bits per second and always lower. Latency: time for a packet to cross, in milliseconds. Jitter: variation in that delay, in milliseconds. Signal-to-noise ratio: signal strength against background noise, in decibels. Broken-up calls on a link that is not full usually mean jitter, cured by quality of service.
How many megabits is a 100 megabyte file, and why does throughput fall below bandwidth?
One byte is eight bits, so a 100 megabyte file is 800 megabits. Throughput falls below bandwidth because every layer adds headers, other traffic shares the link, lost data is sent again and the slowest device on the path sets the pace.
What limits are cited for one-way latency and packet loss on a voice call, and what happens when jitter exceeds the receiving buffer?
The upper bound for one-way latency is 150 ms, from the ITU recommendation G.114 as cited by NIST. Packet loss should be about 1 to 3 per cent at most. When jitter exceeds the buffer, sound breaks up and pictures freeze and jump.
What signal-to-noise ratio does a signal 1,000 times stronger than the noise give, and what is jamming?
SNR in decibels is 10 × log10 of signal power over noise power, so 1,000 times stronger gives 10 × 3 = 30 dB. Each extra 10 dB means ten times the power ratio. Jamming is deliberate radio interference that drowns the signal, a denial-of-service attack on a wireless link.
What is a baseline, and how do a flood, data theft and jamming each show in the readings?
A baseline is a record of a network's normal readings, such as usual throughput at each hour, latency and loss. A flood shows as throughput collapsing while latency and loss climb. Data theft shows as outbound volume far above the baseline, often at night. Jamming shows as a falling signal-to-noise ratio.
Sources
- RFC 1242: Benchmarking Terminology for Network Interconnection Devices, IETFThroughput, in device benchmarking, is the maximum rate at which none of the offered frames are dropped.
- RFC 7679: A One-Way Delay Metric for IP Performance Metrics (IPPM), IETFOne-way delay is a defined metric for packets crossing an internet path.
- RFC 7680: A One-Way Loss Metric for IP Performance Metrics (IPPM), IETFOne-way packet loss is a defined metric for packets crossing an internet path.
- RFC 3393: IP Packet Delay Variation Metric for IP Performance Metrics (IPPM), IETFVariation in packet delay is often called jitter.
- RFC 3550: RTP: A Transport Protocol for Real-Time Applications, IETFInterarrival jitter is the mean deviation of the difference in packet spacing at the receiver compared with the sender.
- NIST SP 800-58: Security Considerations for Voice Over IP Systems, NISTG.114 gives 150 ms as the upper bound for one-way voice latency; jitter is handled with a buffer; tolerable voice loss is within 1 to 3 per cent.
- NIST Guide to the SI, Chapter 8: Comments on Some Quantities and Their Units, NISTA power level in decibels is 10 lg of the ratio of two powers.
- NIST CSRC Glossary: jamming, NISTJamming is a deliberate disruption of radio communication that degrades the receiver's performance.
- RFC 2475: An Architecture for Differentiated Services, IETFDifferentiated Services marks packets in the IP header so that each node applies a per-hop forwarding behaviour.
- RFC 3246: An Expedited Forwarding PHB (Per-Hop Behavior), IETFThe Expedited Forwarding per-hop behaviour is intended for low delay, low jitter and low loss services.
- NIST SP 800-94: Guide to Intrusion Detection and Prevention Systems (IDPS), NISTAnomaly-based detection compares observed activity with profiles, or baselines, of normal behaviour built over a period of time, such as the share of bandwidth web traffic takes in working hours, and alerts on significant deviations; it is most accurate against attacks that create large amounts of traffic quickly, such as distributed denial of service.