[CentOS] Swap

Mon Jun 5 19:45:15 UTC 2006
Rodrigo Barbosa <rodrigob at suespammers.org>

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

On Mon, Jun 05, 2006 at 09:31:20PM +0200, Kai Schaetzl wrote:
> Rodrigo Barbosa wrote on Mon, 5 Jun 2006 15:37:26 -0300:
> > I keep my swap on, but set swappiness to 0. Been working great that way. 
> where do you set "swappiness"?

Right way:
	On /etc/sysctl.conf, add "vm.swappiness = 0"

	Or any other value you want. The default is 60.

	Don't forget to run "sysctl -p" to load this new value.

Not so right way:

	echo 0 > /proc/sys/vm/swappiness

> > PS: I really wish people would stop top-posting.
> 
> Actually, if someone doesn't trim the quote I *much* prefer top-posting 
> over endlessly scrolling to the end for reading a single sentence or two.

Doing both is even better :)

- -- 
Rodrigo Barbosa <rodrigob at suespammers.org>
"Quid quid Latine dictum sit, altum viditur"
"Be excellent to each other ..." - Bill & Ted (Wyld Stallyns)

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

iD8DBQFEhInLpdyWzQ5b5ckRAlspAJ4wFZyLg/tH4OEgxDIfChAA45MrRgCfTsJ4
0C17DN8cs6DuEhX8gTYuz0A=
=uNHd
-----END PGP SIGNATURE-----