Re: 2.4 VM & swap question

alterity (alterity@dingoblue.net.au)
Mon, 18 Jun 2001 07:43:19 +1000


On Sun, 17 Jun 2001 20:58:35 +0200, you wrote:

>I have a database server with 1G phys and 1G swap. It uses 950+ MB for cache,
>as it should, and doesn't even *touch* swap. This is 2.4.5.

I thought the new rule is:
total_memory = max(physical, swap);

And the old rule was:
total_memory = physical + swap;

Hence under a 1G physical and 1G swap setup, the kernel would never
access swap.

Is this the case, or am I a couple of megabytes short in my
understanding of things?

Al

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