Sub topic 14
Utilization and Why Queues Grow as Load Approaches Capacity
Assume you know bits, bits per second, transmission delay, and basic algebra. This chapter uses those ideas to explain how traffic load affects a network link.
Utilization and service rate
Utilization is the fraction of time that a link or server is busy transmitting packets. It is usually written as \(\rho\), pronounced “rho”:
\[ \rho = \frac{\lambda}{\mu} \]
Here:
- \(\lambda\) is the arrival rate, measured in packets per second.
- \(\mu\) is the service rate, measured in packets per second.
- \(\rho\) is utilization.
For a link, the service rate depends on its bandwidth and packet size:
\[ \mu = \frac{R}{L} \]
where \(R\) is the link rate in bits per second and \(L\) is the packet size in bits.
If packets arrive at 800 packets per second and the link can transmit 1000 packets per second:
\[ \rho = \frac{800}{1000} = 0.8 \]
The link is busy, on average, 80% of the time.
A queue is a waiting area for packets that arrive while the link is already transmitting another packet.
def utilization(arrival_rate, link_rate_bps, packet_bits):
service_rate = link_rate_bps / packet_bits
return arrival_rate / service_rate
rho = utilization(800, 10_000_000, 10_000)
print(f"Utilization: {rho:.2%}")The output is:
Utilization: 80.00%Why queues grow near full utilization
When \(\rho < 1\), the link can eventually serve all arriving packets. However, arrivals may occur in bursts. A temporary burst creates a queue even when the long-term average arrival rate is below capacity.
As utilization approaches 1, the link has less idle time to clear that queue. A small burst can therefore cause a long wait. If \(\rho \geq 1\), packets arrive as fast as or faster than the link can serve them. The queue grows without bound in the ideal long-term model.
For a simple M/M/1 queue, where arrivals and service times are modeled as random and there is one server, the average waiting time in the queue is:
\[ W_q = \frac{\rho}{\mu-\lambda} \]
This formula shows the sharp increase near capacity. If \(\mu=1000\) packets per second and \(\lambda=800\), then \(\rho=0.8\):
\[ W_q = \frac{0.8}{1000-800}=0.004\text{ seconds} \]
At \(\lambda=990\), utilization is 99%, and:
\[ W_q = \frac{0.99}{1000-990}=0.099\text{ seconds} \]
A small increase in utilization produces a much larger average queueing delay.
Practical interpretation
| Utilization | Typical condition | Main concern |
|---|---|---|
| Low | Plenty of idle capacity | Capacity may be underused |
| Moderate | Bursts can usually be absorbed | Normal queueing delay |
| Near 100% | Little time to drain queues | Rapidly increasing delay and loss |
| 100% or higher | Arrival rate reaches capacity | Persistent or unbounded queue |
Routers usually have finite buffers. When a full buffer receives another packet, the router drops that packet. Thus, high utilization can cause both large delay and packet loss.
Exercise
A link serves 2000 packets per second. Packets arrive at 1800 packets per second. What are utilization and the average M/M/1 queueing delay?
Show answer
Utilization is \(\rho=1800/2000=0.9\). The average queueing delay is \(W_q=0.9/(2000-1800)=0.0045\) seconds, or 4.5 milliseconds.