Real World Maths Busters

The Maths Behind Everyday Life

The story, the formula and a worked example — see exactly where this maths shows up in the world around you.

Back to all stories
Technology 3 min read

Why 5 GHz Does Not Mean 5 Billion Tasks Per Second

Each task takes multiple clock cycles.

A 5 GHz CPU completes 5 billion clock cycles per second, but most instructions take 3–10 cycles. Real throughput is much lower.

Instructions per second

IPS = clock speed / cycles per instruction (CPI).

IPS=fCPI\text{IPS} = \frac{f}{\text{CPI}}

5 GHz, CPI of 4

  1. 1

    Clock cycles/s

    5 × 10⁹

  2. 2

    Instructions/s

    5×10⁹ / 4 = 1.25 × 10⁹

  3. 3

    Real-world

    Pipelining + caches can push effective IPS higher

Answer

About 1.25 billion instructions per second, not 5 billion

The formula behind it

Rate

ab\frac{a}{b}
See the full formula, variables and more examples

The takeaway

Clock speed is not task speed — it is the tick of the internal clock. How much work each tick does varies hugely.

Back to all stories