add latency for cache read operations(LMBench)
[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     stop_size: 32.0
13
14   host: demeter.demo
15
16   runner:
17     type: Arithmetic
18     iterators:
19     -
20       name: stride
21       start: 64
22       stop: 128
23       step: 64
24
25   sla:
26     max_latency: 35
27     action: monitor
28 -
29   type: Lmbench
30   options:
31     test_type: "bandwidth"
32     benchmark: "wr"
33
34   host: demeter.demo
35
36   runner:
37     type: Arithmetic
38     iterators:
39     -
40       name: size
41       start: 500
42       stop: 2000
43       step: 500
44
45   sla:
46     min_bandwidth: 10000
47     action: monitor
48
49 context:
50   name: demo
51   image: yardstick-trusty-server
52   flavor: yardstick-flavor
53   user: ubuntu
54
55   placement_groups:
56     pgrp1:
57       policy: "availability"
58
59   servers:
60     demeter:
61       floating_ip: true
62       placement: "pgrp1"
63
64   networks:
65     test:
66       cidr: '10.0.1.0/24'
67
68