lkml.org 
[lkml]   [2002]   [Jan]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Where's all my memory going?
On Thu, Jan 10, 2002 at 03:36:39PM -0700, Andreas Dilger wrote:
>
> In any case, you also pointed out the same thing I did, namely that these
> slab entries (while having some high numbers) do not account for the large
> amount of used memory in the system. Maybe SysRQ-M output can help a bit?

Running this on the box after it's settled down a bit, (over the weekend,
the usage hasn't altered), with all mail delivered and collected so the box
is currently quiet, produces the following 'free' output:

root@plum:~# free
total used free shared buffers cached
Mem: 1029524 965344 64180 0 45204 22936
-/+ buffers/cache: 897204 132320
Swap: 2097136 116 2097020

And SysRQ+M yields the following:

SysRq : Show Memory
Mem-info:
Free pages: 66612kB ( 4424kB HighMem)
Zone:DMA freepages: 4848kB min: 128kB low: 256kB high: 384kB
Zone:Normal freepages: 57340kB min: 1020kB low: 2040kB high: 3060kB
Zone:HighMem freepages: 4424kB min: 1020kB low: 2040kB high: 3060kB
( Active: 160155, inactive: 58253, free: 16653 )
124*4kB 98*8kB 41*16kB 13*32kB 3*64kB 0*128kB 1*256kB 0*512kB 0*1024kB 1*2048kB = 4848kB)
11029*4kB 1097*8kB 140*16kB 7*32kB 1*64kB 1*128kB 1*256kB 1*512kB 1*1024kB 0*2048kB = 57340kB)
328*4kB 55*8kB 19*16kB 10*32kB 2*64kB 3*128kB 0*256kB 1*512kB 1*1024kB 0*2048kB = 4424kB)
Swap cache: add 48, delete 24, find 13/14, race 0+0
Free swap: 2097020kB
262128 pages of RAM
32752 pages of HIGHMEM
4747 reserved pages
20447 pages shared
24 pages swap cached
0 pages in page table cache
Buffer memory: 44424kB
CLEAN: 209114 buffers, 836405 kbyte, 188 used (last=209112), 0 locked, 0 dirty
^^^^^^ Is this our magic value?
DIRTY: 8 buffers, 32 kbyte, 0 used (last=0), 0 locked, 8 dirty
Cheers

Matt
--
"Phased plasma rifle in a forty-watt range?"
"Hey, just what you see, pal"
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:15    [from the cache]
©2003-2011 Jasper Spaans