On Thu, 2006-04-20 at 10:12 +0900, MAEDA Naoaki wrote:
> Hi Chandra,
>
> [EMAIL PROTECTED] wrote:
> > Hi All,
> >
> > f-series CKRM went thru a major overhaul, mainly to reduce the codesize
> > and make it easy to understand.
> >
> > As usual, I uploaded the patches to the project website in two formats.
> >
> > External visible changes are:
> > For user:
> > guarantee, limit, total_guarantee and max_limit are replaced by
> > min_shares - same usage as guarantee
> > max_shares - same usage as limit
> > child_shares_divisor - replaces both total_guarantee and max_limit
> >
> > config file is removed, instead we are now using module parameters
> > changeable through /sys/module/
> >
> > attribute file is removed.
>
> Since this is a major overhaul, I propose one more specification change.
>
> I think min_shares and max_shares shouldn't be exposed in the shares
> file of the root class, because changing these two parameters in the
> root class is no effect.
>
> # I was confused a lot by the specification when I started to use CKRM.
>
> Setting these two parameters in the root class to CKRM_SHARE_UNSUPPORTED
> is alternative, but eliminating them is more straightforward.
>
> What do you think?
>
> Thanks,
> MAEDA Naoaki
I think turning the root class into a special case just makes
everything more complicated -- users would have to learn this, CKRM
would have to enforce it by adding special checks in some paths... which
makes me think there's got to be a better answer.
So it seems like a bug in the controller(s) to me. :)
I think the controllers should be fixed so that changes to their shares
in the root class do have an affect. Then only if they are set to
DONT_CARE (by the user) or UNSUPPORTED (by the controller) would it have
no affect. This makes things perfectly orthogonal as far as I can see.
Cheers,
-Matt Helsley
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
ckrm-tech mailing list
https://lists.sourceforge.net/lists/listinfo/ckrm-tech