2001-07-30 22:09:47

by Marcelo Tosatti

[permalink] [raw]
Subject: Use-once change and inactive shortage calculation


Hi,

With Daniel's use-once change added in pre1, we have all pages added to
the pagecache moved to the inactive dirty list.

We're doing lazy list movement, so we don't update the information on the
inactive dirty list until we have a free shortage (that is, page_launder()
is not called until we have a free shortage).

This means we're not going to age pages/ptes without a free shortage,
since we always think the inactive lists have enough "inactive" pages.
Really really bad.

The best solution, IMO, is to unlazy queue movement. Doing this would
result in accurate inactive/free information.




2001-07-30 22:17:57

by Rik van Riel

[permalink] [raw]
Subject: Re: Use-once change and inactive shortage calculation

On Mon, 30 Jul 2001, Marcelo Tosatti wrote:

> The best solution, IMO, is to unlazy queue movement. Doing this would
> result in accurate inactive/free information.

We won't know until we try, but I think it's a good
thing to try...

regards,

Rik
--
Executive summary of a recent Microsoft press release:
"we are concerned about the GNU General Public License (GPL)"


http://www.surriel.com/
http://www.conectiva.com/ http://distro.conectiva.com/