OpenVZ Forum


Home » Mailing lists » Devel » [RFC] libcg: design and plans
Re: [RFC] libcg: design and plans [message #28003 is a reply to message #28002] Wed, 05 March 2008 11:07 Go to previous messageGo to previous message
Dhaval Giani is currently offline  Dhaval Giani
Messages: 37
Registered: June 2007
Member
On Wed, Mar 05, 2008 at 02:41:41AM -0800, Paul Menage wrote:
> On Wed, Mar 5, 2008 at 2:33 AM, Dhaval Giani <dhaval@linux.vnet.ibm.com> wrote:
> >
> >  So there are two different points, /mem and /cpu. /mem has A and C and
> >  /cpu has A, B and C. A and B of /cpu correspond to A of /mem and the C's
> >  are the same. With this is mind, if I say a task should move to B in
> >  /cpu, it should also move to A in /mem?
> >
> 
> Maybe clearer to say that /mem has two cgroups, AB and C. The
> abstraction provided by libcg would be of three groups, A, B and C.
> Asking libcg to move a process to abstract group B would result it
> moving to /mem/AB and /cpu/B
> 

OK. Hmm, I've not really thought about it. At first thought, it should
not be very difficult. Only thing I am not sure is the arbitrary
grouping of the groups (ok, a bit confusing). If that information is
maintained somewhere, it should be pretty straightforward. (Only thing
is that I am not sure how it will be done, and where the grouping
information should be stored. configuration looks like the logical
place, but I am not sure)

Thanks,
-- 
regards,
Dhaval
_______________________________________________
Containers mailing list
Containers@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [PATCH] NETFILTER: per-netns FILTER/MANGLE/RAW tables for real
Next Topic: [PATCH net-2.6.26 1/5][NETNS][UDP]: Register /proc/net/udp in a namespace.
Goto Forum:
  


Current Time: Fri Aug 16 06:30:32 GMT 2024

Total time taken to generate the page: 0.02907 seconds