[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: filecache/swapcache questions [RFC] [RFT] [PATCH] kanoj-mm12-2.3.8
On Tue, 29 Jun 1999, Stephen C. Tweedie wrote:
>Absolutely. The important thing is to do enough swapping to make sure
>that unused data is not kicking around in memory. Maybe you don't want
I know that sometime is the right thing do to.
But think also a difference scenario. You have a machine that only reads
all the time from a disk 10giga of data in loop. The data is so big and
you reference it so in round-robin that you have no chance to find one bit
of data in in the page-cache (but don't tell me to not use a lru-algorithm
:).
So what you gain? You find most of your task swapped out: when you click
netscape on the other desktop you find yourself stalled. Then you change
desktop, the program continue to read from disk in background, and then
you find stalled again the next time. In this case you gain _nothing_ from
swapping out netscape.
So I think we should make the swapout level to be at least configurable.
Andrea
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://humbolt.geo.uu.nl/Linux-MM/