struct tapi_memtier_opt

Overview

memtier_benchmark command line options More…

#include <tapi_memtier.h>

struct tapi_memtier_opt {
    // fields

    const struct sockaddr* server;
    tapi_memtier_proto protocol;
    tapi_job_opt_uint_t run_count;
    tapi_job_opt_uint_t requests;
    tapi_job_opt_uint_t clients;
    tapi_job_opt_uint_t threads;
    tapi_job_opt_uint_t pipeline;
    tapi_job_opt_uint_t test_time;
    tapi_job_opt_uint_t data_size;
    bool random_data;
    const char* ratio;
    const char* key_prefix;
    const char* key_pattern;
    tapi_job_opt_uint_t key_minimum;
    tapi_job_opt_uint_t key_maximum;
    bool hide_histogram;
    bool debug;
    const char* memtier_path;
};

Detailed Documentation

memtier_benchmark command line options

Fields

const struct sockaddr* server

Tested server address and port

tapi_memtier_proto protocol

Protocol to use

tapi_job_opt_uint_t run_count

Number of full-test iterations to perform

tapi_job_opt_uint_t requests

Total requests per client

tapi_job_opt_uint_t clients

Clients per thread

tapi_job_opt_uint_t threads

Number of threads

tapi_job_opt_uint_t pipeline

Number of concurrent pipelined requests

tapi_job_opt_uint_t test_time

Number of seconds to run the test

tapi_job_opt_uint_t data_size

Object data size in bytes

bool random_data

Indicate that data should be randomized

const char* ratio

Set:Get ratio (for example, “1:10”)

const char* key_prefix

Prefix for keys (default: “memtier-“)

const char* key_pattern

Set-Get key pattern. For example, “S:R” means that sets are sequential and gets are random. Supported options for sets and gets: G - Gaussian distribution R - uniform Random S - Sequential P - Parallel (sequential where every client has a subset of the key range)

tapi_job_opt_uint_t key_minimum

Minimum key ID

tapi_job_opt_uint_t key_maximum

Maximum key ID

bool hide_histogram

Don’t print detailed latency histogram

bool debug

Print debug output

const char* memtier_path

Path to memtier_benchmark executable