Paul Menage wrote:
> One of the arguments presented against merging the Resource Groups
> core is the lack of resource controllers that are in a state where
> they're ready to be merged.
>
> Here's a very simple resource "controller" that simply accounts the
> CPU time consumed by the tasks in a resource group, and reports it via
> the stats interface. It has no shares or other configuration, but also
> has nothing intrusive in the kernel apart from a couple of calls to an
> accounting function in the existing time accounting in sched.c
>
> It's something that could be useful for any job control system.
> Obviously a proper CPU scheduler with QoS isolation is better, but (in
> the absence of such a scheduler that's ready for merging), right now
> tracking the CPU cycles consumed by a group of processes involves lots
> of expensive /proc scraping. (It's certainly something that we'd find
> useful).
>
> How about adding this alongside the numtasks controller as an example
> of a simple but useful controller?
>
> Paul
>
> diff -Naur -X /home/menage/dontdiff
diff -Naurp please, I cannot see which functions you have patched
--
Balbir Singh,
Linux Technology Center,
IBM Software Labs
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
ckrm-tech mailing list
https://lists.sourceforge.net/lists/listinfo/ckrm-tech