This patch is used to add grafana config to opnfv dashboard for
[yardstick.git] / samples / cyclictest.yaml
1 ---
2 # Sample benchmark task config file
3 # Measure system high resolution by using Cyclictest
4 #
5 # For this sample just like running the command below on the test vm and
6 # getting latencies info back to the yardstick.
7 #
8 # sudo bash cyclictest -a 1 -i 1000 -p 99 -l 1000 -t 1 -h 90 -m -n -q
9 #
10
11 schema: "yardstick:task:0.1"
12
13 scenarios:
14 -
15   type: Cyclictest
16   options:
17     affinity: 1
18     interval: 1000
19     priority: 99
20     loops: 1000
21     threads: 1
22     histogram: 90
23   host: kvm.demo
24   runner:
25     type: Duration
26     duration: 60
27     interval: 1
28   sla:
29     max_min_latency: 50
30     max_avg_latency: 100
31     max_max_latency: 1000
32     action: monitor
33
34 context:
35   name: demo
36   image: yardstick-trusty-server
37   flavor: yardstick-flavor
38   user: ubuntu
39   servers:
40     kvm:
41       floating_ip: true
42   networks:
43     test:
44       cidr: "10.0.1.0/24"