Home
last modified time | relevance | path

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

/memcached-1.6.32/t/
D64bit.t15 my ($stats, $slabs) = @_;
29 $slabs = mem_stats($sock, 'slabs');
30 is($slabs->{'total_malloced'}, "4294967328", "expected (faked) value of total_malloced");
31 is($slabs->{'active_slabs'}, 0, "no active slabs");
43 $slabs = mem_stats($sock, 'slabs');
44 is($slabs->{'active_slabs'}, 1, "1 active slab");
Dlru-crawler.t35 my $slabs = mem_stats($sock, "slabs");
36 is($slabs->{"1:used_chunks"}, 90, "slab1 has 90 used chunks");
57 my $slabs = mem_stats($sock, "slabs");
58 is($slabs->{"1:used_chunks"}, 60, "slab1 now has 60 used chunks");
165 my $slabs = mem_stats($sock, "slabs");
166 is($slabs->{"1:used_chunks"}, 0, "slab1 now has 0 used chunks");
/memcached-1.6.32/
Dslabs.c339 if (p->slabs == p->list_size) { in grow_slab_list()
361 if (p->slabs < 1) { in get_page_from_global_pool()
365 p->slabs--; in get_page_from_global_pool()
378 && g->slabs == 0)) { in do_slabs_newslab()
399 p->slab_list[p->slabs++] = ptr; in do_slabs_newslab()
536 cur->total_pages = p->slabs; in fill_slab_stats_automove()
565 if (p->slabs != 0) { in do_slabs_stats()
567 slabs = p->slabs; in do_slabs_stats()
749 if (s_cls->slabs < 2) in slab_rebalance_start()
1142 s_cls->slabs--; in slab_rebalance_finish()
[all …]
Dcrawler.h35 enum crawler_result_type lru_crawler_crawl(char *slabs, enum crawler_run_type,
DMakefile.am16 slabs.c slabs.h \
Dcrawler.c838 enum crawler_result_type lru_crawler_crawl(char *slabs, const enum crawler_run_type type, in lru_crawler_crawl() argument
848 if (strcmp(slabs, "all") == 0) { in lru_crawler_crawl()
852 } else if (strcmp(slabs, "hash") == 0) { in lru_crawler_crawl()
855 for (char *p = strtok_r(slabs, ",", &b); in lru_crawler_crawl()
DChangeLog37 * Fix: stats slabs' used chunks (bug29)
315 * Major refactoring - move API calls for assoc/items/slabs to
570 * assoc.c, items.c, slabs.c: Remove some unused headers.
/memcached-1.6.32/scripts/
Dmemcached-automove166 slabs = {}
179 if slab not in slabs:
180 slabs[slab] = {}
181 slabs[slab][var] = val
183 return slabs
Dmemcached-automove-extstore204 slabs = {}
217 if slab not in slabs:
218 slabs[slab] = {}
219 slabs[slab][var] = val
221 return slabs
/memcached-1.6.32/doc/
Dprotocol.txt979 The slabs reassign command is used to redistribute memory once a running
983 slabs reassign <source class> <dest class>\r\n
1013 The slabs automove command enables a background thread which decides on its
1020 slabs automove <0|1|2>
1022 - 0|1|2 is the indicator on whether to enable the slabs automover or not.
1108 allows you to avoid scanning all of very large slabs when it is unlikely to
1124 The special keyword "all" instructs it to crawl all slabs with items in
1548 The slabclass aligns with class ids used by the "stats slabs" command. Where
1549 "stats slabs" describes size and memory usage, "stats items" shows higher
1603 Note this will only display information about slabs which exist, so an empty
[all …]