+++ /dev/null
-.\" Copyright (c) 2001 Andreas Dilger (adilger@turbolinux.com)
-.\"
-.\" %%%LICENSE_START(VERBATIM)
-.\" Permission is granted to make and distribute verbatim copies of this
-.\" manual provided the copyright notice and this permission notice are
-.\" preserved on all copies.
-.\"
-.\" Permission is granted to copy and distribute modified versions of this
-.\" manual under the conditions for verbatim copying, provided that the
-.\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one.
-.\"
-.\" Since the Linux kernel and libraries are constantly changing, this
-.\" manual page may be incorrect or out-of-date. The author(s) assume no
-.\" responsibility for errors or omissions, or for damages resulting from
-.\" the use of the information contained herein. The author(s) may not
-.\" have taken the same level of care in the production of this manual,
-.\" which is licensed free of charge, as they might when working
-.\" professionally.
-.\"
-.\" Formatted or processed versions of this manual, if unaccompanied by
-.\" the source, must acknowledge the copyright and authors of this work.
-.\" %%%LICENSE_END
-.\"
-.\" FIXME Over time, the slabinfo format has gone through
-.\" version changes. These should be documented:
-.\"
-.\" slabinfo 1.0 - Linux 2.2 (precisely: 2.1.23)
-.\" slabinfo 1.1 - Linux 2.4 (precisely: 2.4.0-test3)
-.\" slabinfo 1.2 - Linux 2.5.45
-.\" slabinfo 2.0 - Linux 2.6 (precisely: 2.5.71)
-.\" slabinfo 2.1 - Linux 2.6.10
-.\"
-.\"*******************************************************************
-.\"
-.\" This file was generated with po4a. Translate the source file.
-.\"
-.\"*******************************************************************
-.\"
-.\" Japanese Version Copyright (c) 2001 NAKANO Takeo all rights reserved.
-.\" Translated Thu Aug 16 2001 by NAKANO Takeo <nakano@apm.seikei.ac.jp>
-.\"
-.TH SLABINFO 5 2007\-09\-30 "" "Linux Programmer's Manual"
-.SH 名前
-/proc/slabinfo \- カーネル slab アロケータの統計
-.SH 書式
-\fBcat /proc/slabinfo\fP
-.SH 説明
-Linux カーネルの内部で良く利用されるオブジェクト (バッファーヘッド、i\-ノード、ディレクトリエントリーなど)
-は、それぞれ自分用のキャッシュを備えている。ファイル \fI/proc/slabinfo\fP はこれらの統計を与える。例を示す。
-.LP
-.in +4n
-.nf
-% cat /proc/slabinfo
-slabinfo \- version: 1.1
-kmem_cache 60 78 100 2 2 1
-blkdev_requests 5120 5120 96 128 128 1
-mnt_cache 20 40 96 1 1 1
-inode_cache 7005 14792 480 1598 1849 1
-dentry_cache 5469 5880 128 183 196 1
-filp 726 760 96 19 19 1
-buffer_head 67131 71240 96 1776 1781 1
-vm_area_struct 1204 1652 64 23 28 1
-\&...
-size\-8192 1 17 8192 1 17 2
-size\-4096 41 73 4096 41 73 1
-\&...
-.fi
-.in
-.LP
-それぞれの slab キャッシュごとに、キャッシュの名前、 現在アクティブなオブジェクトの数、利用可能なオブジェクトの総数、 各オブジェクトのサイズ
-(バイト単位)、少なくとも一つのアクティブな オブジェクトを有するページの数、アロケートされたページの総数、 slab
-あたりのページ数、が与えられている。
-
-なお、 オブジェクトのアラインメントと slab キャッシュのオーバーヘッドとにより、 オブジェクトは通常ページの内部にきっちりとは収められていない。
-利用中のオブジェクトをひとつでも保持しているページは、 利用中であるとみなされ、解放できない。
-
-slab キャッシュ統計の機能を有効にしてコンパイルされたカーネルでは、 出力の最初の行に "(statistics)" と表示され、 5
-つのカラムが追加される。 それぞれ、アクティブなオブジェクトの瞬間最大値、 オブジェクトがアロケートされた回数、 キャッシュの大きさが拡張された
-(新しいページがこのキャッシュに追加された) 回数、 キャッシュの大きさが縮小された (使っていないページがこのキャッシュから削除された) 回数、
-新たなページをこのキャッシュにアロケートする際に起きたエラーの回数、である。 slab
-キャッシュ統計が使えないカーネルでは、これらのカラムは表示されない。
-
-SMP システムでは、出力の最初の行に "(SMP)" と表示され、 各 slab ごとに 2 つのカラムが追加される。 これらは各 CPU
-が持つローカルなキャッシュ (per\-CPU キャッシュ) の slab アロケーションポリシーを表示する (per\-CPU キャッシュは、
-オブジェクトをキャッシュからアロケートする際に CPU 間での同期を減少させるために設けられている)。 最初のカラムは per\-CPU 制限、
-すなわち各 CPU ごとにキャッシュできるオブジェクトの最大数である。 二番目のカラムはバッチカウント、 すなわち per\-CPU
-キャッシュが空だったり一杯だったりした場合に、 グローバルなキャッシュと受け渡しできるフリーなオブジェクトの最大数である。
-
-slab キャッシュ統計と SMP が両方有効になっている場合は、 per\-CPU キャッシュの統計を表示する 4 つのカラムがさらに追加される。
-最初の 2 つは per\-CPU キャッシュの アロケーションヒットカウントとアロケーションミスカウントである。
-すなわち、あるオブジェクトをアロケートしたときに、 それが per\-CPU キャッシュの内部に あった/なかった 回数である。 続く 2
-つは、per\-CPU キャッシュのフリーヒットカウントとミスカウントである。
-すなわち解放されたオブジェクトをグローバルなキャッシュにフラッシュする前に、 per\-CPU キャッシュの制限の範囲に 収まった/収まらなかった
-回数である。
-
-SMP において per\-CPU slab キャッシュの制限値や バッチカウントを変更するには、以下のようにすればよい:
-
-.in +4n
-.nf
-echo "\fIcache_name limit batchcount\fP" > /proc/slabinfo
-.fi
-.in
-.SH ファイル
-\fI<linux/slab.h>\fP
-.SH バージョン
-\fI/proc/slabinfo\fP は Linux 2.1.23 以降に存在する。 SMP における CPU ごとのキャッシュは Linux
-2.4.0\-test3 以降に存在する。
-.SH 注意
-Linux 2.6.16 以降では、 \fI/proc/slabinfo\fP ファイルは、カーネル設定オプション \fBCONFIG_SLAB\fP
-を有効にした場合のみ存在する。
-.SH この文書について
-この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.79 の一部
-である。プロジェクトの説明とバグ報告に関する情報は
-http://www.kernel.org/doc/man\-pages/ に書かれている。