struct tapi_memaslap_cfg_opt

Overview

Contents of memaslap configuration file. More…

#include <tapi_memaslap.h>

struct tapi_memaslap_cfg_opt {
    // fields

    size_t key_len_min;
    size_t key_len_max;
    size_t value_len_min;
    size_t value_len_max;
    double set_share;
};

Detailed Documentation

Contents of memaslap configuration file.

Fields

size_t key_len_min

Key min length. Must be equal to or greater than 16.

size_t key_len_max

Key max length. Must be equal to or less than 250.

size_t value_len_min

Value min length. Must be equal to or greater than 1.

size_t value_len_max

Value max length. Must be equal to or less than 1M.

double set_share

Share of set commands. Should be within range [0, 1].