Hi Rafael Tinoco!

Right. A cgroup for each user. But there isn't 500k, for a group 10-20k
I don't see any loss of perfomance (including the increase sys times).
Everything would work perfectly but the awfull parcing of config files.

On Fri, Aug 20, 2010 at 08:22:49PM -0300, Rafael Tinoco (inaddy) wrote:
> Also keep in mind that Ive exchanged some emails about this issue some
> time ago. And the problem - besides the parsing - is: too much sys
> time in kernel scheduling after having too many cgroups created.
> 
> As far as I'm seeing here you are using one cgroup for each username ?
> Is that correct ? More than 500 hundreds could give you some
> performance problems (higher sys times for each processes).
> 
> Regards
> 
> Rafael Tinoco
> 
> On Fri, Aug 20, 2010 at 3:09 AM, Alexey Vlasov <[email protected]> wrote:
> > Hi.
> >
> > I've got about 10k raws in cgrules.conf, for example:
> > username  *   virtwww/username/serv
> >
> > I use pam_cgroup to move PID process in to needed group, but having too
> > many raws in cgrules.conf make this process too slow, and makes 
> > cgrules.conf/pam_cgroup
> > practically unusable. In strace I see that the file /etc/passwd parses 
> > multiple,
> > eats CPU. Everithing goes wrong.
> > Can I somehow fix it?
> >
> > --
> > BRGDS. Alexey Vlasov.
> >
> > ------------------------------------------------------------------------------
> > This SF.net email is sponsored by
> >
> > Make an app they can't live without
> > Enter the BlackBerry Developer Challenge
> > http://p.sf.net/sfu/RIM-dev2dev
> > _______________________________________________
> > Libcg-devel mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/libcg-devel
> >

-- 
BRGDS. Alexey Vlasov.

------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
Libcg-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libcg-devel

Reply via email to