From: Scott A McConnell <samcconn@cotw.com>
To: "MIPS/Linux List (SGI)" <linux-mips@oss.sgi.com>
Subject: Accounting for all memory.
Date: Thu, 02 May 2002 14:50:10 -0500 [thread overview]
Message-ID: <3CD19872.63FBF81E@cotw.com> (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.
--
Scott A. McConnell
reply other threads:[~2002-05-02 18:51 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3CD19872.63FBF81E@cotw.com \
--to=samcconn@cotw.com \
--cc=linux-mips@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox