Messages in this thread |  | | Subject | Re: [ckrm-tech] [RFC 3/5] sched: Add CPU rate hard caps | | From | Mike Galbraith <> | | Date | Sat, 03 Jun 2006 08:02:12 +0200 |
| |
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |