summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordormando <dormando@rydia.net>2015-09-29 15:37:55 -0700
committerdormando <dormando@rydia.net>2015-11-18 23:14:35 -0800
commit9cb6eff40c8a787a4d3a5feb813c24db2792c3d6 (patch)
tree5d6b2fe6d148a6419c3f9bf6b54507494ac5a90a
parentd6e96467051720197abf9eab8ca85d153ae06610 (diff)
downloadmemcached-9cb6eff40c8a787a4d3a5feb813c24db2792c3d6.tar.gz
documentation for slab rebal updates
some new variables and change to the '1' mode. little sad nobody noticed I'd accidentally removed the '2' mode for a few versions.
-rw-r--r--doc/protocol.txt12
1 files changed, 11 insertions, 1 deletions
diff --git a/doc/protocol.txt b/doc/protocol.txt
index ed4875c..34a4e48 100644
--- a/doc/protocol.txt
+++ b/doc/protocol.txt
@@ -395,7 +395,9 @@ The response should always be "OK\r\n"
- <0> means to set the thread on standby
-- <1> means to run the builtin slow algorithm to choose pages to move
+- <1> means to return pages to a global pool when there are more than 2 pages
+ worth of free chunks in a slab class. Pages are then re-assigned back into
+ other classes as-needed.
- <2> is a highly aggressive mode which causes pages to be moved every time
there is an eviction. It is not recommended to run for very long in this
@@ -599,6 +601,14 @@ integers separated by a colon (treat this as a floating point number).
| lru_crawler_starts | 64u | Times an LRU crawler was started |
| lru_maintainer_juggles |
| | 64u | Number of times the LRU bg thread woke up |
+| slab_global_page_pool | 32u | Slab pages returned to global pool for |
+| | | reassignment to other slab classes. |
+| slab_reassign_rescues | 64u | Items rescued from eviction in page move |
+| slab_reassign_evictions |
+| | 64u | Valid items evicted druing a page move |
+| slab_reassign_busy_items |
+| | 64u | Items busy during page move, requiring a |
+| | | retry before page can be moved. |
|-----------------------+---------+-------------------------------------------|
Settings statistics