|
@@ -39,7 +39,7 @@ public class FrameworkTest implements GreenApp {
|
|
|
|
|
|
private PgPoolOptions options;
|
|
|
|
|
|
- public static int connectionsPerTrack = 2;
|
|
|
+ public static int connectionsPerTrack = 4;
|
|
|
public static int connectionPort = 5432;
|
|
|
public AtomicBoolean foundDB = new AtomicBoolean(false);
|
|
|
public static String connectionHost = "localhost";
|
|
@@ -49,7 +49,7 @@ public class FrameworkTest implements GreenApp {
|
|
|
|
|
|
public FrameworkTest() {
|
|
|
// use this in commit messages to narrow travis testing to just this project
|
|
|
- // rebase before using this: [ci fw-only Java/greenlightning]
|
|
|
+ // ebase before using this: [ci fw-only Java/greenlightning]
|
|
|
|
|
|
//this server works best with -XX:+UseNUMA
|
|
|
this(System.getProperty("host","0.0.0.0"),
|
|
@@ -81,7 +81,7 @@ public class FrameworkTest implements GreenApp {
|
|
|
this.queueLengthOfPendingRequests = queueLengthOfPendingRequests;
|
|
|
this.minMemoryOfInputPipes = minMemoryOfInputPipes;
|
|
|
this.telemetryPort = telemetryPort;
|
|
|
- this.pipelineBits = 14;//max concurrent in flight database requests 1<<pipelineBits
|
|
|
+ this.pipelineBits = 16;//max concurrent in flight database requests 1<<pipelineBits
|
|
|
|
|
|
this.dbCallMaxResponseCount = 1<<6;
|
|
|
this.jsonMaxResponseCount = 1<<16;
|
|
@@ -138,7 +138,7 @@ public class FrameworkTest implements GreenApp {
|
|
|
@Override
|
|
|
public void declareConfiguration(GreenFramework framework) {
|
|
|
|
|
|
- framework.setDefaultRate(20_000);
|
|
|
+ framework.setDefaultRate(10_000);
|
|
|
|
|
|
//for 14 cores this is expected to use less than 16G, must use next largest prime to ensure smaller groups are not multiples.
|
|
|
framework.useHTTP1xServer(bindPort, this::parallelBehavior) //standard auto-scale
|
|
@@ -196,7 +196,7 @@ public class FrameworkTest implements GreenApp {
|
|
|
framework.enableTelemetryLogging();
|
|
|
}
|
|
|
|
|
|
- framework.setTimerPulseRate(30 * 1000);//2x per minute
|
|
|
+ framework.setTimerPulseRate(20 * 1000);//3x per minute
|
|
|
}
|
|
|
|
|
|
|