diff options
author | dormando <dormando@rydia.net> | 2017-06-20 17:30:21 -0700 |
---|---|---|
committer | dormando <dormando@rydia.net> | 2017-06-23 01:12:53 -0700 |
commit | 5c43b80577a3dcdd47df9221ef42e5af22c1c641 (patch) | |
tree | 07589085149f453bf5db0d1cf11072ce98abb471 /scripts | |
parent | dee6557c47e94953d230456569e9ba4974c441d1 (diff) | |
download | memcached-5c43b80577a3dcdd47df9221ef42e5af22c1c641.tar.gz |
add a real slab automover algorithm
converts the python script to C, more or less.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/memcached-automove | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/memcached-automove b/scripts/memcached-automove index 6b4011b..f881129 100755 --- a/scripts/memcached-automove +++ b/scripts/memcached-automove @@ -87,7 +87,7 @@ def determine_move(history, diffs, totals): break # are we the oldest slab class? (and a valid target) - if age > oldest[1] and slab['total_pages'] > 5: + if age > oldest[1] and slab['total_pages'] > 2: oldest = (sid, age) # are we the youngest evicting slab class? |