From: Jose Luis Domingo Lopez <linux-kernel@24x7linux.com>
To: linux-kernel@vger.kernel.org
Subject: Re: Over used cache memory?
Date: Thu, 6 Nov 2003 20:07:03 +0100 [thread overview]
Message-ID: <20031106190703.GA2654@localhost> (raw)
In-Reply-To: <BAY4-F40qelZScM4qcI00005e31@hotmail.com>
On Thursday, 06 November 2003, at 17:15:33 +0800,
Wee Teck Neo wrote:
> procs memory swap io system
> cpu
> r b w swpd free buff cache si so bi bo in cs us sy id
> 1 0 0 92744 9640 20240 801644 0 0 3 10 17 0 25 2 10
>
> The system is having 1GB ram and currently using 92MB as swap. Why does the
> system use the slower swap when there are still memory available (as
> cache). Anyway to "force" the system to use more ram instead of putting
> into swap memory?
>
The obvious solution is to disable swap memory completely if those
90 MiB worth of idle and unused memory pages on disk bother you.
If this "vmstat" output shows your box usual load, with 80% of RAM used
in caches, I think you will never really need swap at all.
--
Jose Luis Domingo Lopez
Linux Registered User #189436 Debian Linux Sid (Linux 2.6.0-test9-mm1)
next prev parent reply other threads:[~2003-11-06 19:07 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-06 9:15 Over used cache memory? Wee Teck Neo
2003-11-06 19:07 ` Jose Luis Domingo Lopez [this message]
2003-11-06 19:57 ` Maciej Zenczykowski
2003-11-06 20:50 ` Daniel Gryniewicz
-- strict thread matches above, loose matches on Subject: below --
2003-11-06 9:33 Wee Teck Neo
[not found] <BAY4-F18tJyMmxsywxZ00005d1a@hotmail.com>
2003-11-06 9:16 ` Jerry Lundström
2003-11-06 8:05 Wee Teck Neo
2003-11-06 8:25 ` Nick Piggin
2003-11-06 8:59 ` Jerry Lundström
2003-11-06 9:11 ` Helge Hafting
2003-11-06 13:40 ` jlnance
2003-11-06 14:14 ` Gianni Tedesco
2003-11-06 21:47 ` jlnance
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=20031106190703.GA2654@localhost \
--to=linux-kernel@24x7linux.com \
--cc=linux-kernel@vger.kernel.org \
/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