summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorkubi <jean.gaoliang@huawei.com>2015-12-14 19:51:45 +0800
committerliang gao <jean.gaoliang@huawei.com>2015-12-26 09:59:18 +0000
commitd09c1cf0ed3a1af45546129ecd8d648ce703f650 (patch)
treef1f122a7b3ad3c7169644b6f9f5564d536171f46 /samples
parent20ff6c8a9b3b073beea7651626f63b4283147d6f (diff)
add scenario and sample file for Unixbench.
JIRA:YARDSTICK-184 Change-Id: Iedd4a3708e08305b1c8fa7a8e1766ceef03ab8bb Signed-off-by: kubi <jean.gaoliang@huawei.com>
Diffstat (limited to 'samples')
-rw-r--r--samples/unixbench.yaml35
1 files changed, 35 insertions, 0 deletions
diff --git a/samples/unixbench.yaml b/samples/unixbench.yaml
new file mode 100644
index 000000000..9af032f23
--- /dev/null
+++ b/samples/unixbench.yaml
@@ -0,0 +1,35 @@
+---
+# Sample benchmark task config file
+# measure CPU performance
+# There is one sample scenario for Dhrystone
+# Dhrystone (MIPS) - higher results are better, i.e. better integer performance.
+
+schema: "yardstick:task:0.1"
+
+scenarios:
+-
+ type: UnixBench
+ options:
+ run_mode: 'verbose'
+ test_type: 'dhry2reg'
+ host: Chang'e.demo
+
+ runner:
+ type: Iteration
+ iterations: 1
+ interval: 1
+
+context:
+ name: demo
+ image: yardstick-trusty-server
+ flavor: yardstick-flavor
+ user: ec2-user
+
+ servers:
+ Chang'e:
+ floating_ip: true
+
+ networks:
+ test:
+ cidr: '10.0.1.0/24'
+