[CentOS] Postpone/avoid swaping while there is still free RAM.

Tue Jun 20 18:01:02 UTC 2006
William L. Maltby <BillsCentOS at triad.rr.com>

On Tue, 2006-06-20 at 13:51 -0400, Barry L. Kline wrote:
> Alexander Georgiev wrote:
> > 
> > There is plenty of free ram, but the kernel prefers to swap unused
> > pages to disk. And later I have to wait for them to be unswapped, the
> > Desktop looses its promptness - annoying.
> > <snip>

Since we are talking desktops now, I'll mention that since I made the
adjustments to my node that I mention in the thread Jim mentions, I have
not seen more than 160k in swap used. And I did not futz with swappiness
or any other parameter. Prior to those changes, under "heavy" load (e.g.
multiple browsers for multiple users open, multiple mail sessions (evo
and tbird),... I would see severe swap and degradation after a couple of
days. Since the changes, in over a week of not rebooting, never more
than 160k swapped.

I guess I ought to find what it is and get rid of it too, but seems
unworthy of the effort.

HTH
-- 
Bill
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.centos.org/pipermail/centos/attachments/20060620/cf04e0df/attachment-0005.sig>