diff options
author | dormando <dormando@rydia.net> | 2017-01-22 21:24:07 -0800 |
---|---|---|
committer | dormando <dormando@rydia.net> | 2017-01-22 21:24:07 -0800 |
commit | ebbc7d00e8bbaed11954e6201b476fa9e2f6bfb0 (patch) | |
tree | 7ae48d38c995df3608524db827720ce0e86c108a /doc | |
parent | 4c80e2fd4cbf1d899ddc6dbb7978aafd40416aae (diff) | |
download | memcached-ebbc7d00e8bbaed11954e6201b476fa9e2f6bfb0.tar.gz |
Active items in HOT_LRU flow to WARM_LRU
Previously they would stay in HOT, which disagrees with the papers and is a
waste of space + contention on the HOT_LRU.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/new_lru.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/new_lru.txt b/doc/new_lru.txt index 96329c0..38f6ff3 100644 --- a/doc/new_lru.txt +++ b/doc/new_lru.txt @@ -9,10 +9,11 @@ Now, enabling `-o lru_maintainer` changes all of the behavior below: * LRU's are now split between HOT, WARM, and COLD LRU's. New items enter the HOT LRU. + * Items hit at least twice are considered active. * LRU updates only happen as items reach the bottom of an LRU. If active in - HOT, stay in HOT, if active in WARM, stay in WARM. If active in COLD, move + HOT, move to WARM, if active in WARM, stay in WARM. If active in COLD, move to WARM. - The exception is that items hit in COLD are immediately moved to WARM. + The exception is that items active in COLD are immediately moved to WARM. * HOT/WARM each capped at 32% of memory available for that slab class. COLD is uncapped (by default, as of this writing). * Items flow from HOT/WARM into COLD. |