-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdebug.sh
More file actions
37 lines (28 loc) · 979 Bytes
/
debug.sh
File metadata and controls
37 lines (28 loc) · 979 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/bin/bash
RUNS_UPPER=50
WARM_UPPER=10
GC_TIME_S=5
INCREMENTS=4
PGQ_JAR=pgq.jar
LOGDIR=logs-test/
cd "$(dirname "$0")"
runconfig(){
java -XX:InitialRAMPercentage=70.0 -XX:MaxRAMPercentage=95.0 -jar $PGQ_JAR \
--case $1 \
--vql $2\
--size $3 \
--prefix $1 \
--warmups $4 \
--seed $5 \
--iterations $6 \
--gctime $7 \
--warmuplogto $8 \
--logto $9 \
|& tee ${10}
}
# Case VQL Size warmups runs iterations gc_time warmup_log log tee
#runconfig SH smarthome.vql 100 none 0..1 4 1 System.out System.out /dev/null
# Case VQL Size warmups runs iterations gc_time warmup_log log tee
#runconfig SAT satellite.vql 45 none 0..1 4 1 System.out System.out /dev/null
# Case VQL Size warmups runs iterations gc_time warmup_log log tee
runconfig SRV surveillance.vql 100 none 0..0 1 1 System.out System.out /dev/null