memcached
1.6.15
About: memcached is a high-performance, distributed memory object caching system, generic in nature, but originally intended for use in speeding up dynamic web applications by alleviating database load.
![]() ![]() |
Go to the source code of this file.
Data Structures | |
struct | window_data |
struct | slab_automove |
Macros | |
#define | MIN_PAGES_FOR_SOURCE 2 |
#define | MIN_PAGES_FOR_RECLAIM 2.5 |
Functions | |
void * | slab_automove_init (struct settings *settings) |
void | slab_automove_free (void *arg) |
static void | window_sum (struct window_data *wd, struct window_data *w, uint32_t size) |
void | slab_automove_run (void *arg, int *src, int *dst) |
#define MIN_PAGES_FOR_RECLAIM 2.5 |
Definition at line 14 of file slab_automove.c.
#define MIN_PAGES_FOR_SOURCE 2 |
Definition at line 13 of file slab_automove.c.
Definition at line 55 of file slab_automove.c.
References slab_automove::window_data.
Definition at line 34 of file slab_automove.c.
References fill_item_stats_automove(), fill_slab_stats_automove(), slab_automove::iam_before, slab_automove::max_age_ratio, MAX_NUMBER_OF_SLAB_CLASSES, slab_automove::sam_before, settings::slab_automove_ratio, settings::slab_automove_window, slab_automove::window_data, and slab_automove::window_size.
Definition at line 74 of file slab_automove.c.
References item_stats_automove::age, window_data::age, slab_stats_automove::chunks_per_page, window_data::dirty, item_stats_automove::evicted, window_data::evicted_ratio, window_data::evicted_seen, fill_item_stats_automove(), fill_slab_stats_automove(), slab_stats_automove::free_chunks, slab_automove::iam_after, slab_automove::iam_before, slab_automove::max_age_ratio, MAX_NUMBER_OF_SLAB_CLASSES, MIN_PAGES_FOR_RECLAIM, MIN_PAGES_FOR_SOURCE, item_stats_automove::outofmemory, POWER_SMALLEST, slab_automove::sam_after, slab_automove::sam_before, slab_stats_automove::total_pages, slab_automove::window_cur, slab_automove::window_data, slab_automove::window_size, and window_sum().
|
static |
Definition at line 61 of file slab_automove.c.
References window_data::age, window_data::dirty, window_data::evicted_ratio, and window_data::evicted_seen.
Referenced by slab_automove_run().