[KVM-AUTOTEST PATCH v2 2/3] [RFC] KVM test: kvm_tests.cfg.sample: add some scheduler params

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



(Difference from previous version: make sure timedrift is executed alone.
This should probably be a temporary solution until we find a better one, like
making sure timedrift is not executed in parallel to itself, while allowing it
to run in parallel to other tests.)

used_cpus denotes the number of CPUs required for a test.
used_mem denotes the amount of RAM required for a test.

Signed-off-by: Michael Goldish <mgoldish@xxxxxxxxxx>
---
 client/tests/kvm/kvm_tests.cfg.sample |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/client/tests/kvm/kvm_tests.cfg.sample b/client/tests/kvm/kvm_tests.cfg.sample
index 285a38f..38f5a5a 100644
--- a/client/tests/kvm/kvm_tests.cfg.sample
+++ b/client/tests/kvm/kvm_tests.cfg.sample
@@ -22,6 +22,10 @@ image_size = 10G
 shell_port = 22
 display = vnc
 
+# Default scheduler params
+used_cpus = 1
+used_mem = 512
+
 # Port redirections
 redirs = remote_shell
 guest_port_remote_shell = 22
@@ -66,6 +70,7 @@ variants:
         migration_test_command = help
         kill_vm_on_error = yes
         iterations = 2
+        used_mem = 1024
 
     - autotest:     install setup
         type = autotest
@@ -106,6 +111,8 @@ variants:
         drift_threshold = 50
         # Fail if the drift after the rest period is higher than 10%
         drift_threshold_after_rest = 10
+        # For now, make sure this test is executed alone
+        used_cpus = 100
 
     - stress_boot:  install setup
         type = stress_boot
@@ -115,6 +122,8 @@ variants:
         kill_vm = yes
         kill_vm_vm1 = no
         kill_vm_gracefully = no
+        used_cpus = 5
+        used_mem = 2560
         extra_params += " -snapshot"
 
     - autoit:       install setup
@@ -569,6 +578,9 @@ variants:
     - @up:
     - smp2:
         extra_params += " -smp 2"
+        used_cpus = 2
+        stress_boot: used_cpus = 10
+        timedrift: used_cpus = 100
 
 
 variants:
-- 
1.5.4.1

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux