From a Matrix Multiply to a Forward Pass
A Device Reported as Fully Busy May Be Using One Hundredth of Its Arithmetic
Last timeFilling the Device
Utilisation is the share of time some function was executing, not the share of the device in use. Two passes at 100 per cent can differ a hundred times in output.
Everybody reads one figure first. It is on every dashboard, it is a percentage, and it is called utilisation. After seven lessons on where the time of a pass goes, this one asks what that figure can and cannot say about it.
What it is a percentage of
The vendor's monitoring tool defines the figure in one sentence: the per cent of time over the past sample period during which one or more kernels was executing on the device. A kernel is the vendor's word for a function started on the device. The sample period is between a sixth of a second and a second, depending on the product.
- the figure on the dashboard, shown as a percentage
- between a sixth of a second and one second, which is thousands of operations of a pass
A sixth of a second is 7,865 runs of the single-row layer of the last lesson, so the figure is always an average over a great many operations.
The lesson stops here
6 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