[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-3264?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16789436#comment-16789436
 ] 

maoling commented on ZOOKEEPER-3264:
------------------------------------

look at an example from *etcd*:

*./benchmark --endpoints=127.0.0.1:2379 --conns=100 --clients=1000 put 
--key-size=8 --sequential-keys --total=100000 --val-size=256*

 

Summary:
 Total: 6.1671 secs.
 Slowest: 0.2509 secs.
 Fastest: 0.0033 secs.
 Average: 0.0596 secs.
 Stddev: 0.0255 secs.
 Requests/sec: 16215.0483

Response time histogram:
 0.0033 [1] |
 0.0281 [5243] |∎∎∎∎
 0.0528 [43157] |∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎
 0.0776 [30352] |∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎
 0.1023 [14683] |∎∎∎∎∎∎∎∎∎∎∎∎∎
 0.1271 [4549] |∎∎∎∎
 0.1519 [1598] |∎
 0.1766 [336] |
 0.2014 [38] |
 0.2261 [6] |
 0.2509 [37] |

Latency distribution:
 10% in 0.0326 secs.
 25% in 0.0414 secs.
 50% in 0.0538 secs.
 75% in 0.0730 secs.
 90% in 0.0945 secs.
 95% in 0.1090 secs.
 99% in 0.1373 secs.
 99.9% in 0.1743 secs.

> Add a benchmark tool for zookeeper
> ----------------------------------
>
>                 Key: ZOOKEEPER-3264
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3264
>             Project: ZooKeeper
>          Issue Type: New Feature
>          Components: other
>            Reporter: maoling
>            Assignee: maoling
>            Priority: Major
>
> Reference:
> https://github.com/etcd-io/etcd/blob/master/tools/benchmark/cmd/range.go
> https://github.com/antirez/redis/blob/unstable/src/redis-benchmark.c
> https://github.com/phunt/zk-smoketest/blob/master/zk-latencies.py
> https://github.com/brownsys/zookeeper-benchmark/blob/master/src/main/java/edu/brown/cs/zkbenchmark/ZooKeeperBenchmark.java



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to