2

I used 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

rene
  • 41,474
  • 78
  • 114
  • 152
adba
  • 477
  • 9
  • 25

1 Answers1

5

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.

Michael Foukarakis
  • 39,737
  • 6
  • 87
  • 123