[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20101116190916.GD13092@redhat.com>
Date: Tue, 16 Nov 2010 14:09:16 -0500
From: Vivek Goyal <vgoyal@...hat.com>
To: Peter Zijlstra <a.p.zijlstra@...llo.nl>
Cc: david@...g.hm, Paul Menage <menage@...gle.com>,
Lennart Poettering <mzxreary@...inter.de>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Dhaval Giani <dhaval.giani@...il.com>,
Mike Galbraith <efault@....de>,
Oleg Nesterov <oleg@...hat.com>,
Markus Trippelsdorf <markus@...ppelsdorf.de>,
Mathieu Desnoyers <mathieu.desnoyers@...icios.com>,
Ingo Molnar <mingo@...e.hu>,
LKML <linux-kernel@...r.kernel.org>,
Balbir Singh <balbir@...ux.vnet.ibm.com>
Subject: Re: [RFC/RFT PATCH v3] sched: automated per tty task groups
On Tue, Nov 16, 2010 at 07:59:25PM +0100, Peter Zijlstra wrote:
> On Tue, 2010-11-16 at 10:55 -0800, david@...g.hm wrote:
> > On Tue, 16 Nov 2010, Paul Menage wrote:
> >
> > > On Tue, Nov 16, 2010 at 10:21 AM, Peter Zijlstra <a.p.zijlstra@...llo.nl> wrote:
> > >>
> > >> Not quite the same, you're nesting one level deeper. But the reality is,
> > >> not a lot of people will change their userspace.
> > >
> > > That's a weak argument - not a lot of people will (explicitly) change
> > > their kernel either - they'll get a fresh kernel via their distro
> > > updates, as they would get userspace updates. So it's only a few
> > > people (distros) that actually need to make such a change.
> >
> > what is the downside of this patch going to be?
> >
> > people who currently expect all the processes to compete equally will now
> > find that they no longer do so. If I am understanding this correctly, this
> > could mean that a box that was dedicated to running one application will
> > now have that application no longer dominate the system, instead it will
> > 'share equally' with the housekeeping apps on the system.
> >
> > what would need to be done to revert to the prior situation?
>
> build with: CONFIG_SCHED_AUTOGROUP=n,
> boot with: noautogroup or
> runtime: echo 0 > /proc/sysctl/kernel/sched_autogroup_enabled
>
> (although the latter is a lazy one, it won't force existing tasks back
> to the root group)
I think this might create some issues with controllers which support some
kind of upper limit on resource usage. These hidden group can practically
consume any amount of resource and because use space tools can't see these,
they will not be able to place a limit or control it.
If it is done from user space and cgroups are visible, then user can
atleast monitor the resource usage and do something about it.
Thanks
Vivek
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists