Linux MIPS Architecture development
 help / color / mirror / Atom feed
* Accounting for all memory.
@ 2002-05-02 19:50 Scott A McConnell
  0 siblings, 0 replies; only message in thread
From: Scott A McConnell @ 2002-05-02 19:50 UTC (permalink / raw)
  To: MIPS/Linux List (SGI)

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-05-02 18:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-02 19:50 Accounting for all memory Scott A McConnell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox