On 05/01/2013 08:16 AM, Cotton, Benjamin J wrote:
On Tue, 2013-04-30 at 17:39 -0400, Rita wrote:Why do you have, SlotWeight="Cpus*1000+memory"? What is the significance of 1000, is this the request_memory * 1000 or some other factor? Why not just have SlotWeight=Cpus+Memory ?It's a matter of scale. CPUs are measured in ones while Memory is generally in thousands these days. There's no reason your second setting wouldn't work, but the one Matt suggested is probably closer in spirit to what you're asking for.
I just cut&pasted the policy example Todd gave. Best, matt