lkml.org 
[lkml]   [2010]   [Jan]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: which fields in /proc/meminfo are orthogonal?
On 01/26/2010 02:47 PM, 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.

Oddly enough, over the same period it appears that

MemFree + Active + Inactive + Slab + PageTables

is basically (+/- half a meg) constant and equal to "MemTotal - 48.5MB".


It would seem that active/inactive track memory that isn't visible in
Buffers+Cached+AnonPages+Mapped. Anyone have any suggestions what it
might be?

Thanks,

Chris


\
 
 \ /
  Last update: 2010-01-27 00:57    [W:0.453 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site