3 ms·
> This win will be constrained by Amdahl's law. A single program/process that is multithreaded can effectively use only a finite number of cores. This assumes
by spacechild1 4y ago
> This win will be constrained by Amdahl's law. A single program/process that is multithreaded can effectively use only a finite number of cores.
This assumes that the workload is fixed. A classical example would be compiling source code: you have a fixed number of source files and the compiler is only able to parallelize so much.
On the other hand, there are applications where more threads allow you to increase the workload itself. For example, a modern DAW (digital audio workstation) is able to render tracks in parallel; if you have more threads, you can use more tracks with more plugins. In a computer game, more threads might mean more complex simulations, more objects, better graphics, etc.