3 memslap - Load testing and benchmarking tool for memcached
11 B<memslap> is a load generation and benchmark tool for memcached(1)
12 servers. It simulates loads on memcached server clusters.
14 You can specify servers via the B<--servers> option or via the
15 environment variable C<MEMCACHED_SERVERS>.
18 List one or more servers to connect. Servers count must be less than
19 threads count. e.g.: --servers=localhost:1234,localhost:11211
22 Number of threads to startup, better equal to CPU numbers. Default 8.
25 Number of concurrency to simulate with load. Default 128.
28 Number of TCP socks per concurrency. Default 1.
31 Number of operations(get and set) to execute for the
32 given test. Default 1000000.
35 How long the test to run, suffix: s-seconds, m-minutes, h-hours,
36 d-days e.g.: --time=2h.
39 Load the configure file to get command,key and value distribution list.
42 Task window size of each concurrency, suffix: K, M e.g.: --win_size=10k.
46 Fixed length of value.
49 The proportion of date verification, e.g.: --verify=0.01
52 Number of keys to multi-get once. Default 1, means single get.
55 Frequency of dumping statistic information. suffix: s-seconds,
56 m-minutes, e.g.: --resp_freq=10s.
59 The proportion of objects with expire time, e.g.: --exp_verify=0.01.
60 Default no object with expire time
63 The proportion of objects need overwrite, e.g.: --overwrite=0.01.
64 Default never overwrite object.
67 Reconnect support, when connection is closed it will be reconnected.
70 UDP support, default memslap uses TCP, TCP port and UDP port of
74 Whether it enables facebook test feature, set with TCP and multi-get with UDP.
77 Whether it enables binary protocol. Default with ASCII protocol.
80 Expected throughput, suffix: K, e.g.: --tps=10k.
83 The first nth servers can write data, e.g.: --rep_write=2.
86 Whether it outputs detailed information when verification fails.
89 Display this message and then exit.
92 Display the version of the application and then exit.
96 memslap -s 127.0.0.1:11211 -S 5s
98 memslap -s 127.0.0.1:11211 -t 2m -v 0.2 -e 0.05 -b
100 memslap -s 127.0.0.1:11211 -F config -t 2m -w 40k -S 20s -o 0.2
102 memslap -s 127.0.0.1:11211 -F config -t 2m -T 4 -c 128 -d 20 -P 40k
104 memslap -s 127.0.0.1:11211 -F config -t 2m -d 50 -a -n 40
106 memslap -s 127.0.0.1:11211,127.0.0.1:11212 -F config -t 2m
108 memslap -s 127.0.0.1:11211,127.0.0.1:11212 -F config -t 2m -p 2
112 To find out more information please check:
113 L<http://tangent.org/552/libmemcached.html>
117 Brian Aker, E<lt>brian@tangent.orgE<gt>
118 Mingqiang Zhuang E<lt>mingqiangzhuang@hengtiansoft.comE<gt>
122 memcached(1) libmemcached(3)