.\" Man page generated from reStructuredText. . . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .TH "MEMSLAP" "1" "Feb 01, 2024" "1.1" "libmemcached-awesome" .SH NAME memslap \- libmemcached Documentation .SH SYNOPSIS .sp memslap [options] .sp Load testing and benchmarking a server .SH DESCRIPTION .sp \fBmemslap\fP is a load generation and benchmark tool for \fBmemcached(1)\fP servers. It generates configurable workload such as threads, concurrencies, connections, run time, overwrite, miss rate, key size, value size, get/set proportion, expected throughput, and so on. .SH OPTIONS .INDENT 0.0 .TP .B \-h|\-\-help Display help. .UNINDENT .INDENT 0.0 .TP .B \-V|\-\-version Display version. .UNINDENT .INDENT 0.0 .TP .B \-q|\-\-quiet Operate quietly. .UNINDENT .INDENT 0.0 .TP .B \-v|\-\-verbose Operate more verbosely. .UNINDENT .INDENT 0.0 .TP .B \-d|\-\-debug See \fI\%\-v|\-\-verbose\fP\&. .UNINDENT .INDENT 0.0 .TP .B \-s|\-\-servers Specify the list of servers as \fIhostname[:port][,hostname[:port]...]\fP\&. .UNINDENT .INDENT 0.0 .TP .B \-n|\-\-non\-blocking Enable non\-blocking operations. .UNINDENT .INDENT 0.0 .TP .B \-N|\-\-tcp\-nodelay Disable Nagle\(aqs algorithm. .UNINDENT .INDENT 0.0 .TP .B \-b|\-\-binary Enable binary protocol. .UNINDENT .INDENT 0.0 .TP .B \-B|\-\-buffer Buffer requests. .UNINDENT .INDENT 0.0 .TP .B \-u|\-\-username Use \fIusername\fP for SASL authentication. .UNINDENT .INDENT 0.0 .TP .B \-p|\-\-password Use \fIpassword\fP for SASL authentication. .UNINDENT .INDENT 0.0 .TP .B \-H|\-\-hash Use \fIalgorithm\fP as key hash algo. See \fI\%memcached_behavior_t::MEMCACHED_BEHAVIOR_HASH\fP\&. .UNINDENT .INDENT 0.0 .TP .B \-U|\-\-udp Enable UDP operation mode. .UNINDENT .INDENT 0.0 .TP .B \-R|\-\-noreply Enable the NOREPLY behavior for storage commands. .UNINDENT .INDENT 0.0 .TP .B \-F|\-\-flush Flush all servers prior test. .UNINDENT .INDENT 0.0 .TP .B \-t|\-\-test Test to perform (options: get, mget, set; default: get). .UNINDENT .INDENT 0.0 .TP .B \-c|\-\-concurrency Concurrency (number of threads to start; default: 1). .UNINDENT .INDENT 0.0 .TP .B \-e|\-\-execute\-number Number of times to execute the tests (default: 10000). .UNINDENT .INDENT 0.0 .TP .B \-l|\-\-initial\-load Number of keys to load before executing tests (default: 10000). .UNINDENT .SH ENVIRONMENT .INDENT 0.0 .TP .B MEMCACHED_SERVERS Specify a list of servers. .UNINDENT .SH NOTES .SS PROGRAM PREFIX .sp The prefix of this program is variable, i.e. it can be configured at build time. .sp Usually the client programs of \fBlibmemcached\-awesome\fP are prefixed with \fBmem\fP, like \fBmemcat\fP or \fBmemcp\fP\&. .sp It can be configured, though, to replace the prefix with something else like \fBmc\fP, in case of that, the client programs of \fBlibmemcached\-awesome\fP would be called \fBmccat\fP, \fBmccp\fP, etc. respectively. .SH SEE ALSO .sp \fBmemcached(1)\fP \fBlibmemcached(3)\fP .INDENT 0.0 .IP \(bu 2 \fI\%C/C++ Client Library for memcached\fP .UNINDENT .\" Generated by docutils manpage writer. .