Status: ✅ COMPLETE
Scope: How a processor really runs instructions: cores, caches, pipelines, privilege levels and power control
Time to complete: 75–100 minutes of reading + lab
Prerequisites: Chapter 1 — The Complete Computer Architecture
What you'll know after: What happens inside the CPU from the moment electricity arrives to the moment one instruction is done
INTRODUCTION
In Chapter 1 you learned that the CPU is "the brain" of the computer. That is true, but it is also vague. It is the kind of answer that falls apart when someone asks a follow-up question.
This chapter answers the follow-up questions:
- What really happens when the CPU "runs an instruction"?
- Why does a CPU have 8 cores instead of one giant core?
- What is a "thread", and why does Task Manager show more threads than cores?
- Why does the CPU need caches if it already has RAM?
- What does "4.5 GHz" actually mean?
- Why can't a normal app read another app's memory?
- Why do Intel and AMD chips behave differently even though they run the same software?
By the end you will be able to read a CPU spec sheet (cores, threads, cache size, clock speed, TDP) and know what each number means. You will understand the machine behind the label, not just the label.
How to read this chapter: Each section starts with a plain "big picture". Every new word is explained the first time it appears. Each section ends with a short Summary table. Real photos of real chips are included, so you can see what we are talking about.
CHAPTER OUTLINE
- Section 1: Introduction to CPU Architecture
- Section 2: CPU Cores and Threads
- Section 3: CPU Memory Hierarchy
- Section 4: CPU Instruction Execution
- Section 5: Advanced CPU Concepts
- Section 6: CPU Privilege Levels
- Section 7: CPU Interrupts and Context Switching
- Section 8: x86/x64 Architecture
- Section 9: Modern CPU Designs (Intel vs AMD)
- Section 10: CPU Frequency and Power
- Practical Lab: Monitoring CPU
- Knowledge Check
Chapter Status: Complete
Estimated reading time: 75 minutes
Practical time: 20 minutes
Knowledge check time: 30 minutes