summaryrefslogtreecommitdiff
path: root/items.h
diff options
context:
space:
mode:
authordormando <dormando@rydia.net>2016-06-21 21:25:57 -0700
committerdormando <dormando@rydia.net>2016-06-24 00:47:41 -0700
commitd7fb022db0df15f672b5442d710f60ccb4c86319 (patch)
tree4f45c03f65a5b5d469dc93c9967d7746c9e5985e /items.h
parentae6f4267fede1db1739f6616b7b85b92f1300588 (diff)
downloadmemcached-d7fb022db0df15f672b5442d710f60ccb4c86319.tar.gz
allow manually specifying slab class sizes
"-o slab_sizes=100-200-300-400-500" will create 5 slab classes of those specified sizes, with the final class being item_max_size. Using the new online stats sizes command, it's possible to determine if the typical factoral slab class growth rate doesn't align well with how items are stored. This is dangerous unless you really know what you're doing. If your items have an exact or very predictable size this makes a lot of sense. If they do not, the defaults are safer.
Diffstat (limited to 'items.h')
0 files changed, 0 insertions, 0 deletions