fix #131: add build time option: CLIENT_PREFIX
[awesomized/libmemcached] / docs / source / bin / memslap.rst
1 memslap
2 =======
3
4 SYNOPSIS
5 --------
6
7 |client_prefix|\slap [options]
8
9 .. program:: memslap
10
11 Load testing and benchmarking a server
12
13 DESCRIPTION
14 -----------
15
16 :program:`memslap` is a load generation and benchmark tool for :manpage:`memcached(1)`
17 servers. It generates configurable workload such as threads, concurrencies, connections,
18 run time, overwrite, miss rate, key size, value size, get/set proportion, expected
19 throughput, and so on.
20
21 OPTIONS
22 -------
23
24 .. include:: options/common_get.rst
25 .. include:: options/hash.rst
26 .. include:: options/udp.rst
27
28 .. option:: -R|--noreply
29
30 Enable the NOREPLY behavior for storage commands.
31
32 .. option:: -F|--flush
33
34 Flush all servers prior test.
35
36 .. option:: -t|--test <arg>
37
38 Test to perform (options: get, mget, set; default: get).
39
40 .. option:: -c|--concurrency <num>
41
42 Concurrency (number of threads to start; default: 1).
43
44 .. option:: -e|--execute-number <num>
45
46 Number of times to execute the tests (default: 10000).
47
48 .. option:: -l|--initial-load <num>
49
50 Number of keys to load before executing tests (default: 10000).
51
52
53 .. include:: common/env.rst
54
55 NOTES
56 -----
57
58 .. include:: common/note_program_prefix.rst
59
60 SEE ALSO
61 --------
62
63 .. only:: man
64
65 :manpage:`memcached(1)`
66 :manpage:`libmemcached(3)`
67
68 .. only:: html
69
70 * :doc:`/libmemcached`