add yardstick iruya 9.0.0 release notes
[yardstick.git] / samples / cyclictest-node-context.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.LF
32   runner:
33     type: Duration
34     duration: 1
35     interval: 1
36   sla:
37     max_min_latency: 50
38     max_avg_latency: 100
39     max_max_latency: 1000
40     action: monitor
41   setup_options:
42     rpm_dir: "/opt/rpm"
43     script_dir: "/opt/scripts"
44     image_dir: "/opt/image"
45     host_setup_seqs:
46     - "host-setup0.sh"
47     - "reboot"
48     - "host-setup1.sh"
49     - "host-run-qemu.sh"
50     guest_setup_seqs:
51     - "guest-setup0.sh"
52     - "reboot"
53     - "guest-setup1.sh"
54
55 context:
56   type: Node
57   name: LF
58   file: /root/yardstick/pod.yaml