From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Wed, 12 Jul 2000 15:02:26 -0300 (BRST) From: Rik van Riel Subject: Re: [PATCH] 2.2.17pre7 VM enhancement Re: I/O performance on 2.4.0-test2 In-Reply-To: <396bb43f.25232236@mail.mbay.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org Return-Path: To: John Alvord Cc: Andrea Arcangeli , "Juan J. Quintela" , "Stephen C. Tweedie" , Marcelo Tosatti , Jens Axboe , Alan Cox , Derek Martin , Linux Kernel , linux-mm@kvack.org, "David S. Miller" List-ID: On Wed, 12 Jul 2000, John Alvord wrote: > One question that puzzles me... cache for disk files and cache > for program data will have very unlike characteristics. > Executable program storage is typically more constant. Often > disk files are read once and throw away and program data is > often reused. This isn't always true, but it is very common. Page aging is the solution here. Doing proper page aging allows us to make the distinction between use-once pages and pages which are used over and over again. And the best part is that we can do that without regard for what type of cache a page happens to be in. We replace pages based on observing their usage pattern and not on some assumptions we make based on what is (should be) in the page.... Rik -- "What you're running that piece of shit Gnome?!?!" -- Miguel de Icaza, UKUUG 2000 http://www.conectiva.com/ http://www.surriel.com/ -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux.eu.org/Linux-MM/