geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wireba...@apache.org
Subject [geode-benchmarks] branch gcpscaletest updated: 32 threads with thread local true
Date Thu, 20 Dec 2018 19:08:55 GMT
This is an automated email from the ASF dual-hosted git repository.

wirebaron pushed a commit to branch gcpscaletest
in repository https://gitbox.apache.org/repos/asf/geode-benchmarks.git


The following commit(s) were added to refs/heads/gcpscaletest by this push:
     new 16611ba  32 threads with thread local true
16611ba is described below

commit 16611ba89d1863c64a5494762828dbb0b01d4c1b
Author: Brian Rowe <browe@pivotal.io>
AuthorDate: Thu Dec 20 11:08:09 2018 -0800

    32 threads with thread local true
---
 .../src/main/java/org/apache/geode/benchmark/tasks/StartClient.java     | 1 +
 harness/src/main/java/org/apache/geode/perftest/WorkloadConfig.java     | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/geode-benchmarks/src/main/java/org/apache/geode/benchmark/tasks/StartClient.java
b/geode-benchmarks/src/main/java/org/apache/geode/benchmark/tasks/StartClient.java
index add2309..091a59c 100644
--- a/geode-benchmarks/src/main/java/org/apache/geode/benchmark/tasks/StartClient.java
+++ b/geode-benchmarks/src/main/java/org/apache/geode/benchmark/tasks/StartClient.java
@@ -48,6 +48,7 @@ public class StartClient implements Task {
     ClientCache clientCache = new ClientCacheFactory(GeodeProperties.clientProperties())
         .setPdxSerializer(new ReflectionBasedAutoSerializer("org.apache.benchmark.geode.data.*"))
         .addPoolLocator(locator.getHostAddress(), locatorPort)
+        .setPoolThreadLocalConnections(true)
         .set(ConfigurationProperties.STATISTIC_ARCHIVE_FILE, statsFile)
         .create();
 
diff --git a/harness/src/main/java/org/apache/geode/perftest/WorkloadConfig.java b/harness/src/main/java/org/apache/geode/perftest/WorkloadConfig.java
index c1bbbbb..a474a29 100644
--- a/harness/src/main/java/org/apache/geode/perftest/WorkloadConfig.java
+++ b/harness/src/main/java/org/apache/geode/perftest/WorkloadConfig.java
@@ -32,7 +32,7 @@ import org.apache.geode.perftest.yardstick.YardstickTask;
 public class WorkloadConfig implements Serializable {
   long durationSeconds = 1;
   long warmupSeconds = 0;
-  int threads = 256;
+  int threads = 32;
 
   public WorkloadConfig() {}
 


Mime
View raw message