On Mon, 2006-08-21 at 14:40 +0400, Kirill Korotaev wrote: > The one reason is that such an accounting allows to estimate the > memory > used/required by containers, while limitations by objects: > - per object accounting/limitations do not provide any memory > estimation
I know you're more clever than _that_. ;) > - having a big number of reasonably high limits still allows the user > to consume big amount of memory. I.e. the sum of all the limits tend > to be high and potentially DoS exploitable :/ > - memory is easier to setup/control from user POV. > having hundreds of controls is good, but not much user friendly. I'm actually starting to think that some accounting memory usage *only* in the slab, plus a few other structures for any stragglers not using the slab would suffice. Since the slab knows the size of the objects, there is no ambiguity about how many are being used. It should also be a pretty generic way to control individual object types, if anyone else should ever need it. The high level pages-used-per-container metric is really nice for just that, containers. But, I wonder if other users would find it useful if there were more precise ways of controlling individual object usage. -- Dave ------------------------------------------------------------------------- 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