Inside the CPU

2.What "8 Cores, 3.2 GHz" Really Means

A

In this chapter

We'll open up the CPU — the part that does the processing — and learn what the ALU, control unit, registers, cores, clock speed and cache are, so "8-core, 3.2 GHz" finally makes sense.

12–15 min

The Problem in Real Life

Anna points at the third line of the spec sheet. "8-core CPU, 3.2 GHz. Is that fast? My old laptop said 4 cores, 2.8 GHz. So is this twice as good?"

John laughs. "That's the question everyone asks — and the answer is 'it depends.' To understand why, we need to look inside the CPU."

J

The CPU is the part that actually thinks. Everything else is there to feed it.

John

"Bigger Number Is Better" vs. What the Numbers Really Mean

Two numbers, two meanings

Cores and GHz measure different things. Comparing them as one "speed" leads to wrong choices.

Speed has many parts

How fast a CPU feels depends on cores, clock speed, cache and how new its design is.

What's Inside the CPU

The CPU (Central Processing Unit) is the chip that does the processing step. It reads instructions from software and carries them out, one tiny step at a time — billions of steps every second. People often call it the "brain" of the computer.

John uses a kitchen to explain it. "Imagine a restaurant kitchen. The software is the recipe book. The CPU is the kitchen that cooks." Inside that kitchen there are a few key parts:

  • Control Unit (CU) — the head chef. It reads the next instruction from the recipe, works out what it means, and tells the other parts what to do and when. It doesn't do the maths itself; it directs the work.
  • ALU (Arithmetic Logic Unit) — the cook's hands. It does the actual work: arithmetic like add and subtract, and logic like "is this number bigger than that one?" or "are these two values equal?" Every calculation your computer does ends up here.
  • Registers — the few bowls right on the cook's counter. They are tiny storage spaces inside the CPU that hold the numbers it is working on right now. There are only a handful, but they are the fastest storage in the whole computer.
  • Cache — a small shelf right next to the counter. It's fast memory built into the CPU that keeps copies of data the CPU used recently or will probably need soon, so it doesn't have to walk to the big store room (RAM) every time. Caches come in levels: L1 is smallest and fastest, L2 is bigger and a bit slower, L3 is bigger again and often shared.
  • Cores — the number of cooks. A core is a complete processing unit with its own control unit, ALU and registers. An 8-core CPU is like a kitchen with 8 cooks: it can work on 8 things at the same time — for example, your browser, a video call and a music app.
  • Clock speed — how fast each cook works. The CPU has a clock that "ticks" to keep every part in step. GHz (gigahertz) means billions of ticks per second. 3.2 GHz means 3.2 billion ticks every second. Roughly, each tick is a chance to move one small step forward.
Table — The CPU as a kitchen
CPU partKitchen versionReal job
Control unitHead chef reading the recipeReads and decodes instructions, directs the work
ALUThe cook's handsDoes arithmetic and logic
RegistersBowls on the counterHold the values being used right now
Cache (L1/L2/L3)Shelf next to the counterKeeps recently used data close and fast
CoresNumber of cooksHow many tasks run at the same time
Clock speed (GHz)How fast each cook worksBillions of steps per second
Table — Which CPU helps which work
Kind of workWhat matters most
Web browsing, email, documentsAny modern CPU is fine
Many apps open at onceMore cores
Video editing, 3D, compiling large codeMore cores and more cache
One heavy task that can't be splitHigher clock speed and newer design

The fetch–decode–execute cycle (on every core)

Fetch

Control unit gets the next instruction

instruction

Decode

Control unit works out what it means

signals

Execute

ALU does the work, results go to registers

next instruction

Repeat

billions of times per second

Every instruction goes through the same simple loop, called the fetch–decode–execute cycle. The control unit fetches the next instruction from memory, decodes it (works out what it means), and the ALU executes it (does the work). Then the loop starts again with the next instruction. A modern CPU runs this loop billions of times per second on each core.

Now back to Anna's question. Is 8 cores at 3.2 GHz twice as good as 4 cores at 2.8 GHz? Not exactly:

More cores help when the computer does many things at once, or when one program is built to split its work into parts (like video editing). They help less when a single task can only be done step by step.

Higher GHz helps every task a little, but a newer CPU design often does more work per tick than an older one. A new 3.2 GHz CPU can easily beat an old 3.8 GHz one.

More cache means fewer slow trips to RAM, which makes everything feel smoother.

So the honest way to compare CPUs is: same generation and design first, then cores, then clock speed — or simply look at real benchmark tests for the work you will do.

Key Takeaway

The CPU follows instructions using a control unit (the director) and an ALU (the worker), with registers and cache as tiny, very fast storage. Cores are how many tasks it can run at once; GHz is how fast each core ticks. Neither number alone tells you how fast a computer is.

Why This Matters

Later this year, BlueTicket's servers will have to handle 50,000 fans at once. Choosing how many cores a server needs, and understanding why one slow task can block everything, starts here. In Part 2, Anna will also see that the code she writes becomes exactly these tiny CPU instructions.

Anna can now read the CPU line: 8 cores to run many apps at once, 3.2 GHz per core, from a recent generation. But the CPU keeps talking about "memory" and "storage" — and the spec sheet has two different numbers for those. That's next.

Next