Adding breaktrace & disabling timer migration
[kvmfornfv.git] / tests / kvmfornfv_cyclictest_hostenv_guestenv.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 -b 1200000 -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     breaktrace: 1200000
19     interval: 1000
20     priority: 99
21     loops: 600000
22     threads: 1
23     histogram: 90
24   host: kvm.LF
25   runner:
26     type: Duration
27     duration: 1
28     interval: 1
29   tc: "kvmfornfv_cyclictest-node-context"
30   sla:
31     max_min_latency: 100
32     max_avg_latency: 600000
33     max_max_latency: 1200000
34     action: monitor
35   setup_options:
36     rpm_dir: "/opt/rpm"
37     script_dir: "/opt/scripts"
38     image_dir: "/opt/image"
39     host_setup_seqs:
40     - "host-setup0.sh"
41     - "reboot"
42     - "host-setup1.sh"
43     - "host-install-qemu.sh"
44     - "host-run-qemu.sh"
45     guest_setup_seqs:
46     - "guest-setup0.sh"
47     - "reboot"
48     - "guest-setup1.sh"
49
50 context:
51   type: Node
52   name: LF
53   file: /opt/scripts/pod.yaml