Thread (2 messages) 2 messages, 2 authors, 2000-09-25

Re: [patch] vmfixes-2.4.0-test9-B2 - fixing deadlocks

From: Rik van Riel <hidden>
Date: 2000-09-25 22:42:09

On Tue, 26 Sep 2000, Andrea Arcangeli wrote:
On Mon, Sep 25, 2000 at 08:54:57PM +0100, Stephen C. Tweedie wrote:
quoted
basically the whole of memory is data cache, some of which is mapped
and some of which is not?
As as said in the last email aging on the cache is supposed to that.

Wasting CPU and incrasing the complexity of the algorithm is a price
that I won't pay just to get the information on when it's time
to recall swap_out().
You must be joking. Page replacement should be tuned to
do good page replacement, not just to be easy on the CPU.
(though a heavily thrashing system /is/ easy on the cpu,
I'll have to admit that)
If the cache have no age it means I'd better throw it out instead
of swapping/unmapping out stuff, simple?
Simple, yes. But completely BOGUS if you don't age the cache
and the mapped pages at the same rate!

If I age your pages twice as much as my pages, is it still
only fair that your pages will be swapped out first? ;)
quoted
anything since last time.  Anything that only ages per-pte, not
per-page, is simply going to die horribly under such load, and any
The aging on the fs cache is done per-page.
And the same should be done for other pages as well.
If you don't do that, you'll have big problems keeping
page replacement balanced and making the system work well
under various loads.

regards,

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/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help