Re:Composable multi-threaded parallelism in Julia
by BubRoss on Tuesday July 23, 2019 @08:18PM
(#20511342)
That'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.
Re:Composable multi-threaded parallelism in Julia
by chrisseaton on Tuesday July 23, 2019 @08:39PM
(#20511430)
No it implies having the same number of OS threads as hardware threads, which is more than the number of hardware 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.)