Basis Lab

Work That Waits in a Queue

How Busy Is Busy

Last timeThings Arriving, and Things Being Served

Utilisation is the share of time the servers are occupied. It is the number everybody reports and, taken on its own, it says almost nothing about how long anything waits.

Computing utilisation

Utilisation is the share of the time the servers are occupied. If ten workers are busy on average seven and a half of the time, the utilisation is nought point seven five, usually written as seventy five per cent.

It is computed from the two rates of the previous lesson. The work arriving each second occupies the servers for the arrival rate multiplied by the service time, and dividing that by the number of servers gives the share of each one.

FIG 1Utilisation from the two rates, worked both ways, at four hundredths of a second a request
stepthe question being askedserversarrivals a secondutilisationwhat happened
1how busy are we, with a hundred and eighty arriving10180180 x 0.04 / 10 = 0.72The monitoring direction, and the one every dashboard runs. Two measured rates in, one share out, and the units cancel on the way through.
2how much traffic may we take, if we will run at seventy per cent100.70 x 10 / 0.04 = 1750.70The planning direction: the same relation rearranged, with the utilisation chosen first and the traffic read off it.
3what would two hundred and fifty arrivals do to these ten10250250 x 0.04 / 10 = 1.00A share of one is not a busy system, it is a system with no idle time left to absorb anything, and nothing in this lesson's arithmetic warns you before you get there.
4so how many servers does that traffic need250 x 0.04 / 0.70 = 14.3, so 16250250 x 0.04 / 16 = 0.63Fourteen and a third is not a number of machines, so the answer is the next size up, which is the sixteen server line in the figure below.
4 steps
One relation, read in two directions. The arithmetic is the same in every row, the arrivals a second times the seconds each one occupies a server, divided by the servers, and all that changes is which of the three is the unknown. Downwards from the first row it is monitoring. From the second and fourth it is planning, which is the direction capacity work needs: fix the share you are willing to run at and it returns either the traffic that allows or the servers that traffic needs.

Two properties make it the number everybody reports. It has no units, having cancelled them in the division, so a web service, a disk and a support desk can be compared on one scale. And it is bounded between nought and one, so it fits a dial and a dashboard without anybody choosing a scale.

Rearranging it for capacity

Read in the planning direction, the relation answers the question capacity planning actually asks, which is not how busy the system is but how much more it can take.

The lesson stops here

4 more paragraphs to go

You have read the opening. The rest of the argument, the problems that check whether it landed, and the lines worth keeping at the end all come with a plan.

The first lesson of every course in the library reads the whole way through, free, so you can see exactly what the rest of them are.

See the planThe contents

This is the reading half

Starting the course gives you your own copy of it. Every idea on every page has problems standing under it, marked with a reason rather than a tick, and any sentence you do not believe can be opened and argued with. None of that can happen on a page nobody owns.

The contents

The rest of this course

  1. 01Things Arriving, and Things Being Served
  2. 02How Busy Is Busyyou are here
  3. 03Why Waiting Explodes Near the Endopening only
  4. 04Arrivals Come in Clumpsopening only
  5. 05One Queue or Severalopening only
  6. 06The Average Is Not the Experienceopening only
  7. 07When the Queue Fills Upopening only
  8. 08The One Relationship Worth Memorisingopening only

Read alongside