Merge "Avoid the ValueError exception for a ping timeout."
[yardstick.git] / samples / lmbench.yaml
1 ---
2 # Sample benchmark task config file
3 # measure memory read latency and memory bandwidth using lmbench
4
5 schema: "yardstick:task:0.1"
6
7 scenarios:
8 -
9   type: Lmbench
10   options:
11     test_type: "latency"
12     stride: 64
13     stop_size: 32
14
15   host: demeter.demo
16
17   runner:
18     type: Arithmetic
19     name: stride
20     stop: 128
21     step: 64
22
23   sla:
24     max_latency: 35
25     action: monitor
26 -
27   type: Lmbench
28   options:
29     test_type: "bandwidth"
30     size: 500
31     benchmark: "wr"
32
33   host: demeter.demo
34
35   runner:
36     type: Arithmetic
37     name: size
38     stop: 2000
39     step: 500
40
41   sla:
42     min_bandwidth: 10000
43     action: monitor
44
45 context:
46   name: demo
47   image: yardstick-trusty-server
48   flavor: yardstick-flavor
49   user: ec2-user
50
51   placement_groups:
52     pgrp1:
53       policy: "availability"
54
55   servers:
56     demeter:
57       floating_ip: true
58       placement: "pgrp1"
59
60   networks:
61     test:
62       cidr: '10.0.1.0/24'
63
64