4 ms·
> Add enough, and the OS could easily pin basically all processes/threads to their own cores. But usually (when you care about performance) you don't have 20 p
by MauranKilom 5y ago
> Add enough, and the OS could easily pin basically all processes/threads to their own cores.
But usually (when you care about performance) you don't have 20 processes requiring 5% CPU load each, but 1-2 processes requiring everything. Making those slower won't accomplish much.
And if your problem is actually embarrassingly parallel [0], you are looking to run your code on a GPU (as another commenter notes).
[0]: https://en.wikipedia.org/wiki/Embarrassingly_parallel https://en.wikipedia.org/wiki/Embarrassingly_parallel
- ghoward 5y agoI think you need to read my full blog post. :)