X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=bin%2Fmemaslap.html;h=b67f66bba61f86457d8376f05ff50484207144b1;hb=e271da38ba3b4991f775fe0358f4be656550d62f;hp=263b339697971c48b6efffb29b5d79e8b5c53e21;hpb=d517b40976d8e986cada6b8b896e8f12cd179fa6;p=awesomized%2Flibmemcached diff --git a/bin/memaslap.html b/bin/memaslap.html index 263b3396..b67f66bb 100644 --- a/bin/memaslap.html +++ b/bin/memaslap.html @@ -8,7 +8,7 @@ -
For 8 CPU cores system
For example:
--threads=2 --concurrency=128
@@ -411,7 +393,7 @@ the multiple of the number of threads.--threads=8 --concurrency=256
--threads=12 --concurrency=144
For 16 CPU cores system
For example:
--threads=8 --concurrency=128
@@ -447,14 +429,14 @@ concurrency=128.1. Small cache cache_size=1M, 100% cache miss (all data get from SSD). win_size=10k
cache_size=4G
(1). cache miss rate 0%
win_size=8k
(2). cache miss rate 5%
win_size=11k
cache_size=16G
(1). cache miss rate 0%
win_size=32k
@@ -693,32 +675,25 @@ one located at ~/.memaslap.cnf.servers : "servers"
-+The servers used by memaslap.
-
threads count
-+The number of threads memaslap runs with.
-
concurrency
-+The number of concurrencies memaslap runs with.
-
run time
-+How long to run memaslap.
-
windows size
-+The task window size of each concurrency.
-
set proportion
-+The proportion of set command.
-
get proportion
-+The proportion of get command.
-
The output of dynamic statistics is something like this:
---------------------------------------------------------------------------------------------------------------------------------
Get Statistics
@@ -752,60 +727,46 @@ one located at ~/.memaslap.cnf.
Where¶
Get Statistics
-Statistics information of get command
-
+Statistics information of get command
Set Statistics
-Statistics information of set command
-
+Statistics information of set command
Total Statistics
-Statistics information of both get and set command
-
+Statistics information of both get and set command
Period
-Result within a period
-
+Result within a period
Global
-Accumulated results
-
+Accumulated results
Ops
-Total operations
-
+Total operations
TPS
-Throughput, operations/second
-
+Throughput, operations/second
Net
-The rate of network
-
+The rate of network
Get_miss
-How many objects can't be gotten
-
+How many objects can't be gotten
Min
-The minimum response time
-
+The minimum response time
Max
-The maximum response time
-
+The maximum response time
Avg:
-The average response time
-
+The average response time
Std_dev
-Standard deviation of response time
-
+Standard deviation of response time
Geo_dist
-Geometric distribution based on natural exponential function
-
+Geometric distribution based on natural exponential function
At the end, memaslap will output something like this:
---------------------------------------------------------------------------------------------------------------------------------
Get Statistics (1257956 events)
@@ -864,177 +825,161 @@ one located at ~/.memaslap.cnf.
Where¶
Get Statistics
-Get statistics of response time
-
+Get statistics of response time
Set Statistics
-Set statistics of response time
-
+Set statistics of response time
Total Statistics
-Both get and set statistics of response time
-
+Both get and set statistics of response time
Min
-The accumulated and minimum response time
-
+The accumulated and minimum response time
Max
-The accumulated and maximum response time
-
+The accumulated and maximum response time
Avg
-The accumulated and average response time
-
+The accumulated and average response time
Std
-Standard deviation of response time
-
+Standard deviation of response time
Log2 Dist
-Geometric distribution based on logarithm 2
-
+Geometric distribution based on logarithm 2
cmd_get
-Total get commands done
-
+Total get commands done
cmd_set
-Total set commands done
-
+Total set commands done
get_misses
-How many objects can't be gotten from server
-
+How many objects can't be gotten from server
verify_misses
-How many objects need to verify but can't get them
-
+How many objects need to verify but can't get them
verify_failed
-How many objects with insistent value
-
+How many objects with insistent value
expired_get
-How many objects are expired but we get them
-
+How many objects are expired but we get them
unexpired_unget
-How many objects are unexpired but we can't get them
-
+How many objects are unexpired but we can't get them
written_bytes
-Total written bytes
-
+Total written bytes
read_bytes
-Total read bytes
-
+Total read bytes
object_bytes
-Total object bytes
-
+Total object bytes
packet_disorder
-How many UDP packages are disorder
-
+How many UDP packages are disorder
packet_drop
-How many UDP packages are lost
-
+How many UDP packages are lost
udp_timeout
-How many times UDP time out happen
-
+How many times UDP time out happen
Run time
-Total run time
-
+Total run time
Ops
-Total operations
-
+Total operations
TPS
-Throughput, operations/second
-
+Throughput, operations/second
Net_rate
-The average rate of network
-
+The average rate of network
OPTIONS¶
-
-- -s, --servers=
List one or more servers to connect. Servers count must be less than
-threads count. e.g.: --servers=localhost:1234,localhost:11211
-
-- -T, --threads=
Number of threads to startup, better equal to CPU numbers. Default 8.
-
-- -c, --concurrency=
Number of concurrency to simulate with load. Default 128.
-
-- -n, --conn_sock=
Number of TCP socks per concurrency. Default 1.
-
-- -x, --execute_number=
Number of operations(get and set) to execute for the
-given test. Default 1000000.
-
-- -t, --time=
How long the test to run, suffix: s-seconds, m-minutes, h-hours,
-d-days e.g.: --time=2h.
-
-- -F, --cfg_cmd=
Load the configure file to get command,key and value distribution list.
-
-- -w, --win_size=
Task window size of each concurrency, suffix: K, M e.g.: --win_size=10k.
-Default 10k.
-
-- -X, --fixed_size=
Fixed length of value.
-
-- -v, --verify=
The proportion of date verification, e.g.: --verify=0.01
-
-- -d, --division=
Number of keys to multi-get once. Default 1, means single get.
-
-- -S, --stat_freq=
Frequency of dumping statistic information. suffix: s-seconds,
-m-minutes, e.g.: --resp_freq=10s.
-
-- -e, --exp_verify=
The proportion of objects with expire time, e.g.: --exp_verify=0.01.
-Default no object with expire time
-
-- -o, --overwrite=
The proportion of objects need overwrite, e.g.: --overwrite=0.01.
-Default never overwrite object.
-
-
-
-- -R, --reconnect
-Reconnect tests, when connection is closed it will be reconnected.
-
-- -U, --udp
-UDP tests, default memaslap uses TCP, TCP port and UDP port of
-server must be same.
-
-- -a, --facebook
-Whether it enables facebook test feature, set with TCP and multi-get with UDP.
-
-- -B, --binary
-Whether it enables binary protocol. Default with ASCII protocol.
-
-
-
-- -P, --tps=
Expected throughput, suffix: K, e.g.: --tps=10k.
-
-- -p, --rep_write=
The first nth servers can write data, e.g.: --rep_write=2.
-
+
+- -s, --servers=
+- List one or more servers to connect. Servers count must be less than
+threads count. e.g.: --servers=localhost:1234,localhost:11211
+- -T, --threads=
+- Number of threads to startup, better equal to CPU numbers. Default 8.
+- -c, --concurrency=
+- Number of concurrency to simulate with load. Default 128.
+- -n, --conn_sock=
+- Number of TCP socks per concurrency. Default 1.
+- -x, --execute_number=
+- Number of operations(get and set) to execute for the
+given test. Default 1000000.
+- -t, --time=
+- How long the test to run, suffix: s-seconds, m-minutes, h-hours,
+d-days e.g.: --time=2h.
+- -F, --cfg_cmd=
+- Load the configure file to get command,key and value distribution list.
+- -w, --win_size=
+- Task window size of each concurrency, suffix: K, M e.g.: --win_size=10k.
+Default 10k.
+- -X, --fixed_size=
+- Fixed length of value.
+- -v, --verify=
+- The proportion of date verification, e.g.: --verify=0.01
+- -d, --division=
+- Number of keys to multi-get once. Default 1, means single get.
+- -S, --stat_freq=
+- Frequency of dumping statistic information. suffix: s-seconds,
+m-minutes, e.g.: --resp_freq=10s.
+- -e, --exp_verify=
+- The proportion of objects with expire time, e.g.: --exp_verify=0.01.
+Default no object with expire time
+- -o, --overwrite=
+- The proportion of objects need overwrite, e.g.: --overwrite=0.01.
+Default never overwrite object.
-
-- -b, --verbose
-Whether it outputs detailed information when verification fails.
-
-- -h, --help
-Display this message and then exit.
-
-- -V, --version
-Display the version of the application and then exit.
-
+
+
+
+
+
+-R, --reconnect
+
+ Reconnect tests, when connection is closed it will be reconnected.
+
+-U, --udp
+UDP tests, default memaslap uses TCP, TCP port and UDP port of
+server must be same.
+
+-a, --facebook
+Whether it enables facebook test feature, set with TCP and multi-get with UDP.
+
+-B, --binary
+Whether it enables binary protocol. Default with ASCII protocol.
+
+
+
+- -P, --tps=
+- Expected throughput, suffix: K, e.g.: --tps=10k.
+- -p, --rep_write=
+- The first nth servers can write data, e.g.: --rep_write=2.
+
+
+
+
+
+-b, --verbose
+Whether it outputs detailed information when verification fails.
+
+-h, --help
+Display this message and then exit.
+
+-V, --version
+Display the version of the application and then exit.
+
+
EXAMPLES¶