How to limit the GraphLab use of CPU resource?

User 83 | 3/3/2014, 7:57:15 AM

Hi, All

I tried running label-propagation algorithm on a machine with 32 processors. The GraphLab used almost 30 processors at the peek time. It may affect the other tasks running on the same machine. How to limit the GraphLab use of CPU resource (e.g., limit the number of threads with some parameters)?

Comments

User 83 | 3/3/2014, 8:37:17 AM

I have tried "mpiexec -np" and "mpiexec --num-cores" options. But no change happened. At the peak time, 3000% CPU was used in each node.


User 33 | 3/3/2014, 11:39:26 AM

try "--ncpus"


User 83 | 3/3/2014, 11:49:03 AM

thx a lot! I tried "-cpus-per-proc", it's ok now! :-)