From: "Andreas Grimm" <agrimm61@gmail.com>
To: "Johannes Weiner" <hannes@saeurebad.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: VM - a plenty of inactive memory
Date: Fri, 11 Apr 2008 15:13:38 +0200 [thread overview]
Message-ID: <cf40c6a90804110613v46de93f2nea1b2376bbd48953@mail.gmail.com> (raw)
In-Reply-To: <874pabrx6b.fsf@saeurebad.de>
Hi everybody,
i investigated this further. The tunables swappiness, drop_caches etc.
are no options to solve this. The problem is becoming very unpleasent,
because the system isn't able to cache that much:
The 16GB system (expected behaviour):
MemTotal: 16619808 kB
MemFree: 4490032 kB
Cached: 6929448 kB
Inactive: 1670812 kB
The 32GB system :
MemTotal: 33265916 kB
MemFree: 600000 kB
Cached: 1561124 kB
Inactive: 25873128 kB
Don't you think this is insane? Wasting 25GB at the expense of caching
(compare the cached value)? I'm clueless about this issue. Who (which
process) owns that memory? Is there a way to flush this inactive
memory? I assume that this memory hasn't been reclaimed for days,
because the amount of inactive memory is at this level for days now.
All values in /proc/sys/vm are at the defaults again, on both systems.
Any help would be appreciated.
Andreas
2008/4/9, Johannes Weiner <hannes@saeurebad.de>:
> Hi,
>
>
> "Andreas Grimm" <agrimm61@gmail.com> writes:
>
> > Hello everybody,
> >
> > i got a weird problem with one of my servers. It's a Intel SR2500AL
> > with 32GB of RAM.
> > Looking at the memory usage of the system, something is going totally
> > wrong. The crucial numbers from /proc/meminfo are:
> >
> > MemTotal: 33265916 kB
> > MemFree: 416168 kB
> > Inactive: 24630428 kB (24GB? whooaaa)
> >
> > Another system with only 16GB, same amount of users and load, shows a
> > more normal behaviour:
> >
> > MemTotal: 16619808 kB
> > MemFree: 6912676 kB
> > Inactive: 1774364 kB
> >
> > Why does the 32GB-System have this plenty of inactive memory. Is there
> > a way to find out, what the kernel is holding in readiness (that's the
> > definition of inactive memory afaik)?
>
>
> Inactive pages are marked in use but haven't been touched for some time.
> These are candidates for memory reclaiming.
>
> If nothing memory consuming happens, the kswapd should reclaim them back
> eventually.
>
> Hannes
>
next prev parent reply other threads:[~2008-04-11 13:13 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-09 9:13 Andreas Grimm
2008-04-09 13:10 ` Johannes Weiner
2008-04-09 13:57 ` Andreas Grimm
2008-04-09 14:15 ` Dan Noe
2008-04-09 15:01 ` KOSAKI Motohiro
2008-04-09 16:28 ` Andreas Grimm
2008-04-09 18:08 ` Andreas Grimm
2008-04-09 19:56 ` Johannes Weiner
2008-04-09 20:05 ` Andreas Grimm
2008-04-11 17:55 ` Peter Zijlstra
2008-04-11 13:13 ` Andreas Grimm [this message]
2008-04-11 14:34 ` linux-os (Dick Johnson)
[not found] <fa.+S2mzTenrJ0RtdxGRDJkwIoNteA@ifi.uio.no>
[not found] ` <fa.TNkasVGEvLf8IqduH2+YXFyYR1w@ifi.uio.no>
[not found] ` <fa.R/QDJx+PTjNDKcqKW25clMhQ6tg@ifi.uio.no>
2008-04-09 14:32 ` Robert Hancock
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=cf40c6a90804110613v46de93f2nea1b2376bbd48953@mail.gmail.com \
--to=agrimm61@gmail.com \
--cc=hannes@saeurebad.de \
--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®