From: Bill Davidsen <davidsen@tmr.com>
To: Kyle Moffett <mrmacman_g4@mac.com>
Cc: 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, 01 Feb 2005 10:50:04 -0500 [thread overview]
Message-ID: <41FFA52C.606@tmr.com> (raw)
In-Reply-To: <D25F0ABA-73C6-11D9-B5F9-000393ACC76E@mac.com>
Kyle Moffett wrote:
> On Jan 31, 2005, at 07:44, Matthias-Christian Ott wrote:
>
>> Ok maybe I wasn't able to read the /free/ output correctly, but why is no
>> swap used (more than 60% ram are used)?
>
>
> 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.
It's burning in with setiathome, and I played a few mp3s, and it seemed
to feel the need for swap. I see similar on a box with 4GB, it never
comes close to low memory, but still uses a few MB swap.
pixels:davidsen> free
total used free shared buffers cached
Mem: 1035228 996712 38516 0 175100 67932
-/+ buffers/cache: 553680 481548
Swap: 2048248 11292 2036956
pixels:davidsen> uname -rn
pixels.tmr.com 2.6.10-ac2
Not that this is a bad thing, but I'm surprised at no swap used at all.
--
-bill davidsen (davidsen@tmr.com)
"The secret to procrastination is to put things off until the
last possible moment - but no longer" -me
next prev parent reply other threads:[~2005-02-01 15:47 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 [this message]
2005-02-01 16:36 ` DervishD
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=41FFA52C.606@tmr.com \
--to=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