* Thomas Liu <[email protected]> [2010-06-02 11:57:00]:

> Hi there,
> 
> I was wondering if it was possible to have subgroups within a cgroup that are 
> also constrained by the cgroup.  For instance, if I have
> 
> group1 limited to 50% CPU and a subgroup of group1, group2, which is also 
> limited to 50% CPU, I would like to have processes in group2 only be able to 
> use 50% of the 50% that group1 is allowed.  
> 
> I tried doing this by creating a hierarchy of cgroups but it didn't seem to 
> work.  Is there any possible way to do this with cgroups?
>

Thomas,

I think Dhaval and Bharata can answer this question better, what you
need is hierarchy control. Doesn't setting the shares appropriately
buy you what you need? 

-- 
        Three Cheers,
        Balbir

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Libcg-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libcg-devel

Reply via email to