Support run cyclictest on BareMetal
[yardstick.git] / samples / perf.yaml
1 ---
2 # Sample benchmark task config file
3 # use perf to perform Linux performance measurements
4 # this sample demonstrates measurements of various software perf events
5
6 schema: "yardstick:task:0.1"
7
8 scenarios:
9 -
10   type: Perf
11   options:
12     load: true
13     events:
14     - task-clock
15     - cpu-clock
16     - context-switches
17     - page-faults
18     - cpu-migrations
19   host: hades.demo
20
21   runner:
22     type: Duration
23     duration: 30
24
25   sla:
26     metric: context-switches
27     smaller_than_expected: true
28     expected_value: 300
29     action: monitor
30
31 context:
32   name: demo
33   image: yardstick-trusty-server
34   flavor: yardstick-flavor
35   user: ec2-user
36
37   servers:
38     hades:
39       floating_ip: true
40   networks:
41     test:
42       cidr: "10.0.1.0/24"