Home
last modified time | relevance | path

Searched refs:oldest (Results 1 – 5 of 5) sorted by relevance

/memcached-1.6.32/scripts/
Dmemcached-automove-extstore75 oldest = (-1, 0)
128 if age > oldest[1] and slab['total_pages'] > MIN_PAGES_FOR_SOURCE:
129 oldest = (sid, age)
141 elif too_free == False and pool_low and oldest[0] != -1:
144 print("oldest: [class: {}] [age: {:.2f}]".format(int(oldest[0]), oldest[1]))
145 decision = (oldest[0], 0)
146 elif too_free == False and youngest[0] != -1 and oldest[0] != -1 and youngest[0] != oldest[0]:
150 int(oldest[0]), oldest[1], int(youngest[0]), youngest[1]))
154 if youngest[1] < oldest[1] * args.ratio:
Dmemcached-automove72 oldest = (-1, 0)
98 if age > oldest[1] and slab['total_pages'] > 2:
99 oldest = (sid, age)
114 if youngest[0] != -1 and oldest[0] != -1:
117 int(oldest[0]), oldest[1], int(youngest[0]), youngest[1]))
118 if youngest[1] < oldest[1] * args.ratio and w[youngest[0]].get('ev'):
119 decision = (oldest[0], youngest[0])
/memcached-1.6.32/
Dslab_automove.c78 int oldest = -1; in slab_automove_run() local
134 youngest = oldest = -1; in slab_automove_run()
141 oldest = n; in slab_automove_run()
162 if (youngest != -1 && oldest != -1 && a->window_cur > a->window_size) { in slab_automove_run()
164 *src = oldest; in slab_automove_run()
Dslab_automove_extstore.c137 int oldest = -1; in slab_automove_extstore_run() local
208 oldest = n; in slab_automove_extstore_run()
223 if (!too_free && global_low && oldest != -1) { in slab_automove_extstore_run()
224 *src = oldest; in slab_automove_extstore_run()
/memcached-1.6.32/doc/
Dprotocol.txt1474 | oldest | 32u | Age of the oldest honored object. |
1562 age_hot Age of the oldest item in HOT LRU.
1563 age_warm Age of the oldest item in WARM LRU.
1564 age Age of the oldest item in the LRU.