-.TH "MEMASLAP" "1" "April 14, 2011" "0.47" "libmemcached"
+.TH "MEMASLAP" "1" "October 18, 2011" "1.01" "libmemcached"
.SH NAME
memaslap \- libmemcached Documentation
.
.
.SH SYNOPSIS
.sp
-:program:: \fImemaslap\fP
+memaslap [options]
.INDENT 0.0
.TP
.B \-\-help
.UNINDENT
.SH DESCRIPTION
.sp
-\fBmemaslap\fP is a load generation and benchmark tool for memcached(1)
-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. Furthermore, it also testss data
+\fBmemaslap\fP is a load generation and benchmark tool for memcached
+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. Furthermore, it also testss data
verification, expire\-time verification, UDP, binary protocol, facebook test,
replication test, multi\-get and reconnection, etc.
.sp
-Memslap manages network connections like memcached with
+Memaslap manages network connections like memcached with
libevent. Each thread of memaslap is bound with a CPU core, all
the threads don\(aqt communicate with each other, and there are several socket
connections in each thread. Each connection keeps key size distribution,
value size distribution, and command distribution by itself.
.sp
-You can specify servers via the \fB\-\-servers\fP option or via the
+You can specify servers via the \fI\-\-servers\fP option or via the
environment variable \fBMEMCACHED_SERVERS\fP.
.SH FEATURES
.sp
.sp
Because each thread is self\-governed, memaslap can assign
different threads to handle different memcached servers. This is just one of
-the ways in which memaslap testss multiple servers. The only
+the ways in which memaslap tests multiple servers. The only
limitation is that the number of servers cannot be greater than the number
-of threads. The other way to tests multiple servers is for replication
+of threads. The other way to test multiple servers is for replication
test. Each concurrency has one socket connection to each memcached server.
For the implementation, memaslap can set some objects to one
memcached server, and get these objects from the other servers.
Memslap testss both the ASCII protocol and binary protocol,
but it runs on the ASCII protocol by default.
Memslap by default runs on the TCP protocol, but it also
-testss UDP. Because UDP is unreliable, dropped packages and out\-of\-order
+tests UDP. Because UDP is unreliable, dropped packages and out\-of\-order
packages may occur. Memslap creates a memory buffer to handle
these problems. Memslap tries to read all the response data of
one command from the server and reorders the response data. If some packages
concurrency is 16. The user can use “—threads” and “\-\-concurrency” to
specify these variables.
.sp
-If the system testss setting CPU affinity and the number of threads
+If the system tests setting CPU affinity and the number of threads
specified by the user is greater than 1, memaslap will try to
bind each thread to a different CPU core. So if you want to get the best
performance memaslap, it is better to specify the number of