1MEMSLAP(1)                   libmemcached-awesome                   MEMSLAP(1)
2
3
4

NAME

6       memslap - libmemcached Documentation
7

SYNOPSIS

9       memslap [options]
10
11       Load testing and benchmarking a server
12

DESCRIPTION

14       memslap  is  a  load  generation  and  benchmark  tool for memcached(1)
15       servers. It generates configurable workload such as threads, concurren‐
16       cies,  connections,  run  time,  overwrite,  miss rate, key size, value
17       size, get/set proportion, expected throughput, and so on.
18

OPTIONS

20       -h|--help
21              Display help.
22
23       -V|--version
24              Display version.
25
26       -q|--quiet
27              Operate quietly.
28
29       -v|--verbose
30              Operate more verbosely.
31
32       -d|--debug
33              See -v|--verbose.
34
35       -s|--servers <list of servers>
36              Specify  the   list   of   servers   as   hostname[:port][,host‐
37              name[:port]...].
38
39       -n|--non-blocking
40              Enable non-blocking operations.
41
42       -N|--tcp-nodelay
43              Disable Nagle's algorithm.
44
45       -b|--binary
46              Enable binary protocol.
47
48       -B|--buffer
49              Buffer requests.
50
51       -u|--username <username>
52              Use username for SASL authentication.
53
54       -p|--password <password>
55              Use password for SASL authentication.
56
57       -H|--hash <algorithm>
58              Use      algorithm      as      key      hash     algo.      See
59              memcached_behavior_t::MEMCACHED_BEHAVIOR_HASH.
60
61       -U|--udp
62              Enable UDP operation mode.
63
64       -R|--noreply
65              Enable the NOREPLY behavior for storage commands.
66
67       -F|--flush
68              Flush all servers prior test.
69
70       -t|--test <arg>
71              Test to perform (options: get, mget, set; default: get).
72
73       -c|--concurrency <num>
74              Concurrency (number of threads to start; default: 1).
75
76       -e|--execute-number <num>
77              Number of times to execute the tests (default: 10000).
78
79       -l|--initial-load <num>
80              Number of keys to load before executing tests (default: 10000).
81

ENVIRONMENT

83       MEMCACHED_SERVERS
84              Specify a list of servers.
85

NOTES

87   PROGRAM PREFIX
88       The prefix of this program is variable, i.e. it can  be  configured  at
89       build time.
90
91       Usually  the  client programs of libmemcached-awesome are prefixed with
92       mem, like memcat or memcp.
93
94       It can be configured, though, to replace the prefix with something else
95       like  mc,  in case of that, the client programs of libmemcached-awesome
96       would be called mccat, mccp, etc. respectively.
97

SEE ALSO

99       memcached(1) libmemcached(3)
100
101C/C++ Client Library for memcached
102
103
104
105
1061.1                              Mar 06, 2023                       MEMSLAP(1)
Impressum