X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=memcached%2Fdoc%2Fprotocol.txt;h=b26d9625dfb3a6ab76088ce584c0d48b60a422b1;hb=535cb0763dff986a148356bf58dd91f15ad8ed39;hp=1a844f0aaa539b33d8488cc8df2f406fdf75a0c3;hpb=000810c79a803a1b8696697cbac13bf9f921c959;p=awesomized%2Flibmemcached diff --git a/memcached/doc/protocol.txt b/memcached/doc/protocol.txt index 1a844f0a..b26d9625 100644 --- a/memcached/doc/protocol.txt +++ b/memcached/doc/protocol.txt @@ -354,6 +354,8 @@ slabs reassign \r\n - 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" + - 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 ---------- @@ -406,7 +416,7 @@ settings, documented below. In the other form it has some arguments: stats \r\n Depending on , various internal data is sent by the server. The -kinds of arguments and the data sent are not documented in this vesion +kinds of arguments and the data sent are not documented in this version of the protocol, and are subject to change for the convenience of memcache developers.