Messages in this thread | | | Date | Thu, 9 Jul 1998 20:59:57 +0200 (CEST) | From | Rik van Riel <> | Subject | Re: cp file /dev/zero <-> cache [was Re: increasing page size] |
| |
On Thu, 9 Jul 1998, Stephen C. Tweedie wrote: > On Tue, 7 Jul 1998 13:50:02 -0400 (EDT), "Benjamin C.R. LaHaise" > <blah@kvack.org> said: > > > Right. I'd rather see a multi-level lru like policy (ie on each cache hit > > it gets moved up one level in the cache, with the lru'd pages from a given > > There's a fundamentally nice property about the multi-level cache > which we _cannot_ easily emulate with page aging, and that is the > ability to avoid aging any hot pages at all while we are just > consuming cold pages. For example, a large "find|xargs grep" can be > satisfied without staling any of the existing hot cached pages.
Then I'd better incorporate a design for this in the zone allocator (we could add this to the page_struct, but in the zone_struct we can make a nice bitmap of it).
OTOH, is it really _that_ much different from an aging scheme with an initial age of 1?
Rik. +-------------------------------------------------------------------+ | Linux memory management tour guide. H.H.vanRiel@phys.uu.nl | | Scouting Vries cubscout leader. http://www.phys.uu.nl/~riel/ | +-------------------------------------------------------------------+
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu
| |