Christopher Friesen wrote:
> Does anyone have any results for the performance of the latest ckrm cpu 
> controller?

They are not the latest CPU controllers results though, some
performance results can be downloaded from the following URL.

http://prdownloads.sourceforge.net/ckrm/cpurc-v0.3-2615-kernbench.pdf?download
http://prdownloads.sourceforge.net/ckrm/cpurc-v0.3-2615-lat_ctx.pdf?download

> I'm interested in scenarios with multiple classes in a hierarchy with 
> varying shares assigned to each class, with one or more cpu hogs in each 
> class.
> 
> I'm curious to see how well it does in terms of meeting the share targets.

The hierarchy is used only to calculate an effective share for each
groups in the following manner. The scheduling algorithm treat
the groups as if they are defined in a flat level and each of them
has its effective share.

                         /
                           effective_min_shares
                           = 100% - 50% - 30%
                           = 20%
         +---------------+---------------+
         /A min_shares=50%               /B min_shares=30%
            effective_min_shares            effective_min_shares
            = 50% - 10% - 25%               = 30% - 0%
            = 15%                           = 30%
+---------------+---------------+
/C min_shares=20%               /D min_shares=50%
effective_min_shares               effective_min_shares
= 20% of 50% - 0% = 10%    = 50% of 50% - 0 %
= 10%                      = 25%

If the min_shares in the resource group /A is changed 50% to 40% in the 
above example, the effective_min_shares of the resource group /A, /C and
/D are automatically changed to 12%, 8% and 20% respectively.

Thanks,
MAEDA Naoaki



_______________________________________________
ckrm-tech mailing list
https://lists.sourceforge.net/lists/listinfo/ckrm-tech

Reply via email to