Re: Scheduler queues for less os-jitter?

From: Mike Galbraith
Date: Wed Oct 10 2012 - 22:46:28 EST


On Wed, 2012-10-10 at 20:13 +0200, Uwaysi Bin Kareem wrote:
> I was just wondering, have you considered this?
>
> If daemons are contributing to os-jitter, wouldn`t having them all on
> their own queue reduce jitter? So people could have the stuff like in
> Ubuntu they want, without affecting jitter, or needing stuff like Tiny
> Core, for tiny jitter?
>
> So you get (simplified) something like mainapp - process1 in queue 2,
> mainapp - process2 in queue 2, mainapp - process 3 in queue 2, etc.
>
> Or is that already batch maybe, lol.

You could try SCHED_AUTOGROUP, or create whatever task groups manually,
or use systemd to do that for you. Like everything else having anything
to do with scheduling, all are double edged swords, so may help, may
hurt.

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