X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=samples%2Flmbench.yaml;h=311770c421cddee589f4a1c262ab373eb7aeb81a;hb=fcd6d55231ca915444b40d8d4e049e831fac50f3;hp=c7526c04c6fbda74ea6fcc2eb9eb454da0f2cbda;hpb=dd444c57c2cabf35a9948af10333468c9079f3d0;p=yardstick.git diff --git a/samples/lmbench.yaml b/samples/lmbench.yaml index c7526c04c..311770c42 100644 --- a/samples/lmbench.yaml +++ b/samples/lmbench.yaml @@ -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,26 +8,49 @@ 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 image: yardstick-trusty-server flavor: yardstick-flavor - user: ec2-user + user: ubuntu placement_groups: pgrp1: @@ -41,6 +64,5 @@ context: networks: test: cidr: '10.0.1.0/24' - external_network: "net04_ext"