l******9 发帖数: 579 | 1 如何确保多线程程序在 multicore server 上确实使用了 所有的 core
to do computing in parallel physically (not logically)
I have a multicore server, which has 24 CPU, each CPU has 6 cores.
It is Intel xzeon 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 ?
Any help is really appreciated.
thanks | l******9 发帖数: 579 | 2 如何确保多线程程序在 multicore server 上确实使用了 所有的 core
to do computing in parallel physically (not logically)
I have a multicore server, which has 24 CPU, each CPU has 6 cores.
It is Intel xzeon 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 ?
Any help is really appreciated.
thanks | r*******t 发帖数: 8550 | 3 A) Create 144 threads, and OS will arrange them
B) Create threads on specific core 0-143 (you arrange which core to execute
which thread specifically))
【在 l******9 的大作中提到】 : 如何确保多线程程序在 multicore server 上确实使用了 所有的 core : to do computing in parallel physically (not logically) : I have a multicore server, which has 24 CPU, each CPU has 6 cores. : It is Intel xzeon 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 ? : Any help is really appreciated.
| m*********t 发帖数: 527 | 4 多线程?你是用 thread ? 作 computing?
作 computing 直接上 mpi。。。。为啥用 thread 。。。。。而且一次用 144 个
core,你这个交换数据的 overhead 有考虑么。。。 |
|