On Wed, Apr 20, 2005 at 04:42:30PM -0400, Marc E. Fiuczynski wrote: > > > > We account the pages that come into lru list(active/inactive).... > > > > May be the controller should also follow RSS and usage of the class and be > > aggressive in cleaning up the active inactive lists. I 'll think about it. > > I cannot imagine that the pages in the inactive list are dirty. I.e., dd is > writing the data out to disk. So maybe it is ok to be more aggressive in > cleaning out the class's clean pages from the inactive list.
To my knowledge, lru logic doesn't care what the page is used for, and the shrink algorithm doesn't care if the page is dirty. As long as it is old, it just pushes it off. > > > There are few problems if we aggressively cleanup the lru lists. > > - we may be throwing the pages out which may be pulled in > > by the task in very near future. > > This is only the case if the processes within the same class approach or > exceed the memlimit. Wouldn't that be the most often case ? > > > - if a class need lot more than the limit, we will be > > swapping bigtime to the disk, which would slow down > > the other processes in the system > > Why? Because the class is consuming too much I/O bandwidth? Well, that's yes, that is why... > what a working I/O controller should solve, right? In the absence of a I/O controller, other classes would be affected for no fault of their own.. > > > We cannot differentiate the above dd case with a legitimate use > > of a class(unless we monitor the RSS usage as mentioned above). > > Well, I wouldn't go so far and classify whatever dd is doing as > "not"-legitimate. :)... wrong usage of the word.... I meant to refer the pages that are needed by the tasks (as opposed to pages that are not needed in case of dd). > > Marc > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: New Crystal Reports XI. > Version 11 adds new functionality designed to reduce time involved in > creating, integrating, and deploying reporting solutions. Free runtime info, > new features, or free trial, at: http://www.businessobjects.com/devxi/728 > _______________________________________________ > ckrm-tech mailing list > https://lists.sourceforge.net/lists/listinfo/ckrm-tech -- ---------------------------------------------------------------------- Chandra Seetharaman | Be careful what you choose.... - [EMAIL PROTECTED] | .......you may get it. ---------------------------------------------------------------------- ------------------------------------------------------- This SF.Net email is sponsored by: New Crystal Reports XI. Version 11 adds new functionality designed to reduce time involved in creating, integrating, and deploying reporting solutions. Free runtime info, new features, or free trial, at: http://www.businessobjects.com/devxi/728 _______________________________________________ ckrm-tech mailing list https://lists.sourceforge.net/lists/listinfo/ckrm-tech
