Skip to content

Commit 6bbef47

Browse files
committed
Adjust cpu for el9 presubmits
1 parent 04b8725 commit 6bbef47

38 files changed

+38
-41
lines changed

test/bin/vm_scheduler.sh

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -148,10 +148,7 @@ init_scheduler() {
148148
}
149149

150150
# Default VM resources when not specified in launch_vm
151-
# Using 4 vCPUs by default maximizes VM reuse potential:
152-
# - All VMs can run any scenario (no vcpu mismatch)
153-
# - More queuing = more reuse opportunities
154-
DEFAULT_VM_VCPUS=4
151+
DEFAULT_VM_VCPUS=2
155152
DEFAULT_VM_MEMORY=4096
156153

157154
parse_static_scenario_resources() {

test/scenarios-bootc/el9/presubmits/el98-src@ai-model-serving-online.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ GREENBOOT_TIMEOUT=1200
99
# Opt-in to dynamic VM scheduling by declaring requirements
1010
dynamic_schedule_requirements() {
1111
cat <<EOF
12-
min_vcpus=4
12+
min_vcpus=2
1313
min_memory=4096
1414
min_disksize=30
1515
networks=default

test/scenarios-bootc/el9/presubmits/el98-src@auto-recovery-extra.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ EOF
1717

1818
scenario_create_vms() {
1919
prepare_kickstart host1 kickstart-bootc.ks.template rhel98-bootc-source
20-
launch_vm rhel98-bootc
20+
launch_vm rhel98-bootc --vm_vcpus 4
2121
}
2222

2323
scenario_remove_vms() {

test/scenarios-bootc/el9/presubmits/el98-src@auto-recovery.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ EOF
1717

1818
scenario_create_vms() {
1919
prepare_kickstart host1 kickstart-bootc.ks.template rhel98-bootc-source
20-
launch_vm rhel98-bootc
20+
launch_vm rhel98-bootc --vm_vcpus 4
2121
}
2222

2323
scenario_remove_vms() {

test/scenarios-bootc/el9/presubmits/el98-src@backup-and-restore-on-reboot.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ EOF
1717

1818
scenario_create_vms() {
1919
prepare_kickstart host1 kickstart-bootc.ks.template rhel98-bootc-source
20-
launch_vm rhel98-bootc
20+
launch_vm rhel98-bootc --vm_vcpus 4
2121
}
2222

2323
scenario_remove_vms() {

test/scenarios-bootc/el9/presubmits/el98-src@backups.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ EOF
1717

1818
scenario_create_vms() {
1919
prepare_kickstart host1 kickstart-bootc.ks.template rhel98-bootc-source
20-
launch_vm rhel98-bootc
20+
launch_vm rhel98-bootc --vm_vcpus 4
2121
}
2222

2323
scenario_remove_vms() {

test/scenarios-bootc/el9/presubmits/el98-src@cert-manager.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ fi
2020
# Opt-in to dynamic VM scheduling by declaring requirements
2121
dynamic_schedule_requirements() {
2222
cat <<EOF
23-
min_vcpus=4
23+
min_vcpus=2
2424
min_memory=4096
2525
min_disksize=25
2626
networks=

test/scenarios-bootc/el9/presubmits/el98-src@configuration.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ EOF
1717

1818
scenario_create_vms() {
1919
prepare_kickstart host1 kickstart-bootc.ks.template rhel98-bootc-source
20-
launch_vm rhel98-bootc
20+
launch_vm rhel98-bootc --vm_vcpus 4
2121
}
2222

2323
scenario_remove_vms() {

test/scenarios-bootc/el9/presubmits/el98-src@containers-policy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ EOF
1717

1818
scenario_create_vms() {
1919
prepare_kickstart host1 kickstart-bootc.ks.template rhel98-bootc-source
20-
launch_vm rhel98-bootc
20+
launch_vm rhel98-bootc --vm_vcpus 4
2121
}
2222

2323
scenario_remove_vms() {

test/scenarios-bootc/el9/presubmits/el98-src@dns.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ EOF
1616

1717
scenario_create_vms() {
1818
prepare_kickstart host1 kickstart-bootc.ks.template rhel98-bootc-source
19-
launch_vm rhel98-bootc
19+
launch_vm rhel98-bootc --vm_vcpus 4
2020
}
2121

2222
scenario_remove_vms() {

0 commit comments

Comments
 (0)