Skip to content

Commit 8b6c355

Browse files
authored
Merge pull request #490 from bootjp/feat/jepsen-schedule-enhance
fix: halve scheduled Jepsen parameters, keep concurrency multiple of 4
2 parents 031f6fa + e0f6389 commit 8b6c355

1 file changed

Lines changed: 27 additions & 27 deletions

File tree

.github/workflows/jepsen-test-scheduled.yml

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,23 @@ on:
66
time-limit:
77
description: "Workload runtime seconds"
88
required: false
9-
default: "300"
9+
default: "150"
1010
rate:
1111
description: "Ops/sec per worker"
1212
required: false
13-
default: "20"
13+
default: "10"
1414
concurrency:
15-
description: "Number of worker threads"
15+
description: "Number of worker threads (must be multiple of 4 for S3)"
1616
required: false
17-
default: "10"
17+
default: "8"
1818
key-count:
1919
description: "Number of distinct keys per workload"
2020
required: false
21-
default: "30"
21+
default: "16"
2222
max-writes-per-key:
2323
description: "Maximum writes per key before exhaustion"
2424
required: false
25-
default: "500"
25+
default: "250"
2626

2727
concurrency:
2828
group: ${{ github.workflow }}-${{ github.ref }}-jepsen-scheduled
@@ -86,39 +86,39 @@ jobs:
8686
exit 1
8787
- name: Run Redis Jepsen workload against elastickv
8888
working-directory: jepsen
89-
timeout-minutes: 20
89+
timeout-minutes: 10
9090
run: |
91-
timeout 900 ~/lein run -m elastickv.redis-workload \
92-
--time-limit ${{ inputs.time-limit || '300' }} \
93-
--rate ${{ inputs.rate || '20' }} \
94-
--concurrency ${{ inputs.concurrency || '10' }} \
95-
--key-count ${{ inputs.key-count || '30' }} \
96-
--max-writes-per-key ${{ inputs.max-writes-per-key || '500' }} \
91+
timeout 480 ~/lein run -m elastickv.redis-workload \
92+
--time-limit ${{ inputs.time-limit || '150' }} \
93+
--rate ${{ inputs.rate || '10' }} \
94+
--concurrency ${{ inputs.concurrency || '8' }} \
95+
--key-count ${{ inputs.key-count || '16' }} \
96+
--max-writes-per-key ${{ inputs.max-writes-per-key || '250' }} \
9797
--max-txn-length 4 \
9898
--ports 63791,63792,63793 \
9999
--host 127.0.0.1
100100
- name: Run DynamoDB Jepsen workload against elastickv
101101
working-directory: jepsen
102-
timeout-minutes: 20
102+
timeout-minutes: 10
103103
run: |
104-
timeout 900 ~/lein run -m elastickv.dynamodb-workload --local \
105-
--time-limit ${{ inputs.time-limit || '300' }} \
106-
--rate ${{ inputs.rate || '20' }} \
107-
--concurrency ${{ inputs.concurrency || '10' }} \
108-
--key-count ${{ inputs.key-count || '30' }} \
109-
--max-writes-per-key ${{ inputs.max-writes-per-key || '500' }} \
104+
timeout 480 ~/lein run -m elastickv.dynamodb-workload --local \
105+
--time-limit ${{ inputs.time-limit || '150' }} \
106+
--rate ${{ inputs.rate || '10' }} \
107+
--concurrency ${{ inputs.concurrency || '8' }} \
108+
--key-count ${{ inputs.key-count || '16' }} \
109+
--max-writes-per-key ${{ inputs.max-writes-per-key || '250' }} \
110110
--dynamo-ports 63801,63802,63803 \
111111
--host 127.0.0.1
112112
- name: Run S3 Jepsen workload against elastickv
113113
working-directory: jepsen
114-
timeout-minutes: 20
114+
timeout-minutes: 10
115115
run: |
116-
timeout 900 ~/lein run -m elastickv.s3-workload --local \
117-
--time-limit ${{ inputs.time-limit || '300' }} \
118-
--rate ${{ inputs.rate || '20' }} \
119-
--concurrency ${{ inputs.concurrency || '10' }} \
120-
--key-count ${{ inputs.key-count || '30' }} \
121-
--max-writes-per-key ${{ inputs.max-writes-per-key || '500' }} \
116+
timeout 480 ~/lein run -m elastickv.s3-workload --local \
117+
--time-limit ${{ inputs.time-limit || '150' }} \
118+
--rate ${{ inputs.rate || '10' }} \
119+
--concurrency ${{ inputs.concurrency || '8' }} \
120+
--key-count ${{ inputs.key-count || '16' }} \
121+
--max-writes-per-key ${{ inputs.max-writes-per-key || '250' }} \
122122
--threads-per-key 4 \
123123
--s3-ports 63901,63902,63903 \
124124
--host 127.0.0.1

0 commit comments

Comments
 (0)