Skip to contentSkip to conversation

Accounting for all memory.

DISCUSSION Scott A McConnell 1 participant 1 message May 2, 2002 MIPS

lore
Share & tools
lore
#0 lore raw

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.

Signature · 1 line
Scott A. McConnell