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

From: Ingo Molnar
Date: Wed Sep 15 2010 - 10:03:14 EST



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

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/