From 1dfd12e852a0e578836cc3ad43fbc8edf8ca634f Mon Sep 17 00:00:00 2001 From: Neha Ojha Date: Fri, 8 Sep 2017 11:15:11 -0700 Subject: [PATCH] qa/suites/rados: add perf suite Signed-off-by: Neha Ojha --- qa/suites/rados/perf/% | 0 qa/suites/rados/perf/ceph.yaml | 8 ++++++ qa/suites/rados/perf/objectstore | 1 + .../rados/perf/workloads/sample_fio.yaml | 25 +++++++++++++++++++ .../perf/workloads/sample_radosbench.yaml | 23 +++++++++++++++++ 5 files changed, 57 insertions(+) create mode 100644 qa/suites/rados/perf/% create mode 100644 qa/suites/rados/perf/ceph.yaml create mode 120000 qa/suites/rados/perf/objectstore create mode 100644 qa/suites/rados/perf/workloads/sample_fio.yaml create mode 100644 qa/suites/rados/perf/workloads/sample_radosbench.yaml diff --git a/qa/suites/rados/perf/% b/qa/suites/rados/perf/% new file mode 100644 index 00000000000..e69de29bb2d diff --git a/qa/suites/rados/perf/ceph.yaml b/qa/suites/rados/perf/ceph.yaml new file mode 100644 index 00000000000..456141caf18 --- /dev/null +++ b/qa/suites/rados/perf/ceph.yaml @@ -0,0 +1,8 @@ +roles: +- [mon.a, mgr.x, osd.0, osd.1, osd.2, client.0] +tasks: +- install: +- ceph: + fs: xfs + wait-for-scrub: false +- ssh_keys: diff --git a/qa/suites/rados/perf/objectstore b/qa/suites/rados/perf/objectstore new file mode 120000 index 00000000000..4c8ebadfde8 --- /dev/null +++ b/qa/suites/rados/perf/objectstore @@ -0,0 +1 @@ +../../../objectstore \ No newline at end of file diff --git a/qa/suites/rados/perf/workloads/sample_fio.yaml b/qa/suites/rados/perf/workloads/sample_fio.yaml new file mode 100644 index 00000000000..92a77034c89 --- /dev/null +++ b/qa/suites/rados/perf/workloads/sample_fio.yaml @@ -0,0 +1,25 @@ +tasks: +- cbt: + benchmarks: + librbdfio: + op_size: [4096] + time: 60 + mode: ['randwrite'] + norandommap: True + vol_size: 4096 + procs_per_volume: [1] + volumes_per_client: [2] + iodepth: [32] + osd_ra: [4096] + pool_profile: 'rbd' + log_avg_msec: 100 + cmd_path: '/usr/local/bin/fio' + cluster: + user: 'ubuntu' + osds_per_node: 3 + iterations: 1 + pool_profiles: + rbd: + pg_size: 512 + pgp_size: 512 + replication: 3 diff --git a/qa/suites/rados/perf/workloads/sample_radosbench.yaml b/qa/suites/rados/perf/workloads/sample_radosbench.yaml new file mode 100644 index 00000000000..793134d8ad4 --- /dev/null +++ b/qa/suites/rados/perf/workloads/sample_radosbench.yaml @@ -0,0 +1,23 @@ +tasks: +- cbt: + benchmarks: + radosbench: + concurrent_ops: 4 + concurrent_procs: 2 + op_size: [4096] + pool_monitoring_list: + - collectl + pool_profile: 'replicated' + run_monitoring_list: + - collectl + time: 60 + write_only: true + cluster: + user: 'ubuntu' + osds_per_node: 3 + iterations: 1 + pool_profiles: + replicated: + pg_size: 512 + pgp_size: 512 + replication: 'replicated' -- 2.47.3