Subject: Re: UBC usage-balancing code is checked in.
To: Chuck Silvers <chuq@chuq.com>
From: Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>
List: tech-kern
Date: 03/09/2001 12:57:55
On Thu, 8 Mar 2001, it was written:
>   add UBC memory-usage balancing.  we track the number of pages in use for
>   each of the basic types (anonymous data, executable image, cached files)
>   and prevent the pagedaemon from reusing a given page if that would reduce
>   the count of that type of page below a sysctl-setable minimum threshold.
>   the thresholds are controlled via three new sysctl tunables:
>   vm.anonmin, vm.vnodemin, and vm.vtextmin.  these tunables are the
>   percentages of pageable memory reserved for each usage, and we do not allow
>   the sum of the minimums to be more than 95% so that there's always some
>   memory that can be reused.

So do I understand this right:
To make sure my heavily-used apps are not paged out, I'd go and add up
their memory footprint (op SIZE column?), and use that as vm.vtextmin?


 - Hubert

-- 
Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>