Re: dynamic allocation of swap disk space

From: John Bradford
Date: Tue May 11 2004 - 11:42:06 EST


Quote from Valdis.Kletnieks@xxxxxx:
>
> On Tue, 11 May 2004 16:52:15 BST, John Bradford said:
>
> > Imagine a system with limited physical RAM, and limited swap space, running a
> > process which causes a lot of filesystem activity on the same physical disk
> > as is being used for swap. If the total RAM, both physical and swap is almost
> > completely full, increasing the swap space may allow some data from physical
> > RAM to be swapped out, in favour of caching filesystem data from the disk.
>
> Possible, but wouldn't that imply that the value of /proc/sys/vm/swappiness
> is very mis-set and causing a too-high estimate of the working set size?

Yes - to be honest, I was thinking of very low spec systems, where swap may
well be less than or equal to physical RAM size.

John.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/