-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 10/06/10 18:43, Paul H. Hargrove wrote:

> When the file is on a real (not tmpfs or other ramdisk) I am 95% certain
> that this is an artifact of the Linux swapper/pager behavior which is
> thinking it is being smart by "swapping ahead".  Even when there is no
> memory pressure that requires swapping, Linux starts queuing swap I/O
> for pages to keep the number of "clean" pages up when possible.

I believe you can tweak that behaviour through the VM subsystem
using /proc/sys/vm/swappiness, it defaults to 60 but lower values
are meant to make the kernel less likely to swap out applications
and instead concentrate on reclaiming pages from the page cache.

cheers,
Chris
- --
 Christopher Samuel - Senior Systems Administrator
 VLSCI - Victorian Life Sciences Computational Initiative
 Email: samuel@unimelb.edu.au Phone: +61 (0)3 903 55545
         http://www.vlsci.unimelb.edu.au/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkwR0fcACgkQO2KABBYQAh8sEACggnFKMQIVummW21teI9yBqqNt
T4AAnjMSfOFONLyANjgso7kO0VAH3zi7
=X3AE
-----END PGP SIGNATURE-----