From: Pavel Machek <pavel@ucw.cz>
To: Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz>
Cc: linux-kernel@vger.kernel.org, linux-mm@vger.kernel.org
Subject: Re: swapping when there's a free memory
Date: Sun, 25 Apr 2010 09:13:49 +0200 [thread overview]
Message-ID: <20100425071349.GA1275@ucw.cz> (raw)
In-Reply-To: <alpine.DEB.1.10.1004220248280.19246@artax.karlin.mff.cuni.cz>
Hi!
> I captured this output of vmstat. The machine was freeing cache and
> swapping out pages even when there was a plenty of free memory.
>
> The machine is sparc64 with 1GB RAM with 2.6.34-rc4. This abnormal
> swapping happened during running spadfsck --- a fsck program for a custom
> filesystem that caches most reads in its internal cache --- so it reads
> buffers and allocates memory at the same time.
>
> Note that sparc64 doesn't have any low/high memory zones, so it couldn't
> be explained by filling one zone and needing to allocate pages in it.
Fragmented memory + high-order allocation?
> This abnormal behavior doesn't happen everytime, it happend about twice
> for many spadfsck attempts.
...yep, that would be random.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
next prev parent reply other threads:[~2010-04-25 7:14 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-22 0:55 swapping when there's a free memory Mikulas Patocka
2010-04-25 7:13 ` Pavel Machek [this message]
2010-04-26 22:33 ` Andrew Morton
2010-04-26 22:33 ` Andrew Morton
2010-04-27 1:35 ` KAMEZAWA Hiroyuki
2010-04-27 1:35 ` KAMEZAWA Hiroyuki
2010-04-30 3:52 ` Mikulas Patocka
2010-04-30 3:52 ` Mikulas Patocka
2010-04-26 22:31 ` Andrew Morton
2010-04-26 22:31 ` Andrew Morton
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=20100425071349.GA1275@ucw.cz \
--to=pavel@ucw.cz \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@vger.kernel.org \
--cc=mikulas@artax.karlin.mff.cuni.cz \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.