[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Swapper problems?



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

Jason Edgecombe wrote:
[...]
> Try running the following as root:
> sysctl -w overcommit_memory=2
> sysctl -w overcommit_ratio=95

Thanks --- although there's a typo; just for reference, you mean:

sysctl -w vm.overcommit_memory=2
sysctl -w vm.overcommit_ratio=95

Although if I've understood things correctly, this will tell me system
to behave as if it's actually got 2GB of RAM (512MB RAM + 1GB swap +
(1*0.95) GB of overcommit). Why would this help? Wouldn't I rather
disable overcommit completely to ensure that if apps successfully
allocate memory, then they can always access it?


(PS. Please don't cc me --- I don't need two copies of each message!)

- --
David Given
dg@cowlark.com

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkqScFAACgkQf9E0noFvlzhk8QCgoaE1aLZqYAS4N40ZKVDmMUZ9
XSgAn3A1KcnC3GGA8h8qeH/uJH0h01fS
=m451
-----END PGP SIGNATURE-----


Reply to: