From: Alexey Eremenko Subject: Re: [KVM-AUTOTEST PATCH] Adding iperf test Date: Wed, 1 Jul 2009 14:43:25 +0300 Message-ID: <7fac565a0907010443pb06a5chc6ee789cc31d6c25@mail.gmail.com> References: <1245187799-7757-1-git-send-email-lmr@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Lucas Meneghel Rodrigues , autotest@test.kernel.org, kvm@vger.kernel.org, Alexey Eromenko To: sudhir kumar Return-path: Received: from ey-out-1920.google.com ([74.125.78.149]:64638 "EHLO ey-out-1920.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751182AbZGALnX (ORCPT ); Wed, 1 Jul 2009 07:43:23 -0400 Received: by ey-out-1920.google.com with SMTP id 3so187016eyh.36 for ; Wed, 01 Jul 2009 04:43:25 -0700 (PDT) In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: On Tue, Jun 30, 2009 at 11:52 AM, sudhir kumar wrote: > On Wed, Jun 17, 2009 at 2:59 AM, Lucas Meneghel Rodrigues wrote: >> Adding iperf network performance test. Basically it tests >> networking functionality, stability and performance of guest OSes. >> This test is cross-platform -- i.e. it works on both Linux and >> Windows VMs. >> > > I have a question here. Why are we adding iperf in a way different > than other tests ? We have client/tests/ directory > for each test which contains the python modules and the test tarball. > Then why in case of iperf we are putting it under client/tests/kvm and > modifying kvm.py instead of putting the testsuit as part of > autotest(run_autotest is not enough?)? Even if we do not want to touch > the existing iperf test in autotest we can use a separate name like > kvm_iperf. Somehow I have a feeling that there was a discussion on the > list for keeping tests under a particular directory. But still I feel > that should be only for tests specific to KVM and not the guest. Is > there any disadvantage of using the current approach of executing > these testsuits ? The reason to put my test under "kvm/" test, is because it depends on KVM-Autotest framework, not just on generic Autotest framework. In addition, the test is cross-platform on the guest side, currently supporting Windows and Linux guests, with possibility to support Solaris and BSD in future. LMR: me too, hate putting binaries in source tree, but the alternative option is to provide separate *.tar.bz2 for all the binary utils, and I don't sure which way is better. -- -Alexey Eromenko