Interesting. THis needs about two bytes per page for the counter?
On Wed, 1 Nov 2000, David Greenman wrote:
> >What paging strategy does FreeBSD currently use? Is it LRU or some
> >approximation to it? How much memory does this strategy take up in its
> >current implementation?
> It's probably nothing like anything you've heard of before. It's closest
> to LOU (least often used). We look at the page's reference flag and
> increment/decrement a counter depending on it. The rate that we look at
> the reference flag is also roughly proportional to the rate at which new
> pages are needed. This algorithm has proven to be extremely effective and
> does much better than simple LRU.
> David Greenman
> Co-founder, The FreeBSD Project - http://www.freebsd.org
> President, TeraSolutions, Inc. - http://www.terasolutions.com
> Pave the road of life with opportunities.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message