This patch contains updated scripts to install rpm-build package
[kvmfornfv.git] / tests / cyclictest-node-context.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: 600000
21     threads: 1
22     histogram: 90
23   host: kvm.LF
24   runner:
25     type: Duration
26     duration: 1
27     interval: 1
28   sla:
29     max_min_latency: 50
30     max_avg_latency: 100
31     max_max_latency: 1000
32     action: monitor
33   setup_options:
34     rpm_dir: "/opt/rpm"
35     script_dir: "/opt/scripts"
36     image_dir: "/opt/image"
37     host_setup_seqs:
38     - "host-setup0.sh"
39     - "reboot"
40     - "host-setup1.sh"
41     - "host-run-qemu.sh"
42     guest_setup_seqs:
43     - "guest-setup0.sh"
44     - "reboot"
45     - "guest-setup1.sh"
46
47 context:
48   type: Node
49   name: LF
50   file: /opt/scripts/pod.yaml