diff mbox

[2/3,RFC] KVM test: kvm_tests.cfg.sample: add some scheduler params

Message ID 1252631987-11699-2-git-send-email-mgoldish@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Michael Goldish Sept. 11, 2009, 1:19 a.m. UTC
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@redhat.com>
---
 client/tests/kvm/kvm_tests.cfg.sample |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
diff mbox

Patch

diff --git a/client/tests/kvm/kvm_tests.cfg.sample b/client/tests/kvm/kvm_tests.cfg.sample
index 285a38f..5142bbe 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
@@ -115,6 +120,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
@@ -568,6 +575,8 @@  linux_s3:
 variants:
     - @up:
     - smp2:
+        used_cpus = 2
+        stress_boot: used_cpus = 10
         extra_params += " -smp 2"