Yardsitck Gambia Release 7.2.0 release notes.
[yardstick.git] / samples / cyclictest.yaml
1 ##############################################################################
2 # Copyright (c) 2017 Huawei Technologies Co.,Ltd and others.
3 #
4 # All rights reserved. This program and the accompanying materials
5 # are made available under the terms of the Apache License, Version 2.0
6 # which accompanies this distribution, and is available at
7 # http://www.apache.org/licenses/LICENSE-2.0
8 ##############################################################################
9 ---
10 # Sample benchmark task config file
11 # Measure system high resolution by using Cyclictest
12 #
13 # For this sample just like running the command below on the test vm and
14 # getting latencies info back to the yardstick.
15 #
16 # sudo bash cyclictest -a 1 -i 1000 -p 99 -l 1000 -t 1 -h 90 -m -n -q
17 #
18
19 schema: "yardstick:task:0.1"
20
21 scenarios:
22 -
23   type: Cyclictest
24   options:
25     affinity: 1
26     interval: 1000
27     priority: 99
28     loops: 1000
29     threads: 1
30     histogram: 90
31   host: kvm.demo
32   runner:
33     type: Duration
34     duration: 60
35     interval: 1
36   sla:
37     max_min_latency: 50
38     max_avg_latency: 100
39     max_max_latency: 1000
40     action: monitor
41
42 context:
43   name: demo
44   image: yardstick-image
45   flavor: yardstick-flavor
46   user: ubuntu
47   servers:
48     kvm:
49       floating_ip: true
50   networks:
51     test:
52       cidr: "10.0.1.0/24"