* Tommaso Cucinotta <[email protected]> [2010-09-23 12:12:33]:

> Il 23/09/2010 12:01, Balbir Singh ha scritto:
> >* Tommaso Cucinotta<[email protected]>  [2010-09-23 11:43:16]:
> >
> >>What is the purpose of this group ?
> >The purpose of the group is to ensure not all tasks start in root,
> >root cgroup has all the resources. Once a task moves out of its
> >default group which is root by default, it cannot come back. That is
> >not a good situation. The default group solves these problems.
> I'm missing some pieces of the puzzle: is this a problem of
> permissions ? (I'm seeing the sysdefault/tasks file has rw- for
> others, whilst the root group tasks file has r-x !?!). What is the
> scenario where you run into this problem ?
> >There is a simple way to disable this
> >
> >Create /etc/sysconfig/cgconfig and add the following
> >
> >CREATE_DEFAULT=no
> thanks, this is the easy'n'quick fix for me, as of now.
> 
> I guess in my case I could also add to cgconfig.conf
> 
> group sysdefault {
>   cpu.rt_period_us = ...
>   cpu.rt_runtime_us = ...
>   ...
> }
> 
> Right ? Is the default group created before proceeding to execute
> the cgconfig `group' commands ?
>

The parsing is done before the default group is created, so yes that
should work. Please do try it out. 

-- 
        Three Cheers,
        Balbir

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Libcg-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libcg-devel

Reply via email to