Exaggerated swap usage

Javier Marcet (jmarcet@pobox.com)
Fri, 29 Nov 2002 12:54:05 +0100


--M38YqGLZlgb6RLPS
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Forgive me if I don't provide enough information just yet, or am not
clear enough. I simply don't know what setting to tweak.

I'll explain.
In recent 2.4.20 pre and rc kernels ( I tend to use the ac branch ), I
had notice my system, when using X mainly, got terribly slow after some
use. It surprised me that when I tried 2.5.47 this did not happen at
all, since I thought my problem was a lack of memory - the system has
384MB -.
Hence I tried to find where the difference was. What I found is that
2.4.20 kernels - 2.4.19 does the same -, was swapping just too much,
while there was a lot free memory on the system, cached but free.
I disabled all swap and it suddenly began to work smoothly again, yet
with the random kills when memory was a scarce resource on the system.
I've tried different sysctl's vm.overcommit settings but the result is
the same.

I also found a 2.4.x kernel which did not show this behavior, WOLK, in
any version I tried.

Could you please point me toward something I can try tweaking, or some
documentation to read which explains what I can change, unless it's some
kind of kernel problem?

BTW, aa kernels behaved somewhat better on this, only that the last one
I tried -rc2aa1- had some stability problems.

I can provide you with dmesg, /proc/meminfo or whatever might be useful.

Thanks in advance :)

--=20
Javier Marcet <jmarcet@pobox.com>

--M38YqGLZlgb6RLPS
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iEYEARECAAYFAj3nVV0ACgkQx/ptJkB7frzpVACeLtLDO/l7UusoWUdhYR6P0d7L
n1IAn0m3D5Gxs6b9zdkUatjNrvddSbiZ
=2VsD
-----END PGP SIGNATURE-----

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