Re: [PATCH] 2.3.99-pre6-3+ VM rebalancing

From: Rik van Riel (riel@conectiva.com.br)
Date: Wed Apr 26 2000 - 06:15:14 EST


On Wed, 26 Apr 2000, Stephen C. Tweedie wrote:
> On Tue, Apr 25, 2000 at 12:06:58PM -0700, Simon Kirby wrote:
> >
> > Sorry, I made a mistake there while writing..I was going to give an
> > example and wrote 60 seconds, but I didn't actually mean to limit
> > anything to 60 seconds. I just meant to make a really big global lru
> > that contains everything including page cache and swap. :)
>
> Doesn't work. If you do that, a "find / | grep ..." swaps out
> everything in your entire system.
>
> Getting the VM to respond properly in a way which doesn't freak out
> in the mass-filescan case is non-trivial. Simple LRU over all pages
> simply doesn't cut it.

It seems to work pretty well, because pages "belonging to" processes
are mapped into the address space of each process and will never go
through swap_out() if shrink_mmap() will succeed.

regards,

Rik

--
The Internet is not a network of computers. It is a network
of people. That is its real strength.

Wanna talk about the kernel? irc.openprojects.net / #kernelnewbies 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/



This archive was generated by hypermail 2b29 : Sun Apr 30 2000 - 21:00:11 EST