From cb030e96fac1e0fb1da3f1190dc87ea8c2e8d6fc Mon Sep 17 00:00:00 2001 From: Gyuho Lee Date: Tue, 8 May 2018 16:19:12 -0700 Subject: [PATCH] functional.yaml: configure stresser weights Signed-off-by: Gyuho Lee --- functional.yaml | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/functional.yaml b/functional.yaml index ec3a5998a..bb1bba101 100644 --- a/functional.yaml +++ b/functional.yaml @@ -212,9 +212,25 @@ tester-config: runner-exec-path: ./bin/etcd-runner external-exec-path: "" + # make up ±70% of workloads with writes stressers: - - KV - - LEASE + - type: KV_WRITE_SMALL + weight: 0.35 + - type: KV_WRITE_LARGE + weight: 0.002 + - type: KV_READ_ONE_KEY + weight: 0.07 + - type: KV_READ_RANGE + weight: 0.07 + - type: KV_DELETE_ONE_KEY + weight: 0.07 + - type: KV_DELETE_RANGE + weight: 0.07 + - type: KV_TXN_WRITE_DELETE + weight: 0.35 + - type: LEASE + weight: 0.0 + # - ELECTION_RUNNER # - WATCH_RUNNER # - LOCK_RACER_RUNNER