Hi Thanks for the help... I got cpu, memory cgroups at least mounted... I got a basic task (my shell) assigned to cpu cgroup, memory cgroup mount -t cgroup -o cpu none /container/cpu mount -t cgroup -o memory none /container/memory mount -t cgroup -o cpuset none /container/cpuset Each of the sub-directories have files that can be modified for a designated purpose.... The questions that I am now trying to resolve a)Definition of cpu.shares? the default value is 1024. What is the max? What is the relation b/w cpu cores, freq of the cores etc...? What is 1 cpu share worth? b) What is the relation between cpuset.cpu* values and cpu cgroup? c) What is the relation between cpuset.mem* values and memory cgroup? Thanks in advance Mukesh On Tue, Sep 16, 2008 at 5:56 AM, Paul Menage <menage@xxxxxxxxxx> wrote: > Hi Mukesh, > > You should either: > > - mount with just the cgroup subsystems that you care about (e.g. > "-ocpu,memory") > > - set the "cpuset.cpus" and "cpuset.mems" files in the child cgroup to > be equal to those of the parent (root) cgroup. > > Paul > > On Mon, Sep 15, 2008 at 4:55 AM, Mukesh G <mukgbv@xxxxxxxxx> wrote: > > Hi Paul, > > How do I determine the no of memory nodes in shared systems (E.g: x86 > > based systems)? How do you define a memory node in the context of the > shared > > systems? > > > > I figured that I need to increase the memory nodes but unable to do so... > > > > Thanks > > > > Mukesh > > > > > > On Fri, Sep 5, 2008 at 6:30 PM, Paul Jackson <pj@xxxxxxx> wrote: > > > >> Mukesh wrote: > >> > "Write Error: No space left on device". > >> > >> Search for > >> > >> ENOSPC > >> > >> on the (brand new) cpuset(7) man page, such as at: > >> > >> ftp://oss.sgi.com/projects/cpusets/download/cpuset.7 > >> > >> -- > >> I won't rest till it's the best ... > >> Programmer, Linux Scalability > >> Paul Jackson <pj@xxxxxxx> 1.940.382.4214 > >> > > _______________________________________________ > > Containers mailing list > > Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx > > https://lists.linux-foundation.org/mailman/listinfo/containers > > > > _______________________________________________ > > Devel mailing list > > Devel@xxxxxxxxxx > > https://openvz.org/mailman/listinfo/devel > > > _______________________________________________ Containers mailing list Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/containers