Re: [ckrm-tech] [RFC 3/5] sched: Add CPU rate hard caps

From: Mike Galbraith
Date: Sat Jun 03 2006 - 01:59:14 EST


On Sat, 2006-06-03 at 10:08 +1000, Peter Williams wrote:
> Mike Galbraith wrote:
> > How? How would you deal with the make example with per task caps.
>
> I'd build a resource management tool that uses task statistics, nice and
> caps to manage CPU resource allocation. This could be a plug in kernel
> module or a user space daemon. It doesn't need to be in the scheduler.

Ok, you _can_ gather statistics, and modify caps/nice on the fly... for
long running tasks. How long does a task have to exist before you have
statistics for it so you can manage it?

Also, if you're going to need a separate resource manager to allocate,
monitor and modify in realtime, why not go whole hog, and allocate and
monitor instances of uml. It'd be a heck of a lot easier.

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