>>>>+ for (p = ub; p != NULL; p = p->parent) { >>> >>> >>>Seems rather expensive to walk up the tree for every charge. Especially >>>if the administrator wants a fine degree of resource control and makes a >>>tall tree. This would be a problem especially when it comes to resources >>>that require frequent and fast allocation. >> >>in heirarchical accounting you always have to update all the nodes :/ >>with flat UBC this doesn't introduce significant overhead. > > > Except that you eventually have to lock ub0. Seems that the cache line > for that spinlock could bounce quite a bit in such a hot path. do you mean by ub0 host system ub which we call ub0 or you mean a top ub?
> Chandra, doesn't Resource Groups avoid walking more than 1 level up the > hierarchy in the "charge" paths? Kirill ------------------------------------------------------------------------- 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