add scenario and sample file for Unixbench.
[yardstick.git] / samples / lmbench.yaml
index 256d8c6..4ef53c3 100644 (file)
@@ -1,6 +1,6 @@
 ---
 # Sample benchmark task config file
-# measure memory read latency using lmbench
+# measure memory read latency and memory bandwidth using lmbench
 
 schema: "yardstick:task:0.1"
 
@@ -8,20 +8,43 @@ scenarios:
 -
   type: Lmbench
   options:
-    stride: 64
-    stop_size: 32
+    test_type: "latency"
+    stop_size: 32.0
 
   host: demeter.demo
 
   runner:
     type: Arithmetic
-    name: stride
-    stop: 128
-    step: 64
+    iterators:
+    -
+      name: stride
+      start: 64
+      stop: 128
+      step: 64
 
   sla:
     max_latency: 35
     action: monitor
+-
+  type: Lmbench
+  options:
+    test_type: "bandwidth"
+    benchmark: "wr"
+
+  host: demeter.demo
+
+  runner:
+    type: Arithmetic
+    iterators:
+    -
+      name: size
+      start: 500
+      stop: 2000
+      step: 500
+
+  sla:
+    min_bandwidth: 10000
+    action: monitor
 
 context:
   name: demo