Graph
CPU

🖥️CPU

NEW

Also known as: Central Processing Unit

Primary processor that executes program instructions, orchestrating arithmetic, control, and data movement across computer components.

DESCRIPTION

The CPU is the main computing engine, implementing instruction sets (e.g., x86, ARM) and coordinating memory, I/O, and execution pipelines. Modern CPUs feature multiple cores, caches, SIMD extensions, and hardware threads to improve throughput. Performance depends on clock speed, microarchitecture, and cache hierarchy. CPUs run operating systems and general-purpose software, complementing accelerators like GPUs and NPUs.

ALTERNATIVE DEFINITIONS

Wikipedia

A central processing unit (CPU), also referred to as a central processor, main processor or simply processor, is the electronic circuitry that executes instructions comprising a computer program.

Defines CPU as electronic circuitry executing program instructions.

Source

Intel

The CPU (central processing unit) is the brain of a computer. It handles all instructions it receives from hardware and software running on the computer.

Uses the “brain of a computer” analogy and instruction handling emphasis.

Source

ALU Memory Cache Instruction Set Architecture x86 ARM Clock Speed Cores Instruction Pipeline

COMPETING TERMS

Graphics Processing Unit Application-Specific Integrated Circuit

RELATIONS

KNOWLEDGE AREAS

Infrastructure Software Engineering

TARGET AUDIENCE

Hardware Engineer Software Developer Cloud Architect Data Engineer MLOps Engineer

EXTERNAL SOURCES

  • Wikipedia - Central processing unit
  • Arm - ARM architecture overview
  • WikiChip - CPU microarchitecture resources

TOP QUESTIONS

What does a CPU do in a computer system?

It fetches, decodes, and executes instructions, coordinating arithmetic, memory operations, and control flow.

Category: Definition

How do cores and threads affect CPU performance?

More cores and threads enable parallelism; performance also depends on workload characteristics, cache, and scheduling.

Category: Technical

When should you use CPU over GPU for ML?

Small models, data preprocessing, and control-heavy logic often run efficiently on CPUs, avoiding GPU overhead.

Category: Alternatives

What is the role of cache?

Cache stores frequently accessed data close to the CPU, reducing memory latency and improving throughput.

Category: Technical

What are common CPU bottlenecks?

Memory bandwidth limits, branch mispredictions, and synchronization overhead can degrade performance.

Category: Mistakes

How do instruction sets matter?

ISA (x86, ARM) defines available instructions and impacts compatibility, performance features, and ecosystem.

Category: Clarification

How to profile CPU performance?

Use profilers and counters (perf, VTune) to analyze hotspots, memory, and branch behavior.

Category: Operations

How do CPUs interact with accelerators?

CPUs orchestrate data transfer, kernel launches, and scheduling of specialized hardware like GPUs and NPUs.

Category: Integration

What is hyperthreading?

Simultaneous multithreading runs multiple threads on a core to better utilize execution units.

Category: Technical