From: Michael Goldish Subject: [KVM-AUTOTEST PATCH v2 2/3] [RFC] KVM test: kvm_tests.cfg.sample: add some scheduler params Date: Fri, 11 Sep 2009 17:14:59 +0300 Message-ID: <1252678500-29244-2-git-send-email-mgoldish@redhat.com> References: <1252678500-29244-1-git-send-email-mgoldish@redhat.com> Cc: Michael Goldish To: autotest@test.kernel.org, kvm@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:32710 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753059AbZIKOSI (ORCPT ); Fri, 11 Sep 2009 10:18:08 -0400 In-Reply-To: <1252678500-29244-1-git-send-email-mgoldish@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: (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 --- 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