Re: 'autogroup' sched code KILLING responsiveness

From: Ingo Molnar
Date: Sun Jan 23 2011 - 10:16:11 EST



* Yong Zhang <yong.zhang0@xxxxxxxxx> wrote:

> On Sun, Jan 23, 2011 at 02:50:08AM -0800, Christian Kujau wrote:
> > On Fri, 21 Jan 2011 at 10:20, Michael Witten wrote:
> > > With that code in place, a resource-intensive activity (such as
> > > compiling the Linux kernel) causes my computer to become
> > > unresponsive for many seconds at a time; the entire screen
> > > does not refresh, typed keys are dropped or are handled very
> > > late, etc (even in Linux's plain virtual consoles).
> >
> > Unfortunately, I'd like to add a "me too". 2.6.38-rc1 behaves fine, but
> > with CONFIG_SCHED_AUTOGROUP=y and doing I/O and CPU intensive work (git
> > prune/git repack on a Linux git tree), system load goes up to ~13 and
> > becomes unresponse for some time too. This even happens when I start the
> > jobs with nice -n10.
> >
> > Without CONFIG_SCHED_AUTOGROUP enabled and doing the same work,
> > systemload goes up to 1 or maybe 2.
> >
> > I'm on UP as well (PowerPC G4), disabling CONFIG_SCHED_AUTOGROUP helps
> > here too.
>
> I think below patch will fix it.

Christian, Michael, can you confirm that this and the second patch fixes the
interactivity bug for you? If yes then i'd like to apply and send this fix to Linus
ASAP.

Thanks,

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/