4 <html class=
"writer-html5" lang=
"en" >
8 <meta name=
"viewport" content=
"width=device-width, initial-scale=1.0">
10 <title>memslap
— libmemcached
1.0.99 documentation
</title>
14 <link rel=
"stylesheet" href=
"../_static/css/theme.css" type=
"text/css" />
15 <link rel=
"stylesheet" href=
"../_static/pygments.css" type=
"text/css" />
24 <script src="../_static/js/html5shiv.min.js"></script>
28 <script type=
"text/javascript" id=
"documentation_options" data-url_root=
"../" src=
"../_static/documentation_options.js"></script>
29 <script src=
"../_static/jquery.js"></script>
30 <script src=
"../_static/underscore.js"></script>
31 <script src=
"../_static/doctools.js"></script>
32 <script src=
"../_static/language_data.js"></script>
34 <script type=
"text/javascript" src=
"../_static/js/theme.js"></script>
37 <link rel=
"index" title=
"Index" href=
"../genindex.html" />
38 <link rel=
"search" title=
"Search" href=
"../search.html" />
39 <link rel=
"copyright" title=
"Copyright" href=
"../copyright.html" />
40 <link rel=
"next" title=
"memping" href=
"memping.html" />
41 <link rel=
"prev" title=
"memaslap - Load testing and benchmarking a server" href=
"memaslap.html" />
44 <body class=
"wy-body-for-nav">
47 <div class=
"wy-grid-for-nav">
49 <nav data-toggle=
"wy-nav-shift" class=
"wy-nav-side">
50 <div class=
"wy-side-scroll">
51 <div class=
"wy-side-nav-search" >
55 <a href=
"../index.html" class=
"icon icon-home" alt=
"Documentation Home"> libmemcached
72 <form id=
"rtd-search-form" class=
"wy-form" action=
"../search.html" method=
"get">
73 <input type=
"text" name=
"q" placeholder=
"Search docs" />
74 <input type=
"hidden" name=
"check_keywords" value=
"yes" />
75 <input type=
"hidden" name=
"area" value=
"default" />
83 <div class=
"wy-menu wy-menu-vertical" data-spy=
"affix" role=
"navigation" aria-label=
"main navigation">
90 <p class=
"caption"><span class=
"caption-text">libmemcached
</span></p>
92 <li class=
"toctree-l1"><a class=
"reference internal" href=
"../libmemcached.html">Introduction
</a></li>
93 <li class=
"toctree-l1"><a class=
"reference internal" href=
"../libmemcached/index.html">libmemcached API
</a></li>
94 <li class=
"toctree-l1"><a class=
"reference internal" href=
"../libmemcached/index_misc.html">Misc
</a></li>
96 <p class=
"caption"><span class=
"caption-text">libmemcachedutil
</span></p>
98 <li class=
"toctree-l1"><a class=
"reference internal" href=
"../libmemcachedutil.html">Introduction
</a></li>
99 <li class=
"toctree-l1"><a class=
"reference internal" href=
"../libmemcachedutil/index.html">libmemcachedutil API
</a></li>
101 <p class=
"caption"><span class=
"caption-text">libhashkit
</span></p>
103 <li class=
"toctree-l1"><a class=
"reference internal" href=
"../libhashkit.html">Introduction
</a></li>
104 <li class=
"toctree-l1"><a class=
"reference internal" href=
"../libhashkit/index.html">libhashkit API
</a></li>
106 <p class=
"caption"><span class=
"caption-text">Client Applications
</span></p>
108 <li class=
"toctree-l1 current"><a class=
"reference internal" href=
"index.html">Client Applications
</a><ul class=
"current">
109 <li class=
"toctree-l2"><a class=
"reference internal" href=
"index.html#data-manipulation">Data Manipulation
</a></li>
110 <li class=
"toctree-l2 current"><a class=
"reference internal" href=
"index.html#tests-and-analysis">Tests and Analysis
</a><ul class=
"current">
111 <li class=
"toctree-l3"><a class=
"reference internal" href=
"memaslap.html">memaslap - Load testing and benchmarking a server
</a></li>
112 <li class=
"toctree-l3 current"><a class=
"current reference internal" href=
"#">memslap
</a><ul>
113 <li class=
"toctree-l4"><a class=
"reference internal" href=
"#synopsis">SYNOPSIS
</a></li>
114 <li class=
"toctree-l4"><a class=
"reference internal" href=
"#description">DESCRIPTION
</a></li>
115 <li class=
"toctree-l4"><a class=
"reference internal" href=
"#options">OPTIONS
</a></li>
116 <li class=
"toctree-l4"><a class=
"reference internal" href=
"#environment">ENVIRONMENT
</a></li>
117 <li class=
"toctree-l4"><a class=
"reference internal" href=
"#see-also">SEE ALSO
</a></li>
120 <li class=
"toctree-l3"><a class=
"reference internal" href=
"memping.html">memping – Ping a server
</a></li>
121 <li class=
"toctree-l3"><a class=
"reference internal" href=
"memstat.html">memstat – Gather statistics from a server
</a></li>
122 <li class=
"toctree-l3"><a class=
"reference internal" href=
"memerror.html">memerror — Translate libmemcached error codes
</a></li>
123 <li class=
"toctree-l3"><a class=
"reference internal" href=
"memparse.html">memparse — Parse and validate an option string
</a></li>
124 <li class=
"toctree-l3"><a class=
"reference internal" href=
"memcapable.html">memcapable — Check a server's capabilities and compatibility
</a></li>
127 <li class=
"toctree-l2"><a class=
"reference internal" href=
"index.html#server-administration">Server Administration
</a></li>
131 <p class=
"caption"><span class=
"caption-text">Copyright
</span></p>
133 <li class=
"toctree-l1"><a class=
"reference internal" href=
"../copyright.html">Copyright
</a></li>
143 <section data-toggle=
"wy-nav-shift" class=
"wy-nav-content-wrap">
146 <nav class=
"wy-nav-top" aria-label=
"top navigation">
148 <i data-toggle=
"wy-nav-top" class=
"fa fa-bars"></i>
149 <a href=
"../index.html">libmemcached
</a>
154 <div class=
"wy-nav-content">
156 <div class=
"rst-content">
174 <div role=
"navigation" aria-label=
"breadcrumbs navigation">
176 <ul class=
"wy-breadcrumbs">
178 <li><a href=
"../index.html" class=
"icon icon-home"></a> »</li>
180 <li><a href=
"index.html">Client Applications
</a> »</li>
185 <li class=
"wy-breadcrumbs-aside">
196 <div role=
"main" class=
"document" itemscope=
"itemscope" itemtype=
"http://schema.org/Article">
197 <div itemprop=
"articleBody">
199 <div class=
"section" id=
"memslap">
200 <h1>memslap
<a class=
"headerlink" href=
"#memslap" title=
"Permalink to this headline">¶
</a></h1>
201 <div class=
"section" id=
"synopsis">
202 <h2>SYNOPSIS
<a class=
"headerlink" href=
"#synopsis" title=
"Permalink to this headline">¶
</a></h2>
203 <p>memslap [options]
</p>
204 <p>Load testing and benchmarking a server
</p>
206 <div class=
"section" id=
"description">
207 <h2>DESCRIPTION
<a class=
"headerlink" href=
"#description" title=
"Permalink to this headline">¶
</a></h2>
208 <p><strong class=
"program">memslap
</strong> is a load generation and benchmark tool for
<em class=
"manpage"><a class=
"manpage reference external" href=
"https://linux.die.net/man/1/memcached">memcached(
1)
</a></em>
209 servers. It generates configurable workload such as threads, concurrencies, connections,
210 run time, overwrite, miss rate, key size, value size, get/set proportion, expected
211 throughput, and so on.
</p>
213 <div class=
"section" id=
"options">
214 <h2>OPTIONS
<a class=
"headerlink" href=
"#options" title=
"Permalink to this headline">¶
</a></h2>
215 <dl class=
"std option">
216 <dt id=
"cmdoption-memslap-help">
217 <code class=
"sig-name descname">--help
</code><code class=
"sig-prename descclassname"></code><a class=
"headerlink" href=
"#cmdoption-memslap-help" title=
"Permalink to this definition">¶
</a></dt>
218 <dd><p>Display help.
</p>
221 <dl class=
"std option">
222 <dt id=
"cmdoption-memslap-version">
223 <code class=
"sig-name descname">--version
</code><code class=
"sig-prename descclassname"></code><a class=
"headerlink" href=
"#cmdoption-memslap-version" title=
"Permalink to this definition">¶
</a></dt>
224 <dd><p>Display version.
</p>
227 <dl class=
"std option">
228 <dt id=
"cmdoption-memslap-quiet">
229 <code class=
"sig-name descname">--quiet
</code><code class=
"sig-prename descclassname"></code><a class=
"headerlink" href=
"#cmdoption-memslap-quiet" title=
"Permalink to this definition">¶
</a></dt>
230 <dd><p>Operate quietly.
</p>
233 <dl class=
"std option">
234 <dt id=
"cmdoption-memslap-verbose">
235 <code class=
"sig-name descname">--verbose
</code><code class=
"sig-prename descclassname"></code><a class=
"headerlink" href=
"#cmdoption-memslap-verbose" title=
"Permalink to this definition">¶
</a></dt>
236 <dd><p>Operate more verbosely.
</p>
239 <dl class=
"std option">
240 <dt id=
"cmdoption-memslap-debug">
241 <code class=
"sig-name descname">--debug
</code><code class=
"sig-prename descclassname"></code><a class=
"headerlink" href=
"#cmdoption-memslap-debug" title=
"Permalink to this definition">¶
</a></dt>
242 <dd><p>See
<a class=
"reference internal" href=
"#cmdoption-memslap-verbose"><code class=
"xref std std-option docutils literal notranslate"><span class=
"pre">--verbose
</span></code></a>.
</p>
245 <dl class=
"std option">
246 <dt id=
"cmdoption-memslap-servers">
247 <code class=
"sig-name descname">--servers
</code><code class=
"sig-prename descclassname"> <list of servers
></code><a class=
"headerlink" href=
"#cmdoption-memslap-servers" title=
"Permalink to this definition">¶
</a></dt>
248 <dd><p>Specify the list of servers as
<em>hostname[:port][,hostname[:port]...]
</em>.
</p>
251 <dl class=
"std option">
252 <dt id=
"cmdoption-memslap-binary">
253 <code class=
"sig-name descname">--binary
</code><code class=
"sig-prename descclassname"></code><a class=
"headerlink" href=
"#cmdoption-memslap-binary" title=
"Permalink to this definition">¶
</a></dt>
254 <dd><p>Enable binary protocol.
</p>
258 <div class=
"section" id=
"environment">
259 <h2>ENVIRONMENT
<a class=
"headerlink" href=
"#environment" title=
"Permalink to this headline">¶
</a></h2>
260 <dl class=
"std envvar">
261 <dt id=
"envvar-MEMCACHED_SERVERS">
262 <code class=
"sig-name descname">MEMCACHED_SERVERS
</code><a class=
"headerlink" href=
"#envvar-MEMCACHED_SERVERS" title=
"Permalink to this definition">¶
</a></dt>
263 <dd><p>Specify the list of servers.
</p>
267 <div class=
"section" id=
"see-also">
268 <h2>SEE ALSO
<a class=
"headerlink" href=
"#see-also" title=
"Permalink to this headline">¶
</a></h2>
270 <li><p><a class=
"reference internal" href=
"../libmemcached.html"><span class=
"doc">C/C++ Client Library for memcached
</span></a></p></li>
281 <div class=
"rst-footer-buttons" role=
"navigation" aria-label=
"footer navigation">
283 <a href=
"memping.html" class=
"btn btn-neutral float-right" title=
"memping" accesskey=
"n" rel=
"next">Next
<span class=
"fa fa-arrow-circle-right"></span></a>
286 <a href=
"memaslap.html" class=
"btn btn-neutral float-left" title=
"memaslap - Load testing and benchmarking a server" accesskey=
"p" rel=
"prev"><span class=
"fa fa-arrow-circle-left"></span> Previous
</a>
293 <div role=
"contentinfo">
297 © <a href=
"../copyright.html">Copyright
</a>
304 Built with
<a href=
"http://sphinx-doc.org/">Sphinx
</a> using a
306 <a href=
"https://github.com/rtfd/sphinx_rtd_theme">theme
</a>
308 provided by
<a href=
"https://readthedocs.org">Read the Docs
</a>.
320 <script type=
"text/javascript">
322 SphinxRtdTheme.Navigation.enable(true);