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

From: Ingo Molnar
Date: Wed Sep 15 2010 - 05:22:26 EST



* 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.

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/