Messages in this thread |  | | Date | Wed, 17 Oct 2001 03:15:42 +0200 | From | Andrea Arcangeli <> | Subject | Re: VM |
| |
On Tue, Oct 16, 2001 at 10:49:28PM -0200, Rik van Riel wrote: > The VM just doesn't have the information it needs to > determine what to do...
additional page aging cannot make it different as far I can tell. The twekaing I'm speaking about is a number. After probing the cache and after getting many faliures I need to choose when it's time to start the pagetable scanning. Additional bit of aging can only influence the number of faliures, I cannot see how can it help to know when to start the pagetable scanning. It's a _ratio_ between the faliures and the size of the scan that tells me when it's the time. You need the same logic too somewhere in -ac vm. Now if I turn the ratio very high the cache will shrink more before we start pagetable scanning. If I make it low we'll swapout very easily. This ratio doesn't need to be perfect, it will never trigger anyways most of the time, but it must be a sane number, and it can make some difference during swapout.
Andrea - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |