From: Matthias Andree <matthias.andree@stud.uni-dortmund.de>
To: linux-kernel@vger.kernel.org
Cc: Alan Cox <laughing@shared-source.org>
Subject: Linux 2.4.10-ac11: swapoff frees memory + swap?
Date: Thu, 11 Oct 2001 04:59:09 +0200 [thread overview]
Message-ID: <20011011045909.A13276@emma1.emma.line.org> (raw)
In-Reply-To: <20011011001617.A4636@lightning.swansea.linux.org.uk>
In-Reply-To: <20011011001617.A4636@lightning.swansea.linux.org.uk>
Hi,
I just ran efence 2.2.0 on an application, which eventually failed
because it could not mmap more memory.
My machine has 320 MB RAM and >~ 600 MB swap.
It swaps blazingly fast, but one strange observation. After the efenced
application had died at approx 300 MB in RAM and 180 MB of swap, I had
somewhat around 130 MB in swap and like 250 MB "USED+SHAR" as per
xosview. That looked too high a number, so I did swapoff -av, and after
that, I had 90 MB used. The swapoff was rather fast, compared with older
2.4.x vanilla kernels.
It may well be a cosmetic issue, but it's irritating that switching the
swap off looks like freeing main memory as well, one might expect pages
are swapped back into RAM, so USED increases.
Note, the xosview figures are backed by those of the "free" utility.
Any insights?
Matthias
next prev parent reply other threads:[~2001-10-11 2:59 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-10 23:16 Linux 2.4.10-ac11 Alan Cox
2001-10-11 2:22 ` Matthias Andree
2001-10-11 2:59 ` Mike Fedyk
2001-10-11 4:34 ` Daniel T. Chen
2001-10-11 8:13 ` Steffen Moser
2001-10-11 2:59 ` Matthias Andree [this message]
2001-10-12 21:09 ` Linux 2.4.10-ac11: swapoff frees memory + swap? Hugh Dickins
2001-10-11 3:04 ` Linux 2.4.10-ac11 Tom Diehl
2001-10-11 3:06 ` Tom Rini
2001-10-11 3:30 ` Tom Rini
2001-10-11 22:03 ` Tom Rini
2001-10-11 6:52 ` Miles Lane
2001-10-11 15:01 ` Tom Rini
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=20011011045909.A13276@emma1.emma.line.org \
--to=matthias.andree@stud.uni-dortmund.de \
--cc=laughing@shared-source.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
all inboxes | Powered by JetHome®