* [PATCH] update /proc/meminfo Buffers documentation
@ 2006-07-13 17:15 Dave Hansen
0 siblings, 0 replies; only message in thread
From: Dave Hansen @ 2006-07-13 17:15 UTC (permalink / raw)
To: linux-mm; +Cc: pbadari, Dave Hansen
The filesystems/proc.txt meminfo documentation is a wee bit inaccurate
with respect to buffers. They can get a bit bigger than 20MB, and I have
proof ;). I copied a description that Badari gave me on IRC for this
patch.
$ cat /proc/meminfo
MemTotal: 16375148 kB
MemFree: 9372524 kB
Buffers: 818276 kB
Cached: 4923044 kB
SwapCached: 0 kB
Active: 3517596 kB
Inactive: 2437724 kB
HighTotal: 14548952 kB
HighFree: 9355304 kB
LowTotal: 1826196 kB
LowFree: 17220 kB
SwapTotal: 32611940 kB
SwapFree: 32610724 kB
Dirty: 5932 kB
Writeback: 0 kB
Mapped: 231172 kB
Slab: 977396 kB
CommitLimit: 40799512 kB
Committed_AS: 1373664 kB
PageTables: 7412 kB
VmallocTotal: 116728 kB
VmallocUsed: 16408 kB
VmallocChunk: 100104 kB
HugePages_Total: 0
HugePages_Free: 0
Hugepagesize: 2048 kB
---
lxc-dave/Documentation/filesystems/proc.txt | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff -puN Documentation/filesystems/proc.txt~update-meminfo-documentation Documentation/filesystems/proc.txt
--- lxc/Documentation/filesystems/proc.txt~update-meminfo-documentation 2006-07-13 10:07:18.000000000 -0700
+++ lxc-dave/Documentation/filesystems/proc.txt 2006-07-13 10:07:19.000000000 -0700
@@ -389,8 +389,9 @@ VmallocChunk: 111088 kB
MemTotal: Total usable ram (i.e. physical ram minus a few reserved
bits and the kernel binary code)
MemFree: The sum of LowFree+HighFree
- Buffers: Relatively temporary storage for raw disk blocks
- shouldn't get tremendously large (20MB or so)
+ Buffers: Relatively temporary storage for raw disk blocks. Also
+ used for caching filesystem metadata (like directories,
+ indirect blocks, inode maps, block maps etc..).
Cached: in-memory cache for files read from the disk (the
pagecache). Doesn't include SwapCached
SwapCached: Memory that once was swapped out, is swapped back in but
_
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-07-13 17:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-13 17:15 [PATCH] update /proc/meminfo Buffers documentation Dave Hansen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox