From mboxrd@z Thu Jan 1 00:00:00 1970 From: 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> 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> Cc: kvm@vger.kernel.org, Lucas Meneghel Rodrigues To: autotest@test.kernel.org Return-path: 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 In-Reply-To: <1244823190-9299-3-git-send-email-lmr@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: 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) -- 1.6.2.2