[英]Memcached: Can you start Memcached with `lru mode flat`?
flat
mode (as opposed to the default mode segmented
)flat
模式下使用 Memcached(与默认模式segmented
相对)lru mode flat
lru mode flat
lru mode flat
?lru mode flat
启动 Memcached 吗?-h
options for memcached-h
选项flat
like the runtime command lru mode flat
lru mode flat
flat
将模式设置为 flatquit
or stats
te.net command.)quit
或stats
te.net 命令。)lru mode flat
then quit
( printf "lru mode flat\r\nquit\r\n" | te.netlib3-client ${HOSTNAME} ${PORT}
)lru mode flat
然后quit
( printf "lru mode flat\r\nquit\r\n" | te.netlib3-client ${HOSTNAME} ${PORT}
)hot
and warm
caches be similar to flat
modehot
缓存warm
缓存类似于flat
模式This idea is from the memcached/doc/protocol.txt
section lru mode flat
where it says:这个想法来自
memcached/doc/protocol.txt
部分lru mode flat
,它说:
If switching from segmented to flat mode, the background thread will pull items from HOT|WARM into COLD queue.
如果从分段模式切换到平面模式,后台线程会将项目从 HOT|WARM 拉入 COLD 队列。
--extended hot_lru_pct=0,warm_lru_pct=0
--extended hot_lru_pct=0,warm_lru_pct=0
--extended
options to set the equivalent of lru tune 0 0 0.20 2.00
(current default is lru tune 20 40 0.20 2.00
i think)--extended
选项来设置lru tune 0 0 0.20 2.00
的等价物(我认为当前默认是lru tune 20 40 0.20 2.00
) update: i tested this command line option and the above command line errors out because of the values.更新:我测试了这个命令行选项和上面的命令行错误,因为这些值。 the
pct
fields require the value to be >= 1. factor
fields require the values to be > 0.0. pct
字段要求值 >= 1。 factor
字段要求值 > 0.0。
--extended hot_lru_pct=1,warm_lru_pct=1,hot_max_factor=0.0000000001,warm_max_factor=0.0000000001
--extended hot_lru_pct=1,warm_lru_pct=1,hot_max_factor=0.0000000001,warm_max_factor=0.0000000001
flat
flat
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.