All of lore.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi@redhat.com>
To: mburns@redhat.com
Cc: Michael Goldish <mgoldish@redhat.com>, KVM List <kvm@vger.kernel.org>
Subject: Re: [RFC] KVM-Autotest: basic parallel test execution
Date: Mon, 01 Jun 2009 11:02:36 +0300	[thread overview]
Message-ID: <4A238B1C.4010501@redhat.com> (raw)
In-Reply-To: <4A146666.3010505@redhat.com>

Mike Burns wrote:
> Avi Kivity wrote:
>   
>> Michael Goldish wrote:
>>     
>>> Drawbacks:
>>> - requires some initial work to be done by the user -- the user has
>>> to define exactly where each test should run
>>>   
>>>       
>> For me, this is a major drawback.  I'd really like a fire-and-forget
>> solution.  If I have to spend my own time getting this to work, vs.
>> waiting longer for the tests to run on their own, I'll just be lazy.
>>     
> It seems like this is adding another layer of user interaction without
> really getting that much additional functionality.  An administrator of
> kvm-autotest is going to know enough to be able to create control and
> kvm_tests.cfg files that can mimic this already and then just create 2
> jobs in the server to run on different hosts. 
>   

I'm an administrator of kvm-autotest and I have no idea how to create 
control and kvm_tests.cfg files.

Also, I'm a lot more interested in spreading the load on my one host 
rather than on fictional other hosts.  And for that we need a scheduler, 
since different tests need differing amounts of memory and cores.

>>> - test sets need to be modified when tests or hosts are
>>> added/removed, to include/exclude them
>>>   
>>>       
>> This is also annoying -- and likely to stop me from updating.
>>     
> Host definitions already happen on the server and it seems like it would
> be confusing to have to make sure that the host you choose when setting
> up a test is setup correctly in your config files. 
>   

Host setups should be separated from test setup, so that tests can be 
continuously updated while the host setup is kept static.

>> I'd really like this to be automated, just specify a set of machines
>> and have the jobs distributed.  Furthermore, it is very important to
>> utilize the existing hosts better.  A 4-core 4GB server can easily run
>> a 2x smp 1GB guest and 2 other uniprocessor 1GB guests.  It's wasteful
>> to add more servers when the existing servers are underutilized.
>>
>>     
> Overall, the way I envisioned parallel test execution was having
> multiple tests running on a single machine.  It seems that the server
> already provides most (if not all) the functionality needed to spread
> tests across multiple machines.  I really think this is putting too much
> on the user for very small gains in functionality. 
>   

As a user, I disagree.  I can't calculate what resources are needed by 
each test and make sure they all fit on my host.

-- 
Do not meddle in the internals of kernels, for they are subtle and quick to panic.


  reply	other threads:[~2009-06-01  8:02 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <360943614.47181242571294363.JavaMail.root@zmail05.collab.prod.int.phx2.redhat.com>
2009-05-17 14:49 ` [RFC] KVM-Autotest: basic parallel test execution Michael Goldish
2009-05-17 19:43   ` Avi Kivity
2009-05-20 20:21     ` Mike Burns
2009-06-01  8:02       ` Avi Kivity [this message]
2009-05-20 20:52   ` Ryan Harper
2009-05-20 21:12     ` Mike Burns
2009-05-21 11:51       ` Ryan Harper
2009-05-24 14:46     ` Avi Kivity
     [not found] <1176066158.108921242854472990.JavaMail.root@zmail05.collab.prod.int.phx2.redhat.com>
2009-05-20 21:32 ` Michael Goldish
     [not found] <731194019.115721242860907674.JavaMail.root@zmail05.collab.prod.int.phx2.redhat.com>
2009-05-20 23:15 ` Michael Goldish
2009-05-21 12:11   ` Ryan Harper

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A238B1C.4010501@redhat.com \
    --to=avi@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=mburns@redhat.com \
    --cc=mgoldish@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.