Redis Server and Memtier Benchmark

517 views
Skip to first unread message

Anil Maurya

unread,
Jun 7, 2017, 1:40:18 PM6/7/17
to Redis DB
Hi,

I am running memtier benchmark for redis.
I am using redis version (3.2.8) and memtier version 1.2.8 & 1.2.7.

I am using loopback configuration for the benchmark and below command for memtier  benchmark

/memtier_benchmark -s localhost -p 6379   -d 1024 --pipeline=1 --threads=1 -c 10  --key-pattern=S:S --ratio=1:1 -n 10000 --out-file ./redis-memtier


I am getting this output for the memtier 1.2.7

Type        Ops/sec     Hits/sec   Misses/sec      Latency       KB/sec

------------------------------------------------------------------------

Sets        7159.69          ---          ---    195.24700    916769.64

Gets        7155.43      7155.43         0.00    195.33000    916188.53

Totals     14315.12      7155.43         0.00    195.28900   1832958.17



Where I memtier 1.2.8.. Hits/Sec is coming 0


========================================================================

Type        Ops/sec     Hits/sec   Misses/sec      Latency       KB/sec

------------------------------------------------------------------------

Sets        1470.77          ---          ---      6.57500   3012208.17

Gets        1470.74         0.00      1470.74      0.21600        47.22

Totals      2941.51         0.00      1470.74      3.39500   3012255.39


This is seen for all the runs. Any idea why memtier 1.2.8 is reporting Hit/Sec 0.


Any quick response is appreciated.  

Thanks,

Anil Maurya


 

Itamar Haber

unread,
Jun 7, 2017, 4:06:59 PM6/7/17
to Redis DB
Hello Anil,

I reproduced the issue locally - there is indeed a regression here. It appears there is a similar issue in the repo - https://github.com/RedisLabs/memtier_benchmark/issues/8. Thanks for bumping this, I'll see if it can be fixed.

Cheers,



--
You received this message because you are subscribed to the Google Groups "Redis DB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redis-db+unsubscribe@googlegroups.com.
To post to this group, send email to redi...@googlegroups.com.
Visit this group at https://groups.google.com/group/redis-db.
For more options, visit https://groups.google.com/d/optout.



--

Itamar Haber | Chief OSS Education Officer
Redis Labs ~/redis

Mobile: +972 (54) 567 9692
Twitter: @itamarhaber
Skype: itamar.haber

RoshanRC

Itamar Haber

unread,
Jun 7, 2017, 5:27:41 PM6/7/17
to Redis DB
Sorry, I jumped the gun too early. Can't reproduce locally with 1.2.8 or the latest master. If this issue persists, please follow up in the project's repository.

Cheers,

Anil Maurya

unread,
Jun 7, 2017, 7:49:25 PM6/7/17
to Redis DB
Hi,

I had tried to used even latest memtier version. i.e. 1.2.10.

1. first problem.. after installing memtier if I check version, it is still showing 1.2.8 instead of 1.2.10
~/opt/redis/memtier/memtier_benchmark-1.2.10$ ./memtier_benchmark --version
memtier_benchmark 1.2.8
Copyright (C) 2011-2017 Redis Labs Ltd.
This is free software.  You may redistribute copies of it under the terms of
the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
There is NO WARRANTY, to the extent permitted by law.
:~/opt/redis/memtier/memtier_benchmark-1.2.10$ 

2. I ignored the version number. But I am still facing the same issue with the latest version of memtier.

Please provide the quick fix.

Thanks,
Anil Maurya
To unsubscribe from this group and stop receiving emails from it, send an email to redis-db+u...@googlegroups.com.

To post to this group, send email to redi...@googlegroups.com.
Visit this group at https://groups.google.com/group/redis-db.
For more options, visit https://groups.google.com/d/optout.

Anil Maurya

unread,
Jun 7, 2017, 8:15:12 PM6/7/17
to Redis DB

Type        Ops/sec            Hits/sec   Misses/sec  Latency     KB/sec

----------------------------------------------------------------------------------------------

Sets        1470.77              ---              ---              6.57500   3012208.17

Gets        1470.74             0.00          1470.74      0.21600    47.22

Totals      2941.51         0.00        1470.74   3.39500  3012255.39


Here you see Hit/Sec is coming 0 instead of 1470.74.  Is this some reporting issue or some problem with set and get????


Anil

Anil Maurya

unread,
Jun 8, 2017, 12:46:38 PM6/8/17
to Redis DB

I am flushing redis ( using redis-cli flushall ) before starting memtier runs.
Reply all
Reply to author
Forward
0 new messages