summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authordormando <dormando@rydia.net>2009-08-25 00:19:12 -0700
committerDustin Sallings <dustin@spy.net>2009-08-25 00:19:12 -0700
commit18e75bdc19992c846f96f688297ca9904de37379 (patch)
tree65cff8939d1570b5fef0988a74a02038312c653d /doc
parentca51c3d4e8fbbed8563b8e789537435d1ec973d5 (diff)
downloadmemcached-18e75bdc19992c846f96f688297ca9904de37379.tar.gz
Documented mem_requested stat
Diffstat (limited to 'doc')
-rw-r--r--doc/protocol.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/protocol.txt b/doc/protocol.txt
index 5515b63..895d62d 100644
--- a/doc/protocol.txt
+++ b/doc/protocol.txt
@@ -555,10 +555,17 @@ END\r\n
| free_chunks | Chunks not yet allocated to items, or freed via delete. |
| free_chunks_end | Number of free chunks at the end of the last allocated |
| | page. |
+| mem_requested | Number of bytes requested to be stored in this slab[*]. |
| active_slabs | Total number of slab classes allocated. |
| total_malloced | Total amount of memory allocated to slab pages. |
|-----------------+----------------------------------------------------------|
+* Items are stored in a slab that is the same size or larger than the
+ item. mem_requested shows the size of all items within a
+ slab. (total_pages * 1MB) - mem_requested shows memory wasted in a
+ slab class. If you see a lot of waste, consider tuning the slab
+ factor.
+
Other commands
--------------