From: "José Luis Domingo López" <jdomingo@internautas.org>
To: lkml <linux-kernel@vger.kernel.org>
Subject: Re: VM Problem : persistent swap cache
Date: Mon, 3 Dec 2001 01:00:02 +0100 [thread overview]
Message-ID: <20011203010002.A26016@dardhal.mired.net> (raw)
In-Reply-To: <20011202180801.A19628@wanadoo.fr>
In-Reply-To: <20011202180801.A19628@wanadoo.fr>
On Sunday, 02 December 2001, at 18:08:02 +0100,
Edouard Gomez wrote:
> Hi,
> [...]
> As you can see, there's 20Mo of swap though lot of free RAM is available.
> The strange thing is that this 20Mo keeps growing with the time and are
> never freed.
>
Linux's VM doesn't try to free used swap space, even there is plenty os
physical RAM available. If there are pages on swap, that is because at
some point in time those pages where considered "not used", and were
written to disk. If those pages are never reused, they stay where they
currently are, because it is the most interesting thing to do performace
wise. Trying to keep swap=0 could cause some ping-pong effect under some
workloads, with heavy access to disk, that are too slow to be accesed
more than strictly necessary.
--
José Luis Domingo López
Linux Registered User #189436 Debian Linux Woody (P166 64 MB RAM)
jdomingo EN internautas PUNTO org => ¿ Spam ? Atente a las consecuencias
jdomingo AT internautas DOT org => Spam at your own risk
prev parent reply other threads:[~2001-12-03 8:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-02 17:08 VM Problem : persistent swap cache Edouard Gomez
2001-12-03 0:00 ` José Luis Domingo López [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=20011203010002.A26016@dardhal.mired.net \
--to=jdomingo@internautas.org \
--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