Hi,

We have been receiving comments from community about CKRM's complexity.

Classtype support adds a level of indirection at every module of
functionality. Because of classtype we have to define class as a group
of "kernel objects", which is abstract.

By removing the classtype support, CKRM can will manage only one thing
i.e tasks and the code will be simpler to understand and follow.

I started from e18 + Shailabh's rcfs rewrite + Matt's RBCE removal code,
to remove the classtype support, and wanted to submit patches against
that set. But, sooner realized that it will be very hard for me to do it
and touch to understand what the patches are doing.

So, Here is new set of patches that provide the basic CKRM framework. We
will start using this as the new development tree. Resource controllers
need to be ported to this tree.

I have simplified the interface between RCFS and CORE. I move the
hierarchy structure to the core and removed the read/write lock used for
protecting the hierarchy(instead use the class's lock itself).

The code is compiled, touch tested the functionality, but haven't done
elaborate testing yet. It is against 2.6.13.

I am eagerly looking for comments, concerns, test cases and test
results.

One obvious negative impact is that we lose the ability to add class
that manages "any kernel object".

Regards,

chandra

01ckrm_core - This patch has the core infrastructure code. It includes
support for resource controllers, basic interface definitions and other
framework to support for task based resource management

02ckrm_tasksupport - This patch provides the functionality to track
tasks based on classed. This is the base to enable class based resource
control for numtasks cpu, memory and disk I/O.

03ckrm_addiface - This patch adds a simplified interface to access CKRM.
It provides interfaces to create/delete a class, change characteristics
of a class, add/remove members from a class and query the
characteristics of a class. 
Note: I am _not_ happy with the naming of this module and the file names
in this patch. Help me with better names.

04ckrm_rcfs - This patch adds a file system interface to access CKRM
core. This patch provides the user level access to managing CKRM
classes.



-- 

----------------------------------------------------------------------
    Chandra Seetharaman               | Be careful what you choose....
              - [EMAIL PROTECTED]   |      .......you may get it.
----------------------------------------------------------------------




-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
ckrm-tech mailing list
https://lists.sourceforge.net/lists/listinfo/ckrm-tech

Reply via email to