← Back to article

Equation 19 · Locality Is the Whole Game: The Memory Hierarchy and What a Kernel Does Not Read

What does this equation mean?

Qmin⁡  ≈  23 N3M.Q_{\min} \;\approx\; 2\sqrt{3}\,\frac{N^3}{\sqrt{M}} .

Read the formula alongside the article passage below. Each part has a deeper page with its role in the equation, the supporting passage and nearby citations.

This equation gives an approximation: it relates the quantities while allowing an approximation. Read the equation part by part below; each part has a contextual explanation and a link to its mathematical background.

Read it piece by piece

Qmin⁡Q_{\min}

Symbol Q_min

QmQ_min is a part of this expression. Its role is fixed by the surrounding article and by the operations shown in the formula.

Understand this part →

N3N^3

Symbol N^3

N3N^3 occurs above the fraction bar. The numerator is divided by the entire denominator below it.

Understand this part →

MM

Symbol M

M occurs below the fraction bar. The quantity above the bar is divided by this expression; zero is excluded as a denominator.

Understand this part →

fraction

fraction

Divide the expression above the line by the one below it.

Understand this part →

See an illustrated explanation →
√

√

Take a square root.

Understand this part →

≈

≈

Approximately equal to; the equality is not exact.

Understand this part →

subscript

subscript

The lower label selects a particular version, component, or indexed member of the quantity. For example, x₀ and xₜ can be values at different positions.

Understand this part →

superscript

superscript

A raised number can be a power. When it is a label or bound, it selects a case or the upper limit of a sum; the formula’s structure distinguishes these uses.

Understand this part →

See an illustrated explanation →
M\sqrt{M}

Denominator: sqrtM

The complete quantity below the fraction bar; it must be nonzero for this division.

Understand this part →

How to interpret it

With a fixed numerator, increasing a nonzero denominator reduces the fraction. Its accuracy depends on the assumptions and range of use described in the article.

What the article says around this equation

Taking b as large as the constraint allows gives Qmin⁡  ≈  23 N3MQ_{\min} \;\approx\; 2\sqrt{3}\,\frac{N^3}{\sqrt{M}} . Two things in that expression matter more than the constant. First, traffic falls linearly in b : doubling the tile halves the bytes moved, which is why tiling is the single highest-leverage transformation in dense linear algebra. Second, and less often noticed, traffic falls only as M−1/2M^{-1/2} . Quadrupling the fast store buys a factor of two in traffic, not a factor of four. That square root is the reason architects cannot simply spend their way out of the problem with more SRAM, and it is worth holding on to when reading any claim that a larger cache will fix a bandwidth-bound kernel.

Read the equation in its article →

Sources cited in the article section

These citations give research context. Read each source to check which claims it supports.

Return to Locality Is the Whole Game: The Memory Hierarchy and What a Kernel Does Not Read

See this formula across 1 published context →

Browse the mathematical compendium →