From patchwork Fri Sep 11 14:14:59 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Goldish X-Patchwork-Id: 46864 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n8BEIFxt024959 for ; Fri, 11 Sep 2009 14:18:16 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753178AbZIKOSJ (ORCPT ); Fri, 11 Sep 2009 10:18:09 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753292AbZIKOSJ (ORCPT ); Fri, 11 Sep 2009 10:18:09 -0400 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 Received: from int-mx08.intmail.prod.int.phx2.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n8BEIBM9004977; Fri, 11 Sep 2009 10:18:11 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx08.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n8BEIAcM014047; Fri, 11 Sep 2009 10:18:10 -0400 Received: from localhost.localdomain (dhcp-1-188.tlv.redhat.com [10.35.1.188]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n8BEI74q023208; Fri, 11 Sep 2009 10:18:09 -0400 From: Michael Goldish To: autotest@test.kernel.org, kvm@vger.kernel.org Cc: 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> In-Reply-To: <1252678500-29244-1-git-send-email-mgoldish@redhat.com> References: <1252678500-29244-1-git-send-email-mgoldish@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.21 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org (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: