diff --git a/lightningrpc-benchmark/conf/application.conf b/lightningrpc-benchmark/conf/application.conf index e828220..cf8e6c5 100644 --- a/lightningrpc-benchmark/conf/application.conf +++ b/lightningrpc-benchmark/conf/application.conf @@ -6,15 +6,13 @@ server { } client { - connections = 1 + connections = 64 concurrency = 128 - timeout = 1 + timeout = 1000 request { type = 3 // kryo size = 100 - duration = 1000 + duration = 120 statistics = true } -} - - +} \ No newline at end of file diff --git a/lightningrpc-benchmark/conf/benchmark-env.sh b/lightningrpc-benchmark/conf/benchmark-env.sh index 4d437b6..e923705 100644 --- a/lightningrpc-benchmark/conf/benchmark-env.sh +++ b/lightningrpc-benchmark/conf/benchmark-env.sh @@ -28,25 +28,19 @@ # export BENCHMARK_CLASSPATH=/xxx/extlib/*:/xxx/xxx.jar # The maximum amount of heap to use, in MB. Default is 1000. -# export BENCHMARK_SERVER_HEAPSIZE=1000 +export BENCHMARK_SERVER_HEAPSIZE=20480 # The maximum amount of heap to use, in MB. Default is 1000. -# export BENCHMARK_CLIENT_HEAPSIZE=1000 +export BENCHMARK_CLIENT_HEAPSIZE=20480 # Extra Java runtime options. Empty by default. # export BENCHMARK_OPTS=-server # Extra BenchmarkMaster's java runtime options for BenchmarkMaster. Empty by default -# export BENCHMARK_SERVER_OPTS= +export BENCHMARK_SERVER_OPTS=' -XX:+UseConcMarkSweepGC -XX:+PreserveFramePointer ' # Extra BenchmarkWorker's java runtime options. Empty by default -# export BENCHMARK_CLIENT_OPTS= - -# Extra BenchmarkPullServer's java runtime options. Empty by default -# export BENCHMARK_PULLSERVER_OPTS= - -# Extra QueryMaster mode BenchmarkWorker's java runtime options for BenchmarkMaster. Empty by default -# export BENCHMARK_QUERYSERVER_OPTS= +export BENCHMARK_CLIENT_OPTS=' -XX:+UseConcMarkSweepGC -XX:+PreserveFramePointer ' # Where log files are stored. $BENCHMARK_HOME/logs by default. # export BENCHMARK_LOG_DIR=${BENCHMARK_HOME}/logs @@ -59,13 +53,3 @@ # The scheduling priority for daemon processes. See 'man nice'. # export BENCHMARK_NICENESS=10 - -# It must be required to use HiveCatalogStore -# export HIVE_HOME= -# export HIVE_JDBC_DRIVER_DIR= - -# Benchmark PullServer mode. the default is embedded mode (in worker) -# export BENCHMARK_PULLSERVER_STANDALONE=false - -# HBase home directory. It is opitional, but is required mandatorily to use HBase. -# export HBASE_HOME= \ No newline at end of file