开发者

CPU usage percentage in MPI applications

开发者 https://www.devze.com 2023-04-03 18:20 出处:网络
I used开发者_如何学Go MPICH2. When I start my applications by using mpiexec, they run on the remote hosts (Win7) have 25% CPU usage. I want to increase the percentage if this can improve my applicatio

I used开发者_如何学Go MPICH2. When I start my applications by using mpiexec, they run on the remote hosts (Win7) have 25% CPU usage. I want to increase the percentage if this can improve my application performance. I wish that my remote computers are dedicated to my calculations. How can I do?

Thanks


For MPI processes your # of processes should match the sum of the core count of your machines (assuming a CPU-heavy workload). If an MPI process runs with -np 4 on a quad-core box, it will consume all four cores and you'll see your CPU usage near 100%. If it runs with -np 1 the CPU load of the box is going to be around 25% (because only one core out of four is dedicated to your calculations). Any additional increase and they will start to contend for CPU time.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号