mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "gis88530" <gis88530@cis.nctu.edu.tw>
To: <linux-kernel@vger.kernel.org>
Subject: I can't find out the answer
Date: Sat, 21 Apr 2001 17:21:32 +0800	[thread overview]
Message-ID: <005201c0ca44$755203f0$ae58718c@cis.nctu.edu.tw> (raw)

Hello,

I want to calculate the total memory usage of kernel.
I wonder that we just need to add these(*1) in slabinfo or 
we need to add each line(*1 and *2) in slabinfo. Thanks.
AND
I know the size of size-512 is 512 bytes, but I want to know
the size of tcp_tw_bucket, tcp_open_request, etc.
How can I find out this answer? Thanks a lot.

*1
size-131072            0      0
size-65536             0      0
size-32768             0      0
size-16384            11     11
size-8192              1      1
size-4096              8     12
size-2048            153    284
size-1024             20    688
size-512              54     64
size-256              51     70
size-128             396    600
size-64              942   1050
size-32             3964   7245

*2
kmem_cache            30     42
pio_request            0      0
tcp_tw_bucket          5    126
tcp_bind_bucket       45    127
tcp_open_request       0     63
skbuff_head_cache     57    693
sock                  94    132
dquot                  0      0
filp                1677   1680
signal_queue           0     29
kiobuf                 0      0
buffer_head        48636  60396
mm_struct             61     93
vm_area_struct      2081   2835
dentry_cache       18304  19933
files_cache           68     90
uid_cache             10    127
slab_cache           183    189



             reply	other threads:[~2001-04-21  9:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-21  9:21 gis88530 [this message]
2001-04-21 15:31 ` Rik van Riel

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='005201c0ca44$755203f0$ae58718c@cis.nctu.edu.tw' \
    --to=gis88530@cis.nctu.edu.tw \
    --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

all inboxes | Powered by JetHome®