Re:Why has CPU frequency ceased to grow? (2014)
by rbanffy on Wednesday February 21, 2018 @09:09AM
(#16429519)
Having 281 processes is not a biggie. Having 281 processes that can actually use a piece of the CPUs is quite a different thing.
I think we should, really, start thinking about such things. Maybe prefixing instructions with the execution unit that should handle them (and overflow back to the first one in a circle if we have more EU's in software than the actual hardware provides), separating dependencies within code flow in a more explicit way and, at the same time, not bothering with creating threads.
On the server side, when we deploy a Node.js web service on AWS we start one instance per logical core, for 4-64 processes all independently serving connections.
It seems the process has become the new thread, the smallest unit you should design for. So today's workloads actually make pretty good use of all those cores. Unless you're doing high performance computing and need to squeeze every last drop of performance, processes are a straightforward way to parallelize.