diff options
author | Kristian Hunt <kristian.hunt@gmail.com> | 2015-07-21 14:29:10 +0200 |
---|---|---|
committer | Kristian Hunt <kristian.hunt@gmail.com> | 2015-08-13 14:43:33 +0200 |
commit | f08252e8327c5b5625845ee44866dff1a7f7c16f (patch) | |
tree | bfd70de191810091caf6c2f5f37907a6910e0cae /samples | |
parent | ab4371757c7223d59dddc7bece1d3afa4dc3814b (diff) |
Add lmbench scenario and sample
Supports measuring memory read latency using Lmbench.
SLA can be verified for maximum latency time in nanoseconds
compared against results from every measurement taken.
Change-Id: Ia187e68eaa03341ba14b6e9eb986afb1d00dd0f6
JIRA: YARDSTICK-89
JIRA: YARDSTICK-92
Signed-off-by: Kristian Hunt <kristian.hunt@gmail.com>
Diffstat (limited to 'samples')
-rw-r--r-- | samples/lmbench.yaml | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/samples/lmbench.yaml b/samples/lmbench.yaml new file mode 100644 index 000000000..c7526c04c --- /dev/null +++ b/samples/lmbench.yaml @@ -0,0 +1,46 @@ +--- +# Sample benchmark task config file +# measure memory read latency using lmbench + +schema: "yardstick:task:0.1" + +scenarios: +- + type: Lmbench + options: + stride: 64 + stop_size: 32 + + host: demeter.demo + + runner: + type: Arithmetic + name: stride + stop: 128 + step: 64 + + sla: + max_latency: 35 + action: monitor + +context: + name: demo + image: yardstick-trusty-server + flavor: yardstick-flavor + user: ec2-user + + placement_groups: + pgrp1: + policy: "availability" + + servers: + demeter: + floating_ip: true + placement: "pgrp1" + + networks: + test: + cidr: '10.0.1.0/24' + external_network: "net04_ext" + + |