Single-core vs multi-core: why more cores aren't always faster

EEHerald
Quick Bites2 / 30

Single-core vs multi-core: why more cores aren't always faster

A single-core processor executes one stream of instructions at a time. When it appears to multitask, the operating system is rapidly switching between tasks, giving each a slice of time. A multi-core processor places two or more independent cores on one chip, so separate tasks or threads can run truly in parallel. The benefit depends on the workload. Software that can be split into parallel threads, such as video encoding, rendering, compiling or AI inference, scales well with more cores, while code that must run step by step gains little. That limit is known as Amdahl's law: the part of a program that can't be parallelised caps the overall speed-up. Many modern cores also support simultaneous multithreading, which lets a single core run two threads by sharing its execution resources.

35