[CentOS] Swap

Mon Jun 5 18:37:26 UTC 2006
Rodrigo Barbosa <rodrigob at suespammers.org>

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

On Mon, Jun 05, 2006 at 02:26:04PM -0400, Brett Serkez wrote:
> On 6/5/06, Sam Drinkard <sam at wa4phy.net> wrote:
> >I know this is more of a general unix question, but the thread about the
> >last kernel update, and memory usage got me to looking and thinking.
> >Given a system with 2 Gb of memory, and at peak usage, top reports
> >considerably less than the 2 gig amount in use, as well as system
> >monitoring that never shows all available memory used, what would happen
> >if you just turned swap off, and let memory handle things?  This machine
> >here, has now crept up to using just under 400mb of swap, yet I've never
> >seen total memory usage above about 1.4gb.  I'm a bit leary of just
> >"swapoff" while the machine is running the weather model, as I'd hate to
> >crash things, but I'm just wondering if turning off swap (assuming the
> >system is actually using the disks) would break things or in the best
> >case, speed things up.
>
> I run without swap all the time, no problem unless you really do use
> all your physical memory.

I keep my swap on, but set swappiness to 0. Been working great that way.

[]s

PS: I really wish people would stop top-posting.

- -- 
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)

iD8DBQFEhHnmpdyWzQ5b5ckRAuIaAJwMgB95Rxps+jJaOqBnYRmFnv1S/QCgin65
qSFO+p8xGEUJO6DpREk5YCs=
=XPGU
-----END PGP SIGNATURE-----