Symmetric multiprocessing (SMP) is a computer architecture in which two or more identical processors or cores share a single main memory, a common input/output system and one operating system instance, with every processor able to run any task. In hardware and in the study of processors, SMP is the dominant way to build multicore desktops, laptops, smartphones and servers.
The word symmetric means that no processor is special: each one can execute kernel code, handle interrupts and schedule threads. This contrasts with asymmetric multiprocessing, where a master processor controls the others. The main engineering challenge of SMP is keeping a shared view of memory consistent while many cores read and write it at once.
How symmetric multiprocessing shares memory and work
In an SMP system, every core sees the same physical address space, so a thread can move from one core to another without copying its data. The operating system keeps a run queue per core or a global queue and assigns threads wherever capacity is free, a process known as load balancing.
Each core has private L1 and L2 caches to avoid waiting on main memory, which can take around 60 to 100 nanoseconds per access. Private caches create a problem: two cores may hold different copies of the same data. A cache coherence protocol such as MESI or its variants MOESI and MESIF solves it by tracking whether each cache line is modified, exclusive, shared or invalid.
| Component | Function in SMP | Typical example |
|---|---|---|
| Identical cores | Execute any thread, kernel or user code | 8 to 128 cores per chip |
| Shared main memory | Single address space for all cores | DDR5 system RAM |
| Coherence protocol | Keeps cached copies consistent | MESI, MOESI, MESIF |
| Interconnect | Moves data and coherence messages | Ring bus, mesh, crossbar |
| SMP-aware kernel | Schedules threads and locks shared data | Linux, Windows, macOS |
SMP compared with other multiprocessor designs
SMP is one point on a spectrum of multiprocessor architectures that differ in how memory is shared and whether cores are equal. Large servers often combine SMP inside each socket with NUMA across sockets, and modern laptop chips bend symmetry with performance and efficiency cores.
| Architecture | Memory model | Core roles | Typical use |
|---|---|---|---|
| SMP / UMA | Shared, uniform access time | All equal | Desktop and mobile chips |
| NUMA | Shared, access time depends on location | All equal | Multi-socket servers |
| Asymmetric multiprocessing | Often partitioned | Master and helpers | Embedded and real-time systems |
| Hybrid CPU architecture | Shared | Same ISA, different core types | Modern laptop processors |
| Cluster computing | Separate memory per node | Independent nodes | Supercomputers, cloud |
SMP also differs from simultaneous multithreading, which runs several hardware threads on one physical core. SMT adds logical processors that share execution units, whereas SMP adds whole physical cores. Most current chips combine both, so an operating system may see 16 logical processors on an 8-core SMP chip.
Scalability limits of shared-memory systems
SMP does not scale indefinitely, because shared resources become bottlenecks as cores are added. The memory bus, the coherence traffic and software locks all compete, so doubling the core count rarely doubles real performance.
Amdahl’s law expresses the software side: if 10 percent of a program is serial, the speedup can never exceed ten times, regardless of core count. On the hardware side, classic bus-based SMP rarely scaled beyond about 8 to 16 processors, which is why larger systems moved to directory-based coherence and NUMA.
| Bottleneck | Cause | Mitigation |
|---|---|---|
| Memory bandwidth | All cores share memory channels | More channels, larger caches |
| Coherence traffic | Frequent writes to shared lines | Directory protocols, snoop filters |
| False sharing | Unrelated variables on one cache line | Pad or align data to 64 bytes |
| Lock contention | Many threads wait on one lock | Fine-grained or lock-free structures |
| Serial code | Parts of a program cannot run in parallel | Redesign algorithms, pipeline work |
Operating system and software support
An SMP machine is only as useful as the software that runs threads in parallel. The kernel must protect shared structures with spinlocks, mutexes and read-copy-update techniques, and early SMP kernels that used one big global lock scaled poorly until finer-grained locking replaced it.
Applications benefit when they are multithreaded: video encoders, compilers, databases and games split work across cores, while a single-threaded program uses only one core no matter how many exist. Developers rely on threading libraries, thread pools and parallel frameworks, and they must respect the processor’s memory ordering model, which differs between x86-64 and ARM64.
- Processor affinity pins a thread to specific cores to keep caches warm.
- Interrupt balancing spreads device interrupts so no single core is overloaded.
- Per-core data structures reduce sharing and coherence traffic.
- Atomic instructions such as compare-and-swap allow safe updates without heavy locks.
Evolution of SMP into multicore processors
SMP began in mainframes and minicomputers of the 1960s and 1970s and reached workstations and servers with multiple processor sockets in the 1990s. The shift to multicore chips in the mid-2000s, driven by the end of rapid clock-speed growth, moved SMP onto a single die and into everyday consumer devices.
Today the clean symmetric model is under pressure. Hybrid designs combine fast and efficient cores, chiplet processors add NUMA-like latency differences inside one package, and large caches such as stacked cache layers change which core is best for a task. Operating systems therefore add topology-aware scheduling on top of the SMP foundation while keeping its core promise: any core can run any thread on shared memory.
Put simply
Symmetric multiprocessing means a computer has several equal processors working together. They all share the same memory. Any of them can pick up any job.
Picture a kitchen with several cooks of the same skill. They share one pantry and one list of orders. Whoever is free takes the next order. More cooks finish more meals, but only up to a point. If everyone crowds the same pantry shelf, they start waiting on each other. That is why adding cores helps greatly at first and less later.
In practice
A small video production studio renders 4K projects on a workstation with a 16-core SMP processor and 64 GB of shared memory. The editing software splits each frame into tiles, and the operating system spreads the rendering threads evenly across all cores.
A ten-minute project that took about 50 minutes on an older 4-core machine now finishes in roughly 15 minutes. The speedup is about 3.3 times rather than 4 times, because file writing and some effects run on a single thread and all cores share the same memory bandwidth.
The studio also schedules overnight batch exports with processor affinity so that background jobs use 12 cores while 4 remain free for interactive work. The outcome is faster delivery without a second machine, along with a clear view of where further gains would require faster memory or better-parallelized software.