On 10/08/16 07:06, Andrus, Brian Contractor wrote:

> I am trying to figure out the bits required to allow users to use part
> of a node and not block others from using remaining resources.

I suspect what you are after is something like:

SelectType=select/cons_res
SelectTypeParameters=CR_Core_Memory,CR_ONE_TASK_PER_CORE

That should treat cores and memory as consumable resources and allocate
nodes in a way doesn't overcommit resources based on what jobs have
asked for.

We also use cgroup enforcement of those limits so if a job asks for one
core and then starts a program that says "oh this node has 16 cores,
I'll start 16 threads one per core" all it does is hurt them, not
everyone else as well.

All the best,
Chris
-- 
 Christopher Samuel        Senior Systems Administrator
 VLSCI - Victorian Life Sciences Computation Initiative
 Email: [email protected] Phone: +61 (0)3 903 55545
 http://www.vlsci.org.au/      http://twitter.com/vlsci

Reply via email to