| [root@elk102.oldboyedu.com ~] |
| Unable to find image 'daocloud.io/daocloud/zookeeper:feature-pressure_test' locally |
| Trying to pull repository daocloud.io/daocloud/zookeeper ... |
| feature-pressure_test: Pulling from daocloud.io/daocloud/zookeeper |
| 4fd9376ba1c2: Pull complete |
| a3ed95caeb02: Pull complete |
| eccf25f58b53: Pull complete |
| cb1b2495580e: Pull complete |
| b185638a17e1: Pull complete |
| f3f8f2ef51dc: Pull complete |
| 81efe7cd2a85: Pull complete |
| 5525b9d5e84c: Pull complete |
| 480c378eb9ff: Pull complete |
| Digest: sha256:39fd8d3cdee744674f1fadb2f71d2339d3504d4a988095736c2bb9f4d4201a64 |
| Status: Downloaded newer image for daocloud.io/daocloud/zookeeper:feature-pressure_test |
| root@db5d2bee4be3:/local/git/zookeeper-benchmark |
| root@db5d2bee4be3:/local/git/zookeeper-benchmark |
| LICENSE README.md all.plot benchmark.conf multi.plot pom.xml runBenchmark.sh src target |
| root@db5d2bee4be3:/local/git/zookeeper-benchmark |
| root@db5d2bee4be3:/local/git/zookeeper-benchmark |
| root@db5d2bee4be3:/local/git/zookeeper-benchmark |
| root@db5d2bee4be3:/local/git/zookeeper-benchmark |
| totalTime=30000 |
| interval=200 |
| totalOperations=20000 |
| lowerbound=8000 |
| sync=true |
| server.106=10.0.0.106:2888:3888:observer |
| server.107=10.0.0.107:2888:3888:participant |
| server.108=10.0.0.108:2888:3888:participant |
| root@db5d2bee4be3:/local/git/zookeeper-benchmark |
| root@db5d2bee4be3:/local/git/zookeeper-benchmark |
| Using configuration: ./benchmark.conf |
| Detailed logs going to: zk-benchmark.log |
| Running warm-up benchmark for 30 seconds... |
| |
| ...(出现如下的错误信息请直接忽略,因为这是并发量较大时,目前的zookeeper集群已经处理不过来足够多的请求了,会初心对应的错误。) |
| |
| 21/04/30 03:32:14 ERROR curator.ConnectionState: Connection timed out for connection string (172.200.1.101:2181) and timeout (5000) / elapsed (50 |
| 58)org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss |
| at com.netflix.curator.ConnectionState.getZooKeeper(ConnectionState.java:94) |
| at com.netflix.curator.CuratorZookeeperClient.getZooKeeper(CuratorZookeeperClient.java:106) |
| at com.netflix.curator.utils.EnsurePath$InitialHelper$1.call(EnsurePath.java:110) |
| at com.netflix.curator.RetryLoop.callWithRetry(RetryLoop.java:86) |
| at com.netflix.curator.utils.EnsurePath$InitialHelper.ensure(EnsurePath.java:102) |
| at com.netflix.curator.utils.EnsurePath.ensure(EnsurePath.java:90) |
| at com.netflix.curator.framework.imps.NamespaceImpl.ensurePath(NamespaceImpl.java:52) |
| at com.netflix.curator.framework.imps.NamespaceImpl.fixForNamespace(NamespaceImpl.java:34) |
| at com.netflix.curator.framework.imps.CuratorFrameworkImpl.fixForNamespace(CuratorFrameworkImpl.java:504) |
| at com.netflix.curator.framework.imps.ExistsBuilderImpl.forPath(ExistsBuilderImpl.java:138) |
| at com.netflix.curator.framework.imps.ExistsBuilderImpl.forPath(ExistsBuilderImpl.java:35) |
| at edu.brown.cs.zkbenchmark.BenchmarkClient.run(BenchmarkClient.java:91) |
| at java.lang.Thread.run(Thread.java:745) |
| |
| ... |
| |
| done |
| Running znode read benchmark for 30 seconds... done |
| Running repeated single-znode write benchmark for 30 seconds... done |
| Running znode create benchmark for 30 seconds... done |
| Running different znode write benchmark for 30 seconds... done |
| Running znode delete benchmark for 30 seconds... done |
| root@db5d2bee4be3:/local/git/zookeeper-benchmark |
| root@1a202ecfa2d4:/local/git/zookeeper-benchmark |
| 21/04/30 08:54:57 INFO zkbenchmark.ZooKeeperBenchmark: Loading benchmark from configuration file: benchmark.conf |
| 21/04/30 08:54:57 INFO zkbenchmark.ZooKeeperBenchmark: benchmark set with: interval: 200 total number: 20000 threshold: 8000 time: 30000 sync: SYNC |
| |
| ... |
| |
| 21/04/30 08:55:42 INFO zkbenchmark.BenchmarkClient: Client |
| 21/04/30 08:55:42 INFO zkbenchmark.ZooKeeperBenchmark: READ finished, time elapsed (sec): 30.0 operations: 93533 avg rate: 3117.766666666667 |
| 21/04/30 08:55:42 INFO zkbenchmark.BenchmarkClient: Client |
| Server stats reset. |
| |
| ... |
| |
| 21/04/30 08:56:12 INFO zkbenchmark.BenchmarkClient: Client |
| 21/04/30 08:56:12 INFO zkbenchmark.ZooKeeperBenchmark: READ finished, time elapsed (sec): 30.0 operations: 89001 avg rate: 2966.7 |
| |
| ... |
| |
| 21/04/30 08:56:42 INFO zkbenchmark.BenchmarkClient: Client |
| 21/04/30 08:56:42 INFO zkbenchmark.ZooKeeperBenchmark: SETSINGLE finished, time elapsed (sec): 30.0 operations: 22863 avg rate: 762.1 |
| 21/04/30 08:56:42 INFO zkbenchmark.BenchmarkClient: Client |
| |
| ... |
| |
| 21/04/30 08:57:12 INFO zkbenchmark.BenchmarkClient: Client |
| 21/04/30 08:57:12 INFO zkbenchmark.ZooKeeperBenchmark: CREATE finished, time elapsed (sec): 30.0 operations: 22646 avg rate: 754.8666666666667 |
| |
| ... |
| |
| 21/04/30 08:57:42 INFO zkbenchmark.BenchmarkClient: Client |
| 21/04/30 08:57:42 INFO zkbenchmark.ZooKeeperBenchmark: SETMULTI finished, time elapsed (sec): 30.0 operations: 23485 avg rate: 782.8333333333334 |
| 21/04/30 08:57:42 INFO zkbenchmark.BenchmarkClient: Client |
| |
| ... |
| |
| 21/04/30 08:58:12 INFO zkbenchmark.BenchmarkClient: Client |
| 21/04/30 08:58:12 INFO zkbenchmark.ZooKeeperBenchmark: DELETE finished, time elapsed (sec): 30.0 operations: 24171 avg rate: 805.7 |
| 21/04/30 08:58:12 INFO zkbenchmark.ZooKeeperBenchmark: Tests completed, now cleaning-up |
| 21/04/30 08:58:12 INFO zkbenchmark.ZooKeeperBenchmark: All tests are complete |
| root@1a202ecfa2d4:/local/git/zookeeper-benchmark |
| |
| ... |