All Downloads are FREE. Search and download functionalities are using the official Maven repository.

.simulator.simulator.0.7.source-code.runScript Maven / Gradle / Ivy

There is a newer version: 1.0
Show newest version
#!/bin/bash

members=${1:-2}
clients=${2:-4}
duration=${3:-1m}
testsuite=${4:-test}

memberHeapSZ=1G
clientHeapSZ=512M

partitions=271
monitorSec=30

gcArgs="-verbose:gc -Xloggc:verbosegc.log"
gcArgs="${gcArgs} -XX:+PrintGCTimeStamps -XX:+PrintGCDetails -XX:+PrintTenuringDistribution -XX:+PrintGCApplicationStoppedTime -XX:+PrintGCApplicationConcurrentTime"

memberJvmArgs="-Dhazelcast.partition.count=${partitions}"
memberJvmArgs="${memberJvmArgs} -Dhazelcast.health.monitoring.level=NOISY -Dhazelcast.health.monitoring.delay.seconds=${monitorSec}"
memberJvmArgs="${memberJvmArgs} -Xmx${memberHeapSZ} -XX:+HeapDumpOnOutOfMemoryError"
memberJvmArgs="${memberJvmArgs} ${gcArgs}"

clientJvmArgs="-Xmx${clientHeapSZ} -XX:+HeapDumpOnOutOfMemoryError"
clientJvmArgs="${clientJvmArgs} ${gcArgs}"

coordinator --memberWorkerCount ${members} \
            --clientWorkerCount ${clients} \
            --duration ${duration} \
            --workerVmOptions "${memberJvmArgs}" \
            --clientWorkerVmOptions "${clientJvmArgs}" \
            --parallel \
            --monitorPerformance \
             ${testsuite}.properties




© 2015 - 2025 Weber Informatics LLC | Privacy Policy