linux-mips
[Top] [All Lists]

Accounting for all memory.

To: "MIPS/Linux List (SGI)" <linux-mips@oss.sgi.com>
Subject: Accounting for all memory.
From: Scott A McConnell <samcconn@cotw.com>
Date: Thu, 02 May 2002 14:50:10 -0500
Sender: owner-linux-mips@oss.sgi.com
I am trying to understand memory usage on my system.
NEC VR5432, mipsel, 2.4.5 kernel

Does slab info appear in "used:" column of /proc/meminfo?
What the holes "??????" in /proc/iomem are used for?
I can not account for all of the "1268k reserved memory.

Thanks in advance,
Scott

-----------------------------------------------------------------------
<4>Memory: 4876k/6144k available (801k kernel code, 1268k reserved, 69k
data, 60k init)
...
<4>Freeing unused kernel memory: 60k freed
-----------------------------------------------------------------------

/proc # cat iomem 
00000000-005fffff : System RAM
  00000000-00000fff : ???????????       4096 (added by hand)
  00001000-000ca687 : Kernel code     824968
  000ca688-000db99f : ???????????      70424 (added by hand)
  000db9a0-000ed033 : Kernel data      71316
                                      ------
                                      970804

/proc # cat meminfo 
        total:    used:    free:  shared: buffers:  cached:
Mem:   5046272  1392640  3653632        0    16384   598016
Swap:        0        0        0
MemTotal:         4928 kB
MemFree:          3568 kB
MemShared:           0 kB
Buffers:            16 kB
Cached:            584 kB
Active:            600 kB
Inact_dirty:         0 kB
Inact_clean:         0 kB
Inact_target:       12 kB
HighTotal:           0 kB
HighFree:            0 kB
LowTotal:         4928 kB
LowFree:          3568 kB
SwapTotal:           0 kB

  6291456     (6 MB allocated to kernel in prom.c)
- 5046272     (Total memory in use)
---------
  1245184     

1245184 - 970804(Kernel memory) = 274380 I can not account for this
memory.

-- 
Scott A. McConnell

<Prev in Thread] Current Thread [Next in Thread>
  • Accounting for all memory., Scott A McConnell <=