Re:Threads, Threads, and More Threads
by colanderman on Tuesday March 22, 2022 @08:30PM
(#30773396)
I don't disagree.
But green threading doesn't address the OP's issue of "too many threads": a process using green threads needs to spawn one thread per CPU if it plans to use the CPU's full power.
On say, a 16-core system like the OP's, you're back to 16 threads per process -- on average, more than the OP was complaining about (15).
But green threading doesn't address the OP's issue of "too many threads": a process using green threads needs to spawn one thread per CPU if it plans to use the CPU's full power.
On say, a 16-core system like the OP's, you're back to 16 threads per process -- on average, more than the OP was complaining about (15).