Re:Concurrency Is Not Parallelism (2013)
by curryhoward on Monday April 27, 2015 @11:36PM
(#9450437)
You're technically right (multi-core CPUs can do true parallelism), but you were downvoted probably because your point was obvious (to the people who downvoted you).
A multi-core CPU is basically multiple CPUs. The details (multicores share the same die, use the same caches, etc.) are mostly irrelevant here.
Multithreading on a single CPU doesn't have parallelism. You are just switching between tasks very fast serially.
A multi-core CPU for all intents and purposes has multiple CPU's. For the discussion on concurrency and parallelism, the distinction is on one execution unit vs multiple execution units.
> Multithreading on a single CPU doesn't have parallelism. You are just switching between tasks very fast serially.
Nitpick: SMT[0] (implemented as Hyper-Threading by Intel) is in fact parallelism for threads on a single CPU.
[0]: http://en.wikipedia.org/wiki/Simultaneous_multithreading
What about multithreading? If a single core switches between tasks I can see that not being true parallelism, but what about multi core?