Some proposed changes to the cgroup, for two issues:
-it’s possible to get the scheduler to schedule some jobs on a node where swap (i.e. resources_available.vmem - resources_available.mem) will get depleted and kill jobs. To avoid that, you need to account for swap spearately as a schedulable resource.
-some sites want jobs without explicit memory limits to be allowed to use the entire host’s memory.
Design document at: