link 10 Mb/sρ 0.50 · L 1ρ 0.80 · L 4ρ 0.90 · L 9ρ 0.95 · L 19ρ 0.99 · L 99ρ 1.05 · growing✕ dropped
Envelopes: packets; they arrive at random from the blue sourceYellow tray: the queue, head on the right; teal pad: the packet being sentCount above the tray: ρ and the average number in the system, LMeter and curve: load, L and W; the dot rides W ÷ service time = 1/(1−ρ)Packets arrive at random (rate λ), wait in one first-in, first-out line and are sent one at a time by a 10 Mb/s link that serves μ = 1,000 packets per second on average. For this M/M/1 queue the average number in the system is L = ρ/(1−ρ) and the average time is W = 1/(μ−λ): 2 ms at ρ = 0.5, 5 ms at ρ = 0.8, 10 ms at ρ = 0.9, 20 ms at ρ = 0.95, 100 ms at ρ = 0.99. The 10 Mb/s link and the 1,250-byte average packet (so 1 ms per packet and μ = 1,000/s) are illustrative, as is the 1,000-packet buffer; every other number follows from the M/M/1 formulas.

The model

  1. Packets arrive at random times, wait in one line, and one server sends them in order. Here the server is a router's output link. Queueing theory calls this M/M/1: random arrivals, random service times, one server.

Turning up the load

What it means

The arithmetic

;; step 1/11 · one-server · model
;; arrivals → internet
Kendall notation A/S/c: arrival process / service times / number of servers
M = Markovian (memoryless): Poisson arrivals, exponential service times
1 = one server; the line is first in, first out, with unlimited room
arrivals ─► queue ─► server ─► out

The tray draws at most 8 waiting envelopes plus the one being sent; the count gives the real average number in the system. L and W are long-run averages. At any moment the line may be empty or much longer: at ρ = 0.9 the chance of finding 10 or more packets already there is about 35%.