aboutsummaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
Diffstat (limited to 'samples')
-rw-r--r--samples/cachestat.yaml31
-rw-r--r--samples/computecapacity.yaml24
2 files changed, 55 insertions, 0 deletions
diff --git a/samples/cachestat.yaml b/samples/cachestat.yaml
new file mode 100644
index 000000000..5786efa38
--- /dev/null
+++ b/samples/cachestat.yaml
@@ -0,0 +1,31 @@
+---
+# Sample benchmark task config file
+# Reading cache hit/miss ratio and usage statistics
+
+schema: "yardstick:task:0.1"
+
+scenarios:
+-
+ type: CACHEstat
+ options:
+ interval: 1
+
+ host: kratos.demo
+
+ runner:
+ type: Duration
+ duration: 60
+
+context:
+ name: demo
+ image: yardstick-trusty-server
+ flavor: yardstick-flavor
+ user: ubuntu
+
+ servers:
+ kratos:
+ floating_ip: true
+
+ networks:
+ test:
+ cidr: '10.0.1.0/24'
diff --git a/samples/computecapacity.yaml b/samples/computecapacity.yaml
new file mode 100644
index 000000000..0c6d46bf1
--- /dev/null
+++ b/samples/computecapacity.yaml
@@ -0,0 +1,24 @@
+---
+# Sample benchmark task config file
+# Measure compute capacity and scale.
+# Including number of cores, number of threads, available memory size and
+# cache size.
+
+schema: "yardstick:task:0.1"
+
+scenarios:
+-
+ type: ComputeCapacity
+ options:
+
+ nodes:
+ host1: node5.LF
+
+ runner:
+ type: Iteration
+ iterations: 1
+
+context:
+ type: Node
+ name: LF
+ file: /root/yardstick/etc/yardstick/nodes/compass_sclab_virtual/pod.yaml