Re: broken VM in 2.4.10-pre9

Peter Magnusson (iocc@linux-kernel.flashdance.cx)
Sat, 22 Sep 2001 23:46:50 +0200 (CEST)


On Sat, 22 Sep 2001, Jan Harkes wrote:

> Only when the wrong pages have been swapped out and need to be swapped
> in again. Swapped out pages should be relatively inactive, the amount of
> swap space allocated number that you see in 'free' is not the same as
> the amount of pages that are actually swapped out and removed from
> memory, any active ones should still be around in the pagecache.
>
> > Use the swap as little as possible == good.
>
> Nope, Use the swap-in as little as possible == good, I don't mind having
> 4GB of data in swap, as long as I typically don't need to load it back
> into in memory. And every page that is in swap that I don't really need
> means another page that can be used to avoid paging out an executable,
> or purging the dentry lookup caches, or dropping one of those files I
> access once every 5 minutes.

I think we are talking about somewhat different things. U talk about
swapping in general. I talk about the changes 2.4.7 > now (2.4.9 for
example) in the VM system that makes linux to swap alot.

In kernel 2.4.7 maybe 5 Mbyte was put on the swap over a week. It didnt
had any need to put more on the swap because i got 512 Mbyte RAM.

Then that changed... In for example 2.4.9 it put ALOT of Mbyte on the swap
very fast, like 100-200 Mbyte. And then it will slowly swap it back to RAM
when they are needed. If it didnt put it on the swap in the first place and
keept it in RAM like under 2.4.7 it would not swap it back to RAM later and
it would go faster. I know alot of others that are very annoyed about this
and is complaing about it. I just doesnt reach the linux-kernel
mailinglist.

-
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/