Not logged in
Log in now
Create an account
Subscribe to LWN
Pencil, Pencil, and Pencil
Dividing the Linux desktop
LWN.net Weekly Edition for June 13, 2013
A report from pgCon 2013
Little things that matter in language design
This would allow to have a single hierarchy, but still support orthogonal hierarchies as normal children of it.
Each process would be allocated resources according to the sum of the allowances coming from all its cgroup memberships.
Prcoess in multiple control groups
Posted Mar 22, 2012 9:41 UTC (Thu) by kevinm (guest, #69913)
Consider if a process was a member of two control groups, one of which has a memory limit of 200MB and one of which has a memory limit of 1G. To which control group should that process's memory be accounted? Half each? In proportion to the memory limits? In proportion to the number of processes in each? Something else?
What happens if one of the two control groups is at its limit, but the other is not - is the process prevented from allocating more memory? If not, how does its memory allocated get accounted now?
It looks like a nightmare.
Posted Mar 22, 2012 10:14 UTC (Thu) by dgm (subscriber, #49227)
Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds