From 10e90abf770b61fee4d69c384d0ba47aaf259f2e Mon Sep 17 00:00:00 2001 From: Josh Durgin Date: Mon, 26 Sep 2011 10:11:13 -0700 Subject: [PATCH] Add some thrashing tasks. This includes only in-out toggling (default), as well as restarting daemons. --- collections/thrash/clusters/16-osd.yaml | 18 ++++++++++++++++++ .../thrash/clusters/3-osd-1-machine.yaml | 3 +++ collections/thrash/clusters/8-osd.yaml | 10 ++++++++++ collections/thrash/thrashers/default.yaml | 2 ++ collections/thrash/thrashers/fast.yaml | 5 +++++ collections/thrash/thrashers/more-down.yaml | 3 +++ collections/thrash/workloads/bonnie_cfuse.yaml | 5 +++++ collections/thrash/workloads/iozone_cfuse.yaml | 5 +++++ collections/thrash/workloads/radosbench.yaml | 4 ++++ 9 files changed, 55 insertions(+) create mode 100644 collections/thrash/clusters/16-osd.yaml create mode 100644 collections/thrash/clusters/3-osd-1-machine.yaml create mode 100644 collections/thrash/clusters/8-osd.yaml create mode 100644 collections/thrash/thrashers/default.yaml create mode 100644 collections/thrash/thrashers/fast.yaml create mode 100644 collections/thrash/thrashers/more-down.yaml create mode 100644 collections/thrash/workloads/bonnie_cfuse.yaml create mode 100644 collections/thrash/workloads/iozone_cfuse.yaml create mode 100644 collections/thrash/workloads/radosbench.yaml diff --git a/collections/thrash/clusters/16-osd.yaml b/collections/thrash/clusters/16-osd.yaml new file mode 100644 index 00000000000..987df7ef987 --- /dev/null +++ b/collections/thrash/clusters/16-osd.yaml @@ -0,0 +1,18 @@ +roles: +- [mon.0, mds.0, osd.0] +- [mon.1, osd.1] +- [mon.2, osd.2] +- [osd.3] +- [osd.4] +- [osd.5] +- [osd.6] +- [osd.7] +- [osd.8] +- [osd.9] +- [osd.10] +- [osd.11] +- [osd.12] +- [osd.13] +- [osd.14] +- [osd.15] +- [client.0] diff --git a/collections/thrash/clusters/3-osd-1-machine.yaml b/collections/thrash/clusters/3-osd-1-machine.yaml new file mode 100644 index 00000000000..dacc8874b65 --- /dev/null +++ b/collections/thrash/clusters/3-osd-1-machine.yaml @@ -0,0 +1,3 @@ +roles: +- [mon.0, mds.0, osd.0, osd.1, osd.2] +- [mon.1, mon.2, client.0] diff --git a/collections/thrash/clusters/8-osd.yaml b/collections/thrash/clusters/8-osd.yaml new file mode 100644 index 00000000000..6edc20b717f --- /dev/null +++ b/collections/thrash/clusters/8-osd.yaml @@ -0,0 +1,10 @@ +roles: +- [mon.0, mds.0, osd.0] +- [mon.1, osd.1] +- [mon.2, osd.2] +- [osd.3] +- [osd.4] +- [osd.5] +- [osd.6] +- [osd.7] +- [client.0] diff --git a/collections/thrash/thrashers/default.yaml b/collections/thrash/thrashers/default.yaml new file mode 100644 index 00000000000..5b30cabb72c --- /dev/null +++ b/collections/thrash/thrashers/default.yaml @@ -0,0 +1,2 @@ +tasks: +- thrashosds: diff --git a/collections/thrash/thrashers/fast.yaml b/collections/thrash/thrashers/fast.yaml new file mode 100644 index 00000000000..a2d0e127336 --- /dev/null +++ b/collections/thrash/thrashers/fast.yaml @@ -0,0 +1,5 @@ +tasks: +- ceph: +- thrashosds: + op_delay: 1 + chance_down: 10 diff --git a/collections/thrash/thrashers/more-down.yaml b/collections/thrash/thrashers/more-down.yaml new file mode 100644 index 00000000000..87dbeed5d6b --- /dev/null +++ b/collections/thrash/thrashers/more-down.yaml @@ -0,0 +1,3 @@ +tasks: +- thrashosds: + chance_down: 50 diff --git a/collections/thrash/workloads/bonnie_cfuse.yaml b/collections/thrash/workloads/bonnie_cfuse.yaml new file mode 100644 index 00000000000..2175cb4781a --- /dev/null +++ b/collections/thrash/workloads/bonnie_cfuse.yaml @@ -0,0 +1,5 @@ +tasks: +- cfuse: +- workunit: + all: + - suites/bonnie.sh diff --git a/collections/thrash/workloads/iozone_cfuse.yaml b/collections/thrash/workloads/iozone_cfuse.yaml new file mode 100644 index 00000000000..6d02328f311 --- /dev/null +++ b/collections/thrash/workloads/iozone_cfuse.yaml @@ -0,0 +1,5 @@ +tasks: +- cfuse: +- workunit: + all: + - suites/iozone.sh diff --git a/collections/thrash/workloads/radosbench.yaml b/collections/thrash/workloads/radosbench.yaml new file mode 100644 index 00000000000..3940870fce0 --- /dev/null +++ b/collections/thrash/workloads/radosbench.yaml @@ -0,0 +1,4 @@ +tasks: +- radosbench: + clients: [client.0] + time: 1800