Re: [RFC PATCH] sched: START_NICE feature (temporarily nicedforks) (v3)

From: Mike Galbraith
Date: Thu Sep 16 2010 - 06:30:57 EST


On Wed, 2010-09-15 at 16:02 +0200, Ingo Molnar wrote:
> * Mike Galbraith <efault@xxxxxx> wrote:
>
> > On Wed, 2010-09-15 at 11:22 +0200, Ingo Molnar wrote:
> > > * Mike Galbraith <efault@xxxxxx> wrote:
> > >
> > > > Tangent: cgroups with classification user/pgid
> > > >
> > > > taskset -c 3 ./wakeup-latency& sleep 30 && killall wakeup-latency
> > > > (taskset -c 3 make -j10 running)
> > > >
> > > > maximum latency: 256.5 Âs
> > > > average latency: 25.7 Âs
> > > > missed timer events: 0
> > > >
> > > > Rather spiffy for this case.
> > >
> > > Ouch, nothing beats proper segregation of workloads.
> > >
> > > It would be _really_ nice to get that automatically somehow, for make -j
> > > jobs. Perhaps a per tty auto-cgroup-classification kernel feature?
> > >
> > > We cannot really rely on distros to pull this off.
> >
> > Dunno, wasn't hard.
>
> Renicing a make -j 10 isnt hard either - still people/apps dont do it
> :-/

True. I'll put resurrect/tinker usersched back on good intentions list.

-Mike

--
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/