2 ms·
There are times when it makes sense to use more threads than CPU's though; one good (and common) example is web application servers. Applications that use resou
by Tamerlin 18y ago
There are times when it makes sense to use more threads than CPU's though; one good (and common) example is web application servers. Applications that use resources like databases that are I/O rather than compute bound can be significantly more efficient with additional threads beyond the number of CPU's available.
Of course there's a limit; overkill doesn't do anyone any good.