From: Michael Wallner Date: Fri, 28 Feb 2020 15:34:52 +0000 (+0100) Subject: docs: ws X-Git-Tag: 1.1.0-beta1~250^2~8 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=e1833e25ab4a98f9a3f9f9268185af57b2280eaf;p=m6w6%2Flibmemcached docs: ws --- diff --git a/docs/source/bin/memaslap.rst b/docs/source/bin/memaslap.rst index 4233e7fa..240c9281 100644 --- a/docs/source/bin/memaslap.rst +++ b/docs/source/bin/memaslap.rst @@ -630,44 +630,30 @@ _____ 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: @@ -681,18 +667,16 @@ The output of dynamic statistics is something like this: 95.43 177.29 Global 20 1257935 62896 71.8 0 26 3791 224 117.79 192.60 - - Set Statistics + Type Time(s) Ops TPS(ops/s) Net(M/s) Get_miss Min(us) Max(us) Avg(us) Std_dev Geo_dist Period 5 38425 7685 7.3 0 42 628 240 88.05 220.21 Global 20 139780 6989 8.0 0 37 3790 253 117.93 224.83 - - Total Statistics + Type Time(s) Ops TPS(ops/s) Net(M/s) Get_miss Min(us) Max(us) Avg(us) Std_dev Geo_dist Period 5 384252 76850 72.5 0 27 2198 207 @@ -707,86 +691,58 @@ _____ Get Statistics Statistics information of get command - - Set Statistics Statistics information of set command - - Total Statistics Statistics information of both get and set command - - Period Result within a period - - Global Accumulated results - - Ops Total operations - - TPS Throughput, operations/second - - Net The rate of network - - Get_miss How many objects can't be gotten - - Min The minimum response time - - Max The maximum response time - - Avg: The average response time - - Std_dev Standard deviation of response time - - Geo_dist Geometric distribution based on natural exponential function - - At the end, memaslap will output something like this: @@ -843,162 +799,108 @@ At the end, memaslap will output something like this: Run time: 20.0s Ops: 1397754 TPS: 69817 Net_rate: 59.4M/s --------------------------------------------------------------------------------------------------------------------------------- - - Where _____ Get Statistics Get statistics of response time - - Set Statistics Set statistics of response time - - Total Statistics Both get and set statistics of response time - - Min The accumulated and minimum response time - - Max The accumulated and maximum response time - - Avg The accumulated and average response time - - Std Standard deviation of response time - - Log2 Dist Geometric distribution based on logarithm 2 - - cmd_get Total get commands done - - cmd_set Total set commands done - - get_misses How many objects can't be gotten from server - - verify_misses How many objects need to verify but can't get them - - verify_failed How many objects with insistent value - - expired_get How many objects are expired but we get them - - unexpired_unget How many objects are unexpired but we can't get them - - written_bytes Total written bytes - - read_bytes Total read bytes - - object_bytes Total object bytes - - packet_disorder How many UDP packages are disorder - - packet_drop How many UDP packages are lost - - udp_timeout How many times UDP time out happen - - Run time Total run time - - Ops Total operations - - TPS Throughput, operations/second - - Net_rate The average rate of network - - - - OPTIONS ------- diff --git a/docs/source/libmemcached/constants.rst b/docs/source/libmemcached/constants.rst index 81471af8..c0d53dff 100644 --- a/docs/source/libmemcached/constants.rst +++ b/docs/source/libmemcached/constants.rst @@ -57,7 +57,6 @@ SYNOPSIS Maximum display width of an integer represented as string. - .. c:macro:: MEMCACHED_CONTINUUM_ADDITION How many extra slots we should build for in the continuum, defaults to 10. diff --git a/docs/source/libmemcached/memcached_auto.rst b/docs/source/libmemcached/memcached_auto.rst index 61ffa124..03ed8bad 100644 --- a/docs/source/libmemcached/memcached_auto.rst +++ b/docs/source/libmemcached/memcached_auto.rst @@ -72,7 +72,6 @@ when using the binary protocol. RETURN ------ - A value of type :type:`memcached_return_t` is returned. On success that value will be `MEMCACHED_SUCCESS`. Use memcached_strerror to translate this value to a printable string. diff --git a/docs/source/libmemcached/memcached_callback.rst b/docs/source/libmemcached/memcached_callback.rst index d211cd7a..e0158f6f 100644 --- a/docs/source/libmemcached/memcached_callback.rst +++ b/docs/source/libmemcached/memcached_callback.rst @@ -24,7 +24,6 @@ SYNOPSIS When :func:`memcached_delete` is called this function will be executed. At the point of its execution all connections are closed. - .. enumerator:: MEMCACHED_CALLBACK_CLONE_FUNCTION When :func:`memcached_delete` is called this function will be executed. @@ -92,7 +91,6 @@ SYNOPSIS The prototype for this is: .. type:: memcached_return_t (*memcached_trigger_delete_key)(memcached_st *ptr, char *key, size_t key_length) - DESCRIPTION ----------- @@ -110,8 +108,6 @@ callback flag. No connections are reset. You can use `MEMCACHED_CALLBACK_USER_DATA` to provide custom context if required for any of the callbacks. - - RETURN VALUE ------------ diff --git a/docs/source/libmemcached/memcached_cas.rst b/docs/source/libmemcached/memcached_cas.rst index 1449196c..aa8d5483 100644 --- a/docs/source/libmemcached/memcached_cas.rst +++ b/docs/source/libmemcached/memcached_cas.rst @@ -4,7 +4,6 @@ Working with data on the server in an atomic fashion .. index:: object: memcached_st - -------- SYNOPSIS -------- diff --git a/docs/source/libmemcached/memcached_create.rst b/docs/source/libmemcached/memcached_create.rst index 226b658e..ab6760b1 100644 --- a/docs/source/libmemcached/memcached_create.rst +++ b/docs/source/libmemcached/memcached_create.rst @@ -52,7 +52,6 @@ You may wish to avoid using memcached_create(3) or memcached_clone(3) with a stack based allocation. The most common issues related to ABI safety involve heap allocated structures. - ------ RETURN ------ diff --git a/docs/source/libmemcached/memcached_exist.rst b/docs/source/libmemcached/memcached_exist.rst index 4e0706c2..7dc29e95 100644 --- a/docs/source/libmemcached/memcached_exist.rst +++ b/docs/source/libmemcached/memcached_exist.rst @@ -42,4 +42,3 @@ SEE ALSO :manpage:`memcached(1)` :manpage:`libmemcached(3)` :manpage:`memcached_strerror(3)` -