Re:C++11 async tutorial
by exDM69 on Thursday October 18, 2012 @09:58AM
(#4668752)
> The optimal number of threads per core is workload and machine dependent, but rarely is that number 1 per hardware thread.
This is exactly why I said it should be in the same order of magnitude, not exactly the same. Definitely not 250+ threads on a dual core. It might make sense to add a few more threads to keep the CPU busy if one or more of the threads will have to wait.
This is exactly why I said it should be in the same order of magnitude, not exactly the same. Definitely not 250+ threads on a dual core. It might make sense to add a few more threads to keep the CPU busy if one or more of the threads will have to wait.