Merge "[workaround] Disable gui for aarch64"
[yardstick.git] / samples / lmbench.yaml
index 2b8e990..ea2966b 100644 (file)
@@ -1,3 +1,11 @@
+##############################################################################
+# Copyright (c) 2017 kristian.hunt@gmail.com and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
 ---
 # Sample benchmark task config file
 # measure memory read latency and memory bandwidth using lmbench
@@ -9,16 +17,18 @@ scenarios:
   type: Lmbench
   options:
     test_type: "latency"
-    stride: 64
-    stop_size: 32
+    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
@@ -27,16 +37,18 @@ scenarios:
   type: Lmbench
   options:
     test_type: "bandwidth"
-    size: 500
     benchmark: "wr"
 
   host: demeter.demo
 
   runner:
     type: Arithmetic
-    name: size
-    stop: 2000
-    step: 500
+    iterators:
+    -
+      name: size
+      start: 500
+      stop: 2000
+      step: 500
 
   sla:
     min_bandwidth: 10000
@@ -44,9 +56,9 @@ scenarios:
 
 context:
   name: demo
-  image: yardstick-trusty-server
+  image: yardstick-image
   flavor: yardstick-flavor
-  user: ec2-user
+  user: ubuntu
 
   placement_groups:
     pgrp1: