Skip to content

Commit 58211ba

Browse files
Misbah Anjum Nmisanjumn
authored andcommitted
Add multivm-stress.cfg config file
This multivm config file allows us to test multivm scenarios. - Running 4 VMs - Running stress and HTX in the VMs - Adding different stress/events parameters Signed-off-by: Misbah Anjum N <misanjum@linux.vnet.ibm.com>
1 parent 74c11be commit 58211ba

File tree

1 file changed

+109
-0
lines changed

1 file changed

+109
-0
lines changed
Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
1+
include tests-shared.cfg
2+
3+
username = root
4+
password = 123456
5+
main_vm = vm1
6+
nettype = bridge
7+
netdst=virbr0
8+
9+
# Using Text mode of installation
10+
display = 'nographic'
11+
12+
take_regular_screendumps = no
13+
keep_screendumps_on_error = no
14+
keep_screendumps = no
15+
store_vm_register = no
16+
virt_install_binary = /usr/bin/virt-install
17+
qemu_img_binary = /usr/bin/qemu-img
18+
qemu_binary = /usr/bin/qemu-system-ppc64
19+
emulator_path = /usr/bin/qemu-system-ppc64
20+
use_os_variant=yes
21+
hvm_or_pv = hvm
22+
machine_type = pseries
23+
only bridge
24+
no xen, lxc, esx, ovmf
25+
26+
# Filterout unwanted disk types
27+
no ide,xenblk,lsi_scsi,ahci,sd
28+
no qed,qcow2v3,raw_dd,vmdk, usb2
29+
no e1000-82540em,e1000-82545em,e1000-82544gc,xennet,nic_custom
30+
31+
only no_virtio_rng
32+
only smp2
33+
only no_9p_export
34+
only no_pci_assignable
35+
only (image_backend=filesystem)
36+
only smallpages
37+
only virtio_net
38+
only virtio_scsi
39+
only qcow2
40+
41+
# Guest Kernel parameters
42+
kernel_args = "<kernel_args>"
43+
kernel = "/boot/vmlinuz-<kernel_version>"
44+
initrd = "/boot/initramfs-<kernel_version>.img"
45+
46+
variants:
47+
- guest_scalability:
48+
main_vm = vm1
49+
create_vm_libvirt = yes
50+
kill_vm_libvirt = yes
51+
env_cleanup = yes
52+
backup_image_before_testing = no
53+
restore_image_after_testing = no
54+
55+
vcpu_maxcpus_vm1 = 16
56+
vcpu_cores_vm1 = 2
57+
vcpu_sockets_vm1 = 8
58+
vcpu_threads_vm1 = 1
59+
vcpu_dies_vm1 = 1
60+
mem_vm1 = 10000
61+
smp_vm1 = 8
62+
stress_args_vm1 = --cpu 4 --vm 2 --vm-bytes 256M
63+
64+
vcpu_maxcpus_vm2 = 16
65+
vcpu_cores_vm2 = 2
66+
vcpu_sockets_vm2 = 8
67+
vcpu_threads_vm2 = 1
68+
vcpu_dies_vm2 = 1
69+
mem_vm2 = 10000
70+
smp_vm2 = 8
71+
stress_type_vm2 = htxcmdline_in_vms
72+
stress_cmds_htxcmdline_vm2 = "htxcmdline"
73+
htxcmdline_args_vm2 = "-run -mdt mdt.mem"
74+
download_url_htxcmdline_vm2 = "http:://<>"
75+
make_cmds_htxcmdline_vm2 = "rpm -i htxrhel9-679-LE.ppc64le.rpm"
76+
77+
vcpu_maxcpus_vm3 = 16
78+
vcpu_cores_vm3 = 2
79+
vcpu_sockets_vm3 = 8
80+
vcpu_threads_vm3 = 1
81+
vcpu_dies_vm3 = 1
82+
mem_vm3 = 10000
83+
smp_vm3 = 8
84+
stress_args_vm3 = --cpu 4 --vm 2 --vm-bytes 256M
85+
86+
vcpu_maxcpus_vm4 = 16
87+
vcpu_cores_vm4 = 2
88+
vcpu_sockets_vm4 = 8
89+
vcpu_threads_vm4 = 1
90+
vcpu_dies_vm4 = 1
91+
mem_vm4 = 10000
92+
smp_vm4 = 8
93+
stress_type_vm4 = htxcmdline_in_vms
94+
stress_cmds_htxcmdline_vm4 = "htxcmdline"
95+
htxcmdline_args_vm4 = "-run -mdt mdt.all"
96+
download_url_htxcmdline_vm4 = "http:://<>"
97+
make_cmds_htxcmdline_vm4 = "rpm -i htxrhel9-679-LE.ppc64le.rpm"
98+
99+
guest_stress = yes
100+
stress_time = 172800
101+
stress_itrs = 10
102+
itr_sleep_time = 30
103+
stress_events = "reboot"
104+
host_stress = no
105+
verify_guest_dmesg = no
106+
vms = "vm1 vm2 vm3 vm4"
107+
debug_dir = "/home/kvmci/kvmci-multivm-project/results/latest/"
108+
109+
only multivm_cpustress.custom_host_events.custom_vm_events

0 commit comments

Comments
 (0)