Skip to content
About
Main content
Recurring principle

Granularity mismatch

Granularity mismatch creates amplification.

What it is

To get a low price per bit, you must spread the mechanism's cost over as many bits as possible. This is called amortization. But bits that share one mechanism must be operated on together — that is what "sharing" means. And "operated on together" is the definition of coarse granularity.

  • One tape head serves kilometers of ribbon: cheapest per TB, but reading means winding the spool.
  • One disk arm serves 20 TB: cheap, but random access means physically moving the arm.
  • One flash erase circuit serves a block of 4–24 MB: cheap, but you cannot erase less than a block.
  • One HTTP request serves one object in cloud storage: cheap, but you cannot change less than a whole object.

The price ladder and the granularity ladder are the same ladder. You get cheapness by accepting coarseness.

So when you later read about write amplification in flash, zone rewrites in SMR disks, and the small-files problem in object storage, remember: they are not four problems. They are one problem at four price points.

From Physical Substrate & Performance Laws › The dial and the fixed cost

Granularity mismatch creates amplification. Granularity is the smallest piece a mechanism handles. If the unit you have does not match the unit the substrate wants, you pay a multiplier (an amplification). Inside one machine: writing 4 KB into a flash block that can only be erased as 256 KB. Here: a 200-byte record sent in a 1,500-byte network packet, or one row written into a 128 MB file.

From Data Movement › The epistemic limit

Where it appears

In 24 mechanisms. Each says what the mechanism is about, then how this principle shows up there, in its own words.

Made on the same pages most often.