From 1203c2b9d25344d1e15b28236ea2f19aa3103e0b Mon Sep 17 00:00:00 2001 From: wadeholler Date: Wed, 11 Nov 2015 20:40:02 -0500 Subject: [PATCH] update with cosbench example for issue #43 help Closes #63 --- example/wip-cosbench/cosbench_ex.yaml | 47 +++++++++++++++++++ example/wip-cosbench/cosbench_ex_ceph.conf | 54 ++++++++++++++++++++++ 2 files changed, 101 insertions(+) create mode 100644 example/wip-cosbench/cosbench_ex.yaml create mode 100644 example/wip-cosbench/cosbench_ex_ceph.conf diff --git a/example/wip-cosbench/cosbench_ex.yaml b/example/wip-cosbench/cosbench_ex.yaml new file mode 100644 index 00000000..939bde62 --- /dev/null +++ b/example/wip-cosbench/cosbench_ex.yaml @@ -0,0 +1,47 @@ +cluster: + user: 'cbt' + head: "cadmin" + clients: ["cadmin"] + osds: ["inf1", "inf2", "inf3"] + mons: + inf1: + a: "192.168.110.51:6789" + inf2: + b: "192.168.110.52:6789" + inf3: + c: "192.168.110.53:6789" + rgws: ["inf1", "inf2", "inf3"] + osds_per_node: 1 + fs: 'xfs' + mkfs_opts: '-f -i size=2048 -n size=64k' + mount_opts: '-o inode64,noatime,logbsize=256k' + conf_file: '/home/cbt/cbt/runs/test2.ceph.conf' + iterations: 1 + use_existing: True + clusterid: "ceph" + tmp_dir: "/tmp/cbt" + pool_profiles: + rbd: + pg_size: 64 + pgp_size: 64 + replication: 2 +benchmarks: + cosbench: + obj_size: [64KB] + osd_ra: [4096] + workers: 1 + containers_max: 10 + objects_max: 100 + mode: [write] + cosbench_dir: '/home/cbt/cb/0.4.1.0' + cosbench_xml_dir: '/home/cbt/cb/xml_dir' + controller: "cadmin" + auth: + config: username=cosbench:operator;password=intel2012;url=http://192.168.110.51:7480/auth/v1.0;retry=9 + template: [default] + rampup: 10 + runtime: 100 + rampdown: 10 + containers: ["u(1,100)"] + objects: ["u(1,100)"] + ratio: [100] diff --git a/example/wip-cosbench/cosbench_ex_ceph.conf b/example/wip-cosbench/cosbench_ex_ceph.conf new file mode 100644 index 00000000..fdb12c38 --- /dev/null +++ b/example/wip-cosbench/cosbench_ex_ceph.conf @@ -0,0 +1,54 @@ +[global] + osd pool default size = 1 + auth cluster required = none + auth service required = none + auth client required = none + keyring = /tmp/cbt/ceph/keyring + osd pg bits = 8 + osd pgp bits = 8 + log to syslog = false + log file = /tmp/cbt/ceph/log/$name.log + public network = 192.168.110.0/24 + cluster network = 192.168.110.0/24 + rbd cache = true + osd scrub load threshold = 0.01 + osd scrub min interval = 137438953472 + osd scrub max interval = 137438953472 + osd deep scrub interval = 137438953472 + osd max scrubs = 16 + filestore merge threshold = 40 + filestore split multiple = 8 + osd op threads = 8 + mon pg warn max object skew = 100000 + mon pg warn min per osd = 0 + mon pg warn max per osd = 32768 + +[mon] + mon data = /tmp/cbt/ceph/mon.$id + +[mon.a] + host = inf1 + mon addr = 192.168.110.51:6789 + +[mon.b] + host = inf2 + mon addr = 192.168.110.52:6789 + +[mon.c] + host = inf3 + mon addr = 192.168.110.53:6789 + +[osd.0] + host = inf1 + osd data = /tmp/cbt/mnt/osd-device-0-data + osd journal = /dev/disk/by-partlabel/osd-device-0-journal + +[osd.1] + host = inf2 + osd data = /tmp/cbt/mnt/osd-device-0-data + osd journal = /dev/disk/by-partlabel/osd-device-0-journal + +[osd.2] + host = inf3 + osd data = /tmp/cbt/mnt/osd-device-0-data + osd journal = /dev/disk/by-partlabel/osd-device-0-journal