ρ 0.80100 Mb/sρ 0.95100 Mb/sρ 0.79120 Mb/sρ 0.80100 Mb/sρ 0.95100 Mb/sρ 0.79120 Mb/sρ 0.80100 Mb/sρ 0.95100 Mb/sρ 0.79120 Mb/s
Envelopes: packets; pink = waiting at a hop, blue = one packet we followYellow tray: a hop's queue; the head (next out) is on the rightRouter face: utilisation ρ and the link rateMeter: utilisation, average queue, mean delay (bar) and p99 (mark)A path of three router hops, each an M/M/1 queue: 8,000 packets/s arrive and each 100 Mb/s link sends 10,000/s, so ρ = 0.80. By Jackson's theorem each hop behaves on its own, so the delays add: 1.50 ms mean, p99 4.20 ms. Bursty traffic waits longer (Kingman); 19% more traffic makes the delay four times longer, and 20% more capacity cuts it fivefold. The 1,250-byte mean packet, the traffic rates and ca² = 4 are illustrative; every other number follows from them with the formulas shown.

One queue

  1. A router's outgoing link is a server with a queue. Packets arrive at random moments (a Poisson process) and take a random time to send (exponential). That is an M/M/1 queue. Here 8,000 packets/s arrive; the link sends 10,000/s.

A chain of queues

Real traffic

Using the results

The arithmetic

;; step 1/10 · one-queue · send
;; senders → hop 1
M/M/1 = Markov (Poisson) arrivals / Markov (exponential) service / 1 server
arrivals  λ = 8,000 packets/s, gaps exponential, mean 125 µs
link      100 Mb/s, mean packet 1,250 bytes = 10,000 bits
service   μ = 100,000,000 / 10,000 = 10,000 packets/s, mean 0.10 ms each
first in, first out; the buffer is assumed big enough never to drop

Each tray draws at most 5 envelopes; the meter gives the real average number waiting. The delays here are waiting plus sending at each hop; propagation along the cables and processing inside the routers add a fixed amount on top.