Three Hundred Devices Waiting on One
Last timeChoosing Which Split to Use
Poor scaling has three usual causes and they leave different marks on a timeline. Read the marks and you know which one it is without changing anything.
The arithmetic says this layout should run at eighty per cent of the throughput of a single device multiplied by a thousand. It is running at forty. Nothing is broken, no error has appeared, and the loss is going down.
Measuring the scaling
Before looking for a cause, make the symptom a number.
| step | what goes into the efficiency | the run as it is | what the arithmetic predicted | what happened |
|---|---|---|---|---|
| 1 | devices in the run | 1,000 | 1,000 | The same hardware in both columns. Nothing in this table is about buying more of it. |
| 2 | one device alone, same code with the splitting switched off | 1 unit of throughput | 1 unit | This is the measurement people skip, and without it there is no denominator and no number to argue about. It has to be the same code, because a single-device path that was never run is not a baseline. |
| 3 | examples a second the whole run delivers | 400 units | 800 units | Measured at the output of the run, not inferred from the device count. |
| 4 | a thousand devices at perfect scaling | 1,000 units | 1,000 units | The ceiling nobody reaches, and not the target either. Eighty per cent was the target. |
| 5 | efficiency, the delivery over that ceiling | 400 over 1,000, so 0.40 | 800 over 1,000, so 0.80 | Half of what the layout was expected to achieve, with no error raised and the loss going down, which is why nothing else will tell you. |
| 6 | devices' worth of hardware spent on something other than arithmetic | 600 | 200 | The same shortfall said in the unit that gets budgets moved. Four hundred devices of the six hundred are the defect and the other two hundred are the known cost of the splitting. |
The three shapes
The three causes are a slow link, an unbalanced split, and one slow device. On a timeline recorded per device, each one looks different.
The lesson stops here
3 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 contentsThis 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