Messages in this thread | | | 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 |
| |
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 from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |