From: myoungwon oh Date: Mon, 8 Feb 2021 02:57:14 +0000 (+0900) Subject: qa: add dedup-io-mixed test X-Git-Tag: v17.1.0~2307^2~41 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=9e8601ddf546729930b53a69c6068383a3b93bca;p=ceph.git qa: add dedup-io-mixed test Signed-off-by: Myoungwon Oh --- diff --git a/qa/suites/rados/thrash/workloads/dedup-io-mixed.yaml b/qa/suites/rados/thrash/workloads/dedup-io-mixed.yaml new file mode 100644 index 00000000000..24a41c31ffb --- /dev/null +++ b/qa/suites/rados/thrash/workloads/dedup-io-mixed.yaml @@ -0,0 +1,20 @@ +tasks: +- exec: + client.0: + - sudo ceph osd pool create low_tier 4 +- rados: + clients: [client.0] + low_tier_pool: 'low_tier' + ops: 1500 + objects: 50 + set_chunk: true + enable_dedup: true + dedup_chunk_size: '131072' + dedup_chunk_algo: 'fastcdc' + op_weights: + read: 100 + write: 50 + set_chunk: 30 + tier_promote: 10 + tier_flush: 5 + tier_evict: 10 diff --git a/qa/tasks/rados.py b/qa/tasks/rados.py index 349f46efcc9..473b0b6c2bb 100644 --- a/qa/tasks/rados.py +++ b/qa/tasks/rados.py @@ -152,6 +152,10 @@ def task(ctx, config): args.extend(['--enable_dedup']) if config.get('low_tier_pool', None): args.extend(['--low_tier_pool', config.get('low_tier_pool', None)]) + if config.get('dedup_chunk_size', False): + args.extend(['--dedup_chunk_size']) + if config.get('dedup_chunk_algo', False): + args.extend(['--dedup_chunk_algo']) if config.get('pool_snaps', False): args.extend(['--pool-snaps']) if config.get('balance_reads', False):