Home
last modified time | relevance | path

Searched refs:age (Results 1 – 10 of 10) sorted by relevance

/memcached-1.6.32/t/
Dissue_140.t20 my $age = $stats->{"items:1:age"};
21 isnt ($age, "0", "Age should not be zero");
27 my $age = $stats->{"items:1:age"};
28 is ($age, undef, "all should be gone");
34 my $age = $stats->{"items:1:age"};
35 isnt ($age, "0", "Age should not be zero");
40 my $age = $stats->{"items:1:age"};
41 is ($age, undef, "all should be gone");
/memcached-1.6.32/
Dslab_automove.c17 uint64_t age; member
65 w->age += d->age; in window_sum()
120 wd->age = a->iam_after[n].age; in slab_automove_run()
127 uint64_t age = w_sum.age / a->window_size; in slab_automove_run() local
140 if (age > oldest_age && a->sam_after[n].total_pages > MIN_PAGES_FOR_SOURCE) { in slab_automove_run()
142 oldest_age = age; in slab_automove_run()
148 if (age < youngest_age && (w_sum.evicted_seen > a->window_size / 2 in slab_automove_run()
151 youngest_age = age; in slab_automove_run()
Dslab_automove_extstore.c18 uint64_t age; member
78 w->age += d->age; in window_sum()
177 wd->age = a->iam_after[n].age; in slab_automove_extstore_run()
184 uint64_t age = w_sum.age / a->window_size; in slab_automove_extstore_run() local
206 if (age > oldest_age in slab_automove_extstore_run()
209 oldest_age = age; in slab_automove_extstore_run()
Ditems.h69 uint32_t age; member
Ditems.c716 cur->age = 0; in fill_item_stats_automove()
720 cur->age = current_time - tails[i]->prev->time; in fill_item_stats_automove()
722 cur->age = 0; in fill_item_stats_automove()
725 cur->age = current_time - tails[i]->time; in fill_item_stats_automove()
798 unsigned int age = 0; in item_stats() local
828 age = current_time - tails[i]->time; in item_stats()
865 APPEND_NUM_FMT_STAT(fmt, n, "age", "%u", age); in item_stats()
/memcached-1.6.32/scripts/
Dmemcached-automove88 age = window_check_sum(history, sid, 'age') / len(history['w'])
98 if age > oldest[1] and slab['total_pages'] > 2:
99 oldest = (sid, age)
106 …print("sid {} age {} ev_total {} window_min {} ev_total_sum {}".format(sid, age, ev_total, window_…
108 if age < youngest[1] and ( ev_total > window_min or ev_total_sum > 0.25 ):
109 youngest = (sid, age)
Dmemcached-automove-extstore110 age = window_check(history, sid, 'age') / len(history['w'])
128 if age > oldest[1] and slab['total_pages'] > MIN_PAGES_FOR_SOURCE:
129 oldest = (sid, age)
130 if age < youngest[1] and slab['total_pages'] > 0 \
133 youngest = (sid, age)
Dmemcached-tool271 $n, $size, $it->{age}, $it->{total_pages},
/memcached-1.6.32/doc/
Dnew_lru.txt19 * HOT/WARM are also age capped by ratios of COLD's age. IE: HOT is capped at
20 N% of memory, or 10% of the age of COLD, whichever comes first.
Dprotocol.txt1050 "max hot factor", "max warm age factor". IE: "lru tune 10 25 0.1 2.0".
1507 | hot_max_factor | float | Set idle age of HOT LRU to COLD age * this |
1508 | warm_max_factor | float | Set idle age of WARM LRU to COLD age * this |
1564 age Age of the oldest item in the LRU.