diff options
author | dormando <dormando@rydia.net> | 2017-12-06 19:47:00 -0800 |
---|---|---|
committer | dormando <dormando@rydia.net> | 2017-12-07 15:28:13 -0800 |
commit | 48b07bd3200a92a82b7500b10f14843204502060 (patch) | |
tree | 65e1619e4374de044ffc226119a108df4068e1e4 /memcached.h | |
parent | bb1080bb9f8ab5271699bb84eb90de1fcf9ed695 (diff) | |
download | memcached-48b07bd3200a92a82b7500b10f14843204502060.tar.gz |
extstore: C version of automove algorithm
couple TODO items left for a new issue I thought of. Also hardcoded memory
buffer size which should be fixed.
also need to change the "free and re-init" logic to use a boolean in case any
related option changes.
Diffstat (limited to 'memcached.h')
-rw-r--r-- | memcached.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/memcached.h b/memcached.h index 50c8222..b3e6e54 100644 --- a/memcached.h +++ b/memcached.h @@ -413,6 +413,7 @@ struct settings { unsigned int ext_wbuf_size; /* read only note for the engine */ unsigned int ext_compact_under; /* when fewer than this many pages, compact */ double ext_max_frag; /* ideal maximum page fragmentation */ + double slab_automove_freeratio; /* % of memory to hold free as buffer */ bool ext_drop_unread; /* skip unread items during compaction */ /* per-slab-class free chunk limit */ unsigned int ext_free_memchunks[MAX_NUMBER_OF_SLAB_CLASSES]; |