From mboxrd@z Thu Jan 1 00:00:00 1970 From: Amos Kong Subject: [Autotest PATCH v2 0/4] Network performance regression Date: Thu, 05 Jan 2012 11:05:47 +0800 Message-ID: <20120105030456.8563.65512.stgit@dhcp-8-167.nay.redhat.com> References: <20111223102308.29662.59520.stgit@dhcp-8-167.nay.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: lmr@redhat.com, autotest@test.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:64402 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757668Ab2AEDFf (ORCPT ); Wed, 4 Jan 2012 22:05:35 -0500 In-Reply-To: <20111223102308.29662.59520.stgit@dhcp-8-167.nay.redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: This patchset adds a new network perf testcase for Windows, refactors old netperf test, and support numa resource control. Process the raw results to a 'standard format' at the end of test, then we can analyze them with general module, compute average and compare with old results. User can configure test time/repeat times for getting stable results. Welcome to give feedback, thanks in advance! Changes from v1: - refactor analysis module - add new features in analysis code - shape those two tests - fix some script bugs - add autoio script for ntttcp test --- Amos Kong (4): virt-test: add NTttcp subtests virt-test: Refactor netperf test and add analysis module netperf: pin guest vcpus/memory/vhost thread to numa node virt: Introduce regression testing infrastructure client/tests/kvm/control | 7 + client/tests/kvm/perf.conf | 23 +++ client/virt/scripts/ntttcp.au3 | 41 +++++ client/virt/subtests.cfg.sample | 59 ++++++- client/virt/tests/analyzer.py | 172 ++++++++++++++++++++++ client/virt/tests/netperf.py | 312 ++++++++++++++++++++++++++++----------- client/virt/tests/ntttcp.py | 183 +++++++++++++++++++++++ client/virt/tests/regression.py | 34 ++++ 8 files changed, 733 insertions(+), 98 deletions(-) create mode 100644 client/tests/kvm/perf.conf create mode 100755 client/virt/scripts/ntttcp.au3 create mode 100644 client/virt/tests/analyzer.py create mode 100644 client/virt/tests/ntttcp.py create mode 100644 client/virt/tests/regression.py -- Amos Kong