3 ms·
Latency is not the only cost of an excessive number of threads: context switches are expensive! Every context switch is a waste of CPU cycles that could be bet
by bcrl 3y ago
Latency is not the only cost of an excessive number of threads: context switches are expensive! Every context switch is a waste of CPU cycles that could be better spent doing actual work for your application. Furthermore, the cost of context switches keeps going up with every new generation of CPU, and I don't see that trend reversing any time soon.