summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordormando <dormando@rydia.net>2012-07-29 01:34:46 -0700
committerdormando <dormando@rydia.net>2012-07-29 01:34:46 -0700
commitb962ad07c795ed3bcf6dbf8689367f87194a07b5 (patch)
tree621ec81044183c498ed1f4dba545db8538e72145
parent72437011017e9a1f25d53da95f1ac63592488bcc (diff)
downloadmemcached-b962ad07c795ed3bcf6dbf8689367f87194a07b5.tar.gz
update reassign/automove documentation
-rw-r--r--doc/protocol.txt14
1 files changed, 12 insertions, 2 deletions
diff --git a/doc/protocol.txt b/doc/protocol.txt
index 1a844f0..692a50d 100644
--- a/doc/protocol.txt
+++ b/doc/protocol.txt
@@ -354,6 +354,8 @@ slabs reassign <source class> <dest class>\r\n
- <source class> is an id number for the slab class to steal a page from
+A source class id of -1 means "pick from any valid class"
+
- <dest class> is an id number for the slab class to move a page to
The response line could be one of:
@@ -385,12 +387,20 @@ more details.
The automover can be enabled or disabled at runtime with this command.
-slabs automove <1|0>
+slabs automove <0|1>
-- 1|0 is the indicator on whether to enable the slabs automover or not.
+- 0|1|2 is the indicator on whether to enable the slabs automover or not.
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
+
+- <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
+ mode unless your access patterns are very well understood.
+
Statistics
----------