From: Jeff Dike <jdike@addtoit.com>
To: Chris Friesen <cfriesen@nortel.com>
Cc: Linux Kernel <linux-kernel@vger.kernel.org>, linux-mm@kvack.org
Subject: Re: which fields in /proc/meminfo are orthogonal?
Date: Tue, 26 Jan 2010 19:55:10 -0500 [thread overview]
Message-ID: <20100127005510.GA8637@c2.user-mode-linux.org> (raw)
In-Reply-To: <4B5F54DE.7030302@nortel.com>
On Tue, Jan 26, 2010 at 02:47:26PM -0600, Chris Friesen wrote:
> I've tried adding up
> MemFree+Buffers+Cached+AnonPages+Mapped+Slab+PageTables+VmallocUsed
>
> (hugepages are disabled and there is no swap)
>
> Shortly after boot this gets me within about 3MB of MemTotal. However,
> after 1070 minutes there is a 64MB difference between MemTotal and the
> above sum.
I believe that pages allocated directly with get_free_pages won't show
up in your sum. So, just look for someone doing a lot of that :-)
Jeff
WARNING: multiple messages have this Message-ID (diff)
From: Jeff Dike <jdike@addtoit.com>
To: Chris Friesen <cfriesen@nortel.com>
Cc: Linux Kernel <linux-kernel@vger.kernel.org>, linux-mm@kvack.org
Subject: Re: which fields in /proc/meminfo are orthogonal?
Date: Tue, 26 Jan 2010 19:55:10 -0500 [thread overview]
Message-ID: <20100127005510.GA8637@c2.user-mode-linux.org> (raw)
In-Reply-To: <4B5F54DE.7030302@nortel.com>
On Tue, Jan 26, 2010 at 02:47:26PM -0600, Chris Friesen wrote:
> I've tried adding up
> MemFree+Buffers+Cached+AnonPages+Mapped+Slab+PageTables+VmallocUsed
>
> (hugepages are disabled and there is no swap)
>
> Shortly after boot this gets me within about 3MB of MemTotal. However,
> after 1070 minutes there is a 64MB difference between MemTotal and the
> above sum.
I believe that pages allocated directly with get_free_pages won't show
up in your sum. So, just look for someone doing a lot of that :-)
Jeff
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next prev parent reply other threads:[~2010-01-27 0:55 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-26 19:03 which fields in /proc/meminfo are orthogonal? Chris Friesen
2010-01-26 19:03 ` Chris Friesen
2010-01-26 20:47 ` Chris Friesen
2010-01-26 20:47 ` Chris Friesen
2010-01-26 23:48 ` Chris Friesen
2010-01-26 23:48 ` Chris Friesen
2010-01-27 0:38 ` Andy Walls
2010-01-27 0:38 ` Andy Walls
2010-08-03 17:06 ` meherjaya
2010-01-27 0:55 ` Jeff Dike [this message]
2010-01-27 0:55 ` Jeff Dike
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=20100127005510.GA8637@c2.user-mode-linux.org \
--to=jdike@addtoit.com \
--cc=cfriesen@nortel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.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 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.