From patchwork Fri Jun 12 16:13:10 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lucas Meneghel Rodrigues X-Patchwork-Id: 29887 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 n5CGDMJm018704 for ; Fri, 12 Jun 2009 16:13:23 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756323AbZFLQNS (ORCPT ); Fri, 12 Jun 2009 12:13:18 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756978AbZFLQNS (ORCPT ); Fri, 12 Jun 2009 12:13:18 -0400 Received: from mx2.redhat.com ([66.187.237.31]:52853 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755791AbZFLQNQ (ORCPT ); Fri, 12 Jun 2009 12:13:16 -0400 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n5CGDIGf006569; Fri, 12 Jun 2009 12:13:18 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n5CGDHFw031849; Fri, 12 Jun 2009 12:13:17 -0400 Received: from localhost.localdomain (vpn-10-74.bos.redhat.com [10.16.10.74]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n5CGDAZV002152; Fri, 12 Jun 2009 12:13:15 -0400 From: Lucas Meneghel Rodrigues To: autotest@test.kernel.org Cc: kvm@vger.kernel.org, Lucas Meneghel Rodrigues Subject: [KVM-AUTOTEST PATCH 4/4] Adding control files dir to kvm test Date: Fri, 12 Jun 2009 13:13:10 -0300 Message-Id: <1244823190-9299-4-git-send-email-lmr@redhat.com> In-Reply-To: <1244823190-9299-3-git-send-email-lmr@redhat.com> References: <1244823190-9299-1-git-send-email-lmr@redhat.com> <1244823190-9299-2-git-send-email-lmr@redhat.com> <1244823190-9299-3-git-send-email-lmr@redhat.com> X-Scanned-By: MIMEDefang 2.58 on 172.16.27.26 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org Adding an autotest_control dir with control files that will be used on the 'autotest' kvm test, with the original control files used on the old kvm_runtest_2 directory. Signed-off-by: Lucas Meneghel Rodrigues --- client/tests/kvm/autotest_control/bonnie.control | 21 ++++++++++++++++++++ client/tests/kvm/autotest_control/dbench.control | 20 +++++++++++++++++++ .../tests/kvm/autotest_control/sleeptest.control | 15 ++++++++++++++ 3 files changed, 56 insertions(+), 0 deletions(-) create mode 100644 client/tests/kvm/autotest_control/bonnie.control create mode 100644 client/tests/kvm/autotest_control/dbench.control create mode 100644 client/tests/kvm/autotest_control/sleeptest.control diff --git a/client/tests/kvm/autotest_control/bonnie.control b/client/tests/kvm/autotest_control/bonnie.control new file mode 100644 index 0000000..2717a80 --- /dev/null +++ b/client/tests/kvm/autotest_control/bonnie.control @@ -0,0 +1,21 @@ +AUTHOR = "Martin Bligh " +NAME = "bonnie" +TIME = "MEDIUM" +TEST_CLASS = "Kernel" +TEST_CATEGORY = "Functional" +TEST_TYPE = "client" +DOC = """\ +Bonnie is a benchmark which measures the performance of Unix file system +operations. Bonnie is concerned with identifying bottlenecks; the name is a +tribute to Bonnie Raitt, who knows how to use one. + +For more info, see http://www.textuality.com/bonnie/ + +This benchmark configuration run generates sustained write traffic +of 35-50MB/s of .1MB writes to just one disk. It appears to have a +sequential and a random workload. It gives profile measurements for: +throughput, %CPU rand seeks per second. Not sure if the the CPU numbers +are trustworthy. +""" + +job.run_test('bonnie') diff --git a/client/tests/kvm/autotest_control/dbench.control b/client/tests/kvm/autotest_control/dbench.control new file mode 100644 index 0000000..7fb8a37 --- /dev/null +++ b/client/tests/kvm/autotest_control/dbench.control @@ -0,0 +1,20 @@ +TIME="SHORT" +AUTHOR = "Martin Bligh " +DOC = """ +dbench is one of our standard kernel stress tests. It produces filesystem +load like netbench originally did, but involves no network system calls. +Its results include throughput rates, which can be used for performance +analysis. + +More information on dbench can be found here: +http://samba.org/ftp/tridge/dbench/README + +Currently it needs to be updated in its configuration. It is a great test for +the higher level I/O systems but barely touches the disk right now. +""" +NAME = 'dbench' +TEST_CLASS = 'kernel' +TEST_CATEGORY = 'Functional' +TEST_TYPE = 'client' + +job.run_test('dbench', seconds=60) diff --git a/client/tests/kvm/autotest_control/sleeptest.control b/client/tests/kvm/autotest_control/sleeptest.control new file mode 100644 index 0000000..725ae81 --- /dev/null +++ b/client/tests/kvm/autotest_control/sleeptest.control @@ -0,0 +1,15 @@ +AUTHOR = "Autotest Team" +NAME = "Sleeptest" +TIME = "SHORT" +TEST_CATEGORY = "Functional" +TEST_CLASS = "General" +TEST_TYPE = "client" + +DOC = """ +This test simply sleeps for 1 second by default. It's a good way to test +profilers and double check that autotest is working. +The seconds argument can also be modified to make the machine sleep for as +long as needed. +""" + +job.run_test('sleeptest', seconds = 1)