
14 Aug
2011
14 Aug
'11
5:29 p.m.
How to make sure that a multithreaded C++ program is run by ALL cores on a multicore server to do computing in parallel physically (not logically).
I have a multicore server, which has 24 CPUs, each of which has 6 cores.
It is Intel Xeon X5650 2.67GHz cpu cores : 6 (support 6 threads) cpu MHz : 1596.000
totally, I have 24 * 6 = 144 cores.
I designed a multithreaded C++ program with boost/thread.
How to make sure that my program is run by all 144 cores ?
It's OS thread scheduler who cares about that. But your program has to have 144 threads to utilise all the 144 cores.