From: DervishD <lkml@dervishd.net>
To: Bill Davidsen <davidsen@tmr.com>
Cc: Kyle Moffett <mrmacman_g4@mac.com>,
Matthias-Christian Ott <matthias.christian@tiscali.de>,
Michael Buesch <mbuesch@freenet.de>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: My System doesn't use swap!
Date: Tue, 1 Feb 2005 17:36:44 +0100 [thread overview]
Message-ID: <20050201163644.GC685@DervishD> (raw)
In-Reply-To: <41FFA52C.606@tmr.com>
Hi Bill :)
* Bill Davidsen <davidsen@tmr.com> dixit:
> >Swap is orders of magnitude slower than RAM. Why put things there if you
> >still have RAM left? The kernel only puts things in swap when it has no
> >more RAM _and_ has already deleted big chunks of its disk cache.
> Unless he just booted, I would expect at least a little use of the swap,
> something like this, on a machine with 1GB RAM and not much happening.
I have 2.4.29 running and uptime is about 24 hours now, and with
1Gig of RAM and a loadavg in the last 15 minutes has been 4, more or
less, and I have 130 megs of free memory and none of my 512 megs swap
is used. And this is very common for me. The only way of using swap
is starting X, mozilla (some pre-firefox version will do) and one of
the many memory leaking apps available for the X Window System. On
console, with the apps I run usually (that includes setiathome too,
and heavy use of the C compiler) I don't hit swap. This is my memory
status right now:
total: used: free: shared: buffers: cached:
Mem: 927006720 796491776 130514944 0 5517312 738082816
Swap: 536862720 0 536862720
MemTotal: 905280 kB
MemFree: 127456 kB
MemShared: 0 kB
Buffers: 5388 kB
Cached: 720784 kB
SwapCached: 0 kB
Active: 7096 kB
Inactive: 719092 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 905280 kB
LowFree: 127456 kB
SwapTotal: 524280 kB
SwapFree: 524280 kB
Pretty low usage, and still more than 700MB of cached memory
available to avoid using swap.
Raúl Núñez de Arenas Coronado
--
Linux Registered User 88736
http://www.dervishd.net & http://www.pleyades.net/
It's my PC and I'll cry if I want to...
prev parent reply other threads:[~2005-02-01 16:36 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-31 11:49 My System doesn't use swap! Matthias-Christian Ott
2005-01-31 10:57 ` Michael Buesch
2005-01-31 12:44 ` Matthias-Christian Ott
2005-01-31 11:50 ` Benno
2005-01-31 22:59 ` Rahul Karnik
2005-01-31 12:32 ` Mark Watts
2005-01-31 20:29 ` Kyle Moffett
2005-02-01 15:50 ` Bill Davidsen
2005-02-01 16:36 ` DervishD [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050201163644.GC685@DervishD \
--to=lkml@dervishd.net \
--cc=davidsen@tmr.com \
--cc=linux-kernel@vger.kernel.org \
--cc=matthias.christian@tiscali.de \
--cc=mbuesch@freenet.de \
--cc=mrmacman_g4@mac.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox