Messages in this thread | | | Subject | Re: [ckrm-tech] [patch00/05]: Containers(V2)- Introduction | From | Chandra Seetharaman <> | Date | Wed, 20 Sep 2006 18:45:20 -0700 |
| |
On Wed, 2006-09-20 at 17:42 -0700, Paul Menage wrote: > On 9/20/06, Paul Jackson <pj@sgi.com> wrote: > > Chandra wrote: > > > AFAICS, That doesn't help me in over committing resources. > > > > I agree - I don't think cpusets plus fake numa ... handles over commit. > > You might could hack up a cheap substitute, but it wouldn't do the job. > > I have some patches locally that basically let you give out a small > set of nodes initially to a cpuset, and if memory pressure in > try_to_free_pages() passes a specified threshold, automatically > allocate one of the parent cpuset's unused memory nodes to the child > cpuset, up to specified limit. It's a bit ugly, but lets you trade of > performance vs memory footprint on a per-job basis (when combined with > fake numa to give lots of small nodes).
Interesting. So you could set up the fake node with "guarantee" and let it grow till "limit" ?
BTW, can you do these with fake nodes: - dynamic creation - dynamic removal - dynamic change of size
Also, How could we account when a process moves from one node to another ?
> > Paul --
---------------------------------------------------------------------- Chandra Seetharaman | Be careful what you choose.... - sekharan@us.ibm.com | .......you may get it. ----------------------------------------------------------------------
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |