Subject: | BUG: 100% GET TPS numbers are incorrect |
Date: | Wed, 4 Jan 2012 07:13:13 +0530 |
To: | bug-Memcached-libmemcached [...] rt.cpan.org |
From: | Radha Mohan <mohun106 [...] gmail.com> |
Hi,
I am using the memslap client tool from Memcached-libmemcached-4406
package. In my tests I observed that if I put get/set ratio 1:0 i.e
100% GETs then the tool reports incorrect TPS numbers at the end of
the test. It actually is considering the SET numbers also but the time
calculated is only for the GETs. See the below output. The test ran
for more than 100s as the tool has to do initial SETs. We should
ideally do not consider the SET numbers and concentrate only on GETs
as this test is a 100% GET.
# memslap -s 192.168.10.2:11211 -F Config -t 100s -T 12 -c 720
servers : 192.168.10.2:11211
threads count: 12
concurrency: 720
run time: 100s
windows size: 10k
set proportion: set_prop=0.00
get proportion: get_prop=1.00
cmd_get: 53988969
cmd_set: 7372800
get_misses: 0
written_bytes: 1490026278
read_bytes: 2542441854
object_bytes: 191692800
Run time: 100.0s Ops: 61361769 TPS: 613560 Net_rate: 38.5M/s