3 ms·
> precisely why you don't run any more OS threads than the number of cores It’s often worth running more than your number of cores, in order to keep execution
by chrisseaton 7y ago
> precisely why you don't run any more OS threads than the number of cores
It’s often worth running more than your number of cores, in order to keep execution units busy during memory fetches for example, or integer units busy while float units are a bottleneck otherwise. (Did a PhD partially on this kind of thing.)
- BubRoss 7y agoThat's what hyperthreading is for, which implies having the same number of threads as logical cores. Hyperthreading and out of order execution are meant to accomplish keeping the execution units busy.
- chrisseaton 7y agoNo it implies having the same number of OS threads as hardware threads, which is more than the number of hardware cores.