You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by bu...@apache.org on 2020/06/01 22:49:29 UTC
[geode-benchmarks] branch sni updated: upped region size from
100->1k and upped worker threads from 1->10
This is an automated email from the ASF dual-hosted git repository.
burcham pushed a commit to branch sni
in repository https://gitbox.apache.org/repos/asf/geode-benchmarks.git
The following commit(s) were added to refs/heads/sni by this push:
new f2b850e upped region size from 100->1k and upped worker threads from 1->10
f2b850e is described below
commit f2b850ea5459f914d17436800fcfdbb1998b06da
Author: Bill Burcham <bb...@pivotal.io>
AuthorDate: Mon Jun 1 15:49:19 2020 -0700
upped region size from 100->1k and upped worker threads from 1->10
---
.../src/main/java/org/apache/geode/benchmark/tasks/StopSniProxy.java | 3 ++-
.../org/apache/geode/benchmark/tests/PartitionedPutBenchmark.java | 4 ++--
.../org/apache/geode/benchmark/tests/PartitionedPutBenchmarkSNI.java | 4 ++--
3 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/geode-benchmarks/src/main/java/org/apache/geode/benchmark/tasks/StopSniProxy.java b/geode-benchmarks/src/main/java/org/apache/geode/benchmark/tasks/StopSniProxy.java
index 0ac5e7b..6153901 100644
--- a/geode-benchmarks/src/main/java/org/apache/geode/benchmark/tasks/StopSniProxy.java
+++ b/geode-benchmarks/src/main/java/org/apache/geode/benchmark/tasks/StopSniProxy.java
@@ -26,6 +26,7 @@ import org.apache.geode.perftest.TestContext;
public class StopSniProxy implements Task {
public static final String STOP_PROXY_COMMAND = "docker-compose down";
+ // TODO: fix: this exits w/ status 1
public static final String CAPTURE_PROXY_LOG = "bash -c 'docker-compose logs haproxy > haproxy.log'";
public StopSniProxy() {}
@@ -33,7 +34,7 @@ public class StopSniProxy implements Task {
@Override
public void run(TestContext context) throws Exception {
final ProcessControl processControl = new ProcessControl();
- processControl.runCommand(CAPTURE_PROXY_LOG);
+// processControl.runCommand(CAPTURE_PROXY_LOG);
processControl.runCommand(STOP_PROXY_COMMAND);
}
diff --git a/geode-benchmarks/src/main/java/org/apache/geode/benchmark/tests/PartitionedPutBenchmark.java b/geode-benchmarks/src/main/java/org/apache/geode/benchmark/tests/PartitionedPutBenchmark.java
index 5e803ed..e831e6a 100644
--- a/geode-benchmarks/src/main/java/org/apache/geode/benchmark/tests/PartitionedPutBenchmark.java
+++ b/geode-benchmarks/src/main/java/org/apache/geode/benchmark/tests/PartitionedPutBenchmark.java
@@ -41,7 +41,7 @@ public class PartitionedPutBenchmark implements PerformanceTest {
// TODO: reinstate
// private LongRange keyRange = new LongRange(0, 1000000);
- private LongRange keyRange = new LongRange(0, 100);
+ private LongRange keyRange = new LongRange(0, 1000);
public PartitionedPutBenchmark() {}
@@ -58,7 +58,7 @@ public class PartitionedPutBenchmark implements PerformanceTest {
public TestConfig configure() {
TestConfig config = GeodeBenchmark.createConfig();
// TODO: delete this once test is working!
- config.threads(1);
+ config.threads(10);
ClientServerTopology.configure(config);
before(config, new CreatePartitionedRegion(), SERVER);
before(config, new CreateClientProxyRegion(), CLIENT);
diff --git a/geode-benchmarks/src/main/java/org/apache/geode/benchmark/tests/PartitionedPutBenchmarkSNI.java b/geode-benchmarks/src/main/java/org/apache/geode/benchmark/tests/PartitionedPutBenchmarkSNI.java
index 617c1d1..62067de 100644
--- a/geode-benchmarks/src/main/java/org/apache/geode/benchmark/tests/PartitionedPutBenchmarkSNI.java
+++ b/geode-benchmarks/src/main/java/org/apache/geode/benchmark/tests/PartitionedPutBenchmarkSNI.java
@@ -43,7 +43,7 @@ public class PartitionedPutBenchmarkSNI implements PerformanceTest {
// TODO; reinstate
// private LongRange keyRange = new LongRange(0, 1000000);
- private LongRange keyRange = new LongRange(0, 100);
+ private LongRange keyRange = new LongRange(0, 1000);
public PartitionedPutBenchmarkSNI() {}
@@ -60,7 +60,7 @@ public class PartitionedPutBenchmarkSNI implements PerformanceTest {
public TestConfig configure() {
TestConfig config = GeodeBenchmark.createConfig();
// TODO: delete this once test is working!
- config.threads(1);
+ config.threads(10);
ClientServerTopologyWithSNIProxy.configure(config);
before(config, new CreatePartitionedRegion(), SERVER);
before(config, new CreateClientProxyRegion(), CLIENT);