ELEC3506

Topics

Quality of ServiceLecture 10 PDF10 min

QoS metrics

The four things measured to judge QoS, why throughput is below bandwidth, how goodput is narrower still, and what causes packet loss.

By the end of this page you should be able to

  • Distinguish bandwidth from throughput using the lecture's 1 Mbps and 200 kbps example
  • Define goodput and give the three reasons it is below throughput
  • List the causes of packet loss and say why loss is not always a problem
  • Name the four QoS metrics the lecture lists

The idea

The speed printed on a link and the speed you actually get are rarely the same number. QoS needs measurements, and the lecture’s first two are about how much data really gets through, then how much of that is actually useful.

How it works

The four metrics

The lecture lists four QoS metrics: throughput and goodput, packet loss, delay and jitter. Delay and jitter are defined in QoS and flow characteristics, and this page covers throughput, goodput and loss.

How it works

Throughput versus bandwidth

The terms bandwidth and throughput are not the same.

  • Bandwidth is the maximum rate at which data can be moved over a given link.
  • Throughput, sometimes called effective bandwidth, is the actual speed over a link or circuit.

Throughput is less than the potential bandwidth. The lecture’s example is a link with a bandwidth of 1 Mbps whose throughput may be 200 kbps if the devices connected to the link can only handle 200 kbps.

Worked example

The lecture's throughput example

  1. Bandwidth: the link can carry at most 1 Mbps = 1000 kbps.

  2. Bottleneck: the connected devices handle only 200 kbps.

  3. Throughput: the actual speed is 200 kbps.

  4. Ratio: 200 / 1000 = 0.2, so only one fifth of the capacity is used.

AnswerThroughput is 200 kbps, one fifth of the bandwidth.

How it works

Goodput

Goodput is the application-level throughput. It is the number of useful, correct bits per unit of time from a source to a destination, excluding protocol overhead such as headers and excluding retransmitted data packets.

Goodput is less than throughput because of:

  • protocol overhead
  • transport-layer flow control and congestion avoidance
  • retransmission of lost or corrupt packets
BandwidthThroughputGoodput
What it measuresMaximum rate a link can move dataActual speed over the linkUseful correct bits per unit time at application level
RelationLargestLess than bandwidthLess than throughput
Counts headers and retransmissionsNot applicableYesNo
Each step down strips something: the bottleneck, then the overhead and repeats.

How it works

Packet loss

Packet loss means some packets fail to reach the destination. The lecture lists these causes:

  • signal degradation
  • channel congestion
  • corrupted packets rejected in transit
  • faulty networking hardware or routing configurations

Protocols such as TCP recover lost packets. The lecture also says packet loss does not always indicate a problem, because some loss is acceptable.

Where marks get lost

Throughput is not the sender's rate

A common wrong answer to the 1 Mbps / 200 kbps question is 1 Mbps, because the link is rated at that. Throughput is measured at what actually passes, so the slowest part sets it.

In the exam

  • Bandwidth is maximum, throughput is actual (effective bandwidth).
  • Goodput needs three words: application level, useful, excluding overhead and retransmissions.
  • Reasons goodput is below throughput: protocol overhead, flow and congestion control, retransmission.
  • Loss causes: signal degradation, congestion, corrupted packets rejected, faulty hardware or routing. TCP is the named recovery protocol.

Check yourself

  • Metrics are throughput and goodput, packet loss, delay and jitter.
  • Throughput is the actual speed. The lecture’s example is 200 kbps on a 1 Mbps link.
  • Goodput is throughput minus overhead and retransmissions.
  • Loss has several causes and a small amount is acceptable.

Check yourself

  1. A link has a bandwidth of 1 Mbps but the devices on it can only handle 200 kbps. What is the throughput?
  2. Which of these is NOT excluded from goodput?
  3. Which is a cause of packet loss given in the lecture?
  4. Order these from largest to smallest, in general.