aboutsummaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorJingLu5 <lvjing5@huawei.com>2016-05-23 14:32:50 +0800
committerliang gao <jean.gaoliang@huawei.com>2016-06-12 06:16:44 +0000
commite8075bab08e15413dbd2eac5c13daa6e48838324 (patch)
tree95f83936ee1a88d1888926b233ff3e369462eeaf /samples
parent8b4dba01fef62959dee8493808c37074ba0fef8c (diff)
add compute capacity/scale scenario
JIRA: YARDSTICK-271 This scenario reads hardware specification, including number of cpus, number of cores, number of threads, available memory size and total cache size of a host. Change-Id: Icb6c2e103f63fdd61be2461d25c1cf1f4115f161 Signed-off-by: JingLu5 <lvjing5@huawei.com>
Diffstat (limited to 'samples')
-rw-r--r--samples/computecapacity.yaml24
1 files changed, 24 insertions, 0 deletions
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