Open CAS Framework
Open source framework of Cache Acceleration Software
|
ALRU cleaning policy API. More...
Go to the source code of this file.
Macros | |
ALRU cleaning policy parameters | |
#define | OCF_ALRU_MIN_WAKE_UP 0 |
#define | OCF_ALRU_MAX_WAKE_UP 3600 |
#define | OCF_ALRU_DEFAULT_WAKE_UP 20 |
#define | OCF_ALRU_MIN_STALENESS_TIME 1 |
#define | OCF_ALRU_MAX_STALENESS_TIME 3600 |
#define | OCF_ALRU_DEFAULT_STALENESS_TIME 120 |
#define | OCF_ALRU_MIN_FLUSH_MAX_BUFFERS 1 |
#define | OCF_ALRU_MAX_FLUSH_MAX_BUFFERS 10000 |
#define | OCF_ALRU_DEFAULT_FLUSH_MAX_BUFFERS 100 |
#define | OCF_ALRU_MIN_ACTIVITY_THRESHOLD 0 |
#define | OCF_ALRU_MAX_ACTIVITY_THRESHOLD 1000000 |
#define | OCF_ALRU_DEFAULT_ACTIVITY_THRESHOLD 10000 |
Enumerations | |
enum | ocf_cleaning_alru_parameters { ocf_alru_wake_up_time, ocf_alru_stale_buffer_time, ocf_alru_flush_max_buffers, ocf_alru_activity_threshold } |
ALRU cleaning policy API.
#define OCF_ALRU_DEFAULT_ACTIVITY_THRESHOLD 10000 |
Idle time before flushing thread can start default value
#define OCF_ALRU_DEFAULT_FLUSH_MAX_BUFFERS 100 |
Dirty cache lines to be flushed in one cycle default value
#define OCF_ALRU_DEFAULT_STALENESS_TIME 120 |
Staleness time default value
#define OCF_ALRU_DEFAULT_WAKE_UP 20 |
Wake up time default value
#define OCF_ALRU_MAX_ACTIVITY_THRESHOLD 1000000 |
Idle time before flushing thread can start maximum value
#define OCF_ALRU_MAX_FLUSH_MAX_BUFFERS 10000 |
Dirty cache lines to be flushed in one cycle maximum value
#define OCF_ALRU_MAX_STALENESS_TIME 3600 |
Staleness time maximum value
#define OCF_ALRU_MAX_WAKE_UP 3600 |
Wake up time maximum value
#define OCF_ALRU_MIN_ACTIVITY_THRESHOLD 0 |
ALRU cleaning thread cache idle time before flushing thread can startIdle time before flushing thread can start minimum value
#define OCF_ALRU_MIN_FLUSH_MAX_BUFFERS 1 |
ALRU cleaning thread number of dirty cache lines to be flushed in one cycleDirty cache lines to be flushed in one cycle minimum value
#define OCF_ALRU_MIN_STALENESS_TIME 1 |
ALRU cleaning thread staleness timeStaleness time minimum value
#define OCF_ALRU_MIN_WAKE_UP 0 |
ALRU cleaning thread wake up timeWake up time minimum value