WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Xen

xen-devel

[Top] [All Lists]

[Xen-devel] Starting many VMs concurrently causes vif connect errors

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Starting many VMs concurrently causes vif connect errors
From: "Carb, Brian A" <Brian.Carb@xxxxxxxxxx>
Date: 2007年9月12日 12:24:38 -0500
Cc: "Carb, Brian A" <Brian.Carb@xxxxxxxxxx>
Delivery-date: 2007年9月12日 10:25:15 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acf1Ycu9c/IJDLu0QoCsw8hrC8FveQ==
Thread-topic: Starting many VMs concurrently causes vif connect errors
Until now, we have been starting a large number of VMs sequentially using a simple
"for i in vmcfg* ; do xm create $i; done"
and this has the effect of starting VMs sequentially but with some concurrency. The domain structure is created and unpaused, and the "xm create completes". While the next iteration of the loop is running "xm create" again, xen is busy scheduling and running any started domains, which each boot their OS.
Since the total elapsed time to start a large number of VMs in this way is significant, we looked for another way to start them. If we change the script to:
"for i in vmcfg* ; do xm create $i & done"
then many background tasks are spawned, each running "xm create", and this has an interesting effect. When we monitor with "xm top", we notice that all the domain structures are created and completed first, then xen begins scheduling the domains and they boot. This works well for 50 VMs.
However, when I try to start 100 VMs with this script, all the domain structures get created, but then all of them are dismantled and removed, and each one reports "Error: Device 0 (vif) could not be connected. Hotplug scripts not working".
I've verified that, in fact, networking is still working, because after all the VMs are destroyed, I can then start one or two without error.
Any idea what's breaking? Should I try changing the value of DEVICE_CREATE_TIMEOUT in tools/python/xen/xend/server/DevController.py? If so, what would I have to rebuild to use the changed file? Or is there some networking component that gets overloaded? I have no problem starting the 100 VMs sequentially.

brian carb
unisys corporation - malvern, pa

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] Starting many VMs concurrently causes vif connect errors, Carb, Brian A <=
Previous by Date: Re: [Xen-ia64-devel] Re: [Xen-devel] Xen 3.1.1 -- initial patchqueue , Alex Williamson
Next by Date: [Xen-devel] Xen Summit #5 : 14/16 Nov 2007 Santa Clara , Ian Pratt
Previous by Thread: [Xen-devel] Few things from Roadmap , Avadhoot Punde
Next by Thread: [Xen-devel] Xen Summit #5 : 14/16 Nov 2007 Santa Clara , Ian Pratt
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /