From: "Manfred Spraul" <manfred@colorfullife.com>
To: <jaharkes@cs.cmu.edu>
Cc: <linux-kernel@vger.kernel.org>
Subject: Re: Question about memory usage in 2.4 vs 2.2
Date: Wed, 21 Mar 2001 11:14:54 +0100 [thread overview]
Message-ID: <001401c0b1ef$cb22f5e0$5517fea9@local> (raw)
> inode_cache 189974 243512 480 30439 30439 1 : 124 62
> dentry_cache 201179 341940 128 11398 11398 1 : 252 126
1) number of used objects
2) number of allocated objects
3) size of each object
4) number of slabs that are at least partially in use
5) number of slabs that are allocated for the cache
i.e. 5)-4) are the number of freeable slabs in the cache
6) size in pages for a slab
:
7) length of the per-cpu list. Each cpu some objects in a local list it
can use without acquiring a spinlock
8) batch count. If the per-cpu list overflows multiple objects are
freed/allocated in one block.
7 and 8 are only present if your kernel is compiled for SMP, root can
tune them with
#echo "<slab name> <length> <batchcount>" > /proc/slabinfo
It seems that the dentry cache is severely fragmented, nearly 20 MB (or
30%) are
unfreeable due to fragmentation.
--
Manfred
next reply other threads:[~2001-03-21 10:15 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-03-21 10:14 Manfred Spraul [this message]
2001-03-21 17:42 ` Question about memory usage in 2.4 vs 2.2 Josh Grebe
-- strict thread matches above, loose matches on Subject: below --
2001-03-19 2:07 /proc/cpuinfo for Intel P4 D850GB asenec
2001-03-19 2:33 ` davej
2001-03-19 3:14 ` 2.4.3-pre4: Unable to handle kernel NULL pointer dereference at virtual address 000000fb Shawn Starr
2001-03-19 12:02 ` /proc/cpuinfo for Intel P4 D850GB David Weinehall
2001-03-19 21:58 ` 2.4.3-pre4: Unable to handle kernel NULL pointer dereference at virtual address 000000fb Shawn Starr
2001-03-20 17:01 ` Question about memory usage in 2.4 vs 2.2 Josh Grebe
2001-03-20 17:32 ` Jakob Østergaard
2001-03-20 20:29 ` Josh Grebe
2001-03-21 19:16 ` Jan Harkes
2001-03-21 19:54 ` Rik van Riel
2001-03-20 18:54 ` Jan Harkes
2001-03-20 20:29 ` Josh Grebe
2001-03-20 22:18 ` Rik van Riel
2001-03-20 22:29 ` Juha Saarinen
2001-03-21 9:28 ` Zou Min
2001-03-21 9:51 ` Andreas Dilger
2001-03-21 10:56 ` Zou Min
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='001401c0b1ef$cb22f5e0$5517fea9@local' \
--to=manfred@colorfullife.com \
--cc=jaharkes@cs.cmu.edu \
--cc=linux-kernel@vger.kernel.org \
/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