[slurm-users] Job allocating more CPUs than requested

Chris Samuel chris at csamuel.org
Fri Sep 21 21:22:41 MDT 2018


On Saturday, 22 September 2018 2:53:58 AM AEST Nicolas Bock wrote:

> shows as requesting 1 CPU when in queue, but then allocates all
> CPU cores once running. Why is that?

Do you mean that Slurm expands the cores requested to all the cores on the 
node or allocates the node in exclusive mode, or do you mean that the code 
inside the job uses all the cores on the node instead of what was requested?

The latter is often the case for badly behaved codes and that's why using 
cgroups to contain applications is so important.

All the best,
Chris
-- 
 Chris Samuel  :  http://www.csamuel.org/  :  Melbourne, VIC






More information about the slurm-users mailing list