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 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Xend crashes, how to debug?

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] Xend crashes, how to debug?
From: Dennis Krul <dweazle@xxxxxxxxx>
Date: Tue, 1 Dec 2009 16:27:20 +0100
Delivery-date: Tue, 01 Dec 2009 07:27:47 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=MsDdw88f6Qmu5iPAD5UAAAkmPePD58Z3RX4avMh4uC0=; b=OxAeMjpu7DaywJD6xQsZdZkCRGpXNiIGoq0raT7rlbZRbG6c8KH7oSeNlqaw0bR50n d4CXQL1Kz2vqX7loctv0lxiRZrQNP8oXDsnJlt5Yc2opNvYdh3NfntQEHcYqeobDxS8V XR3d6DZxGYK11R6VaFI0aagEJMYnk+mpB10N8=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=thD/1d2j6IqGQ+F1+WTbMyYsvgf3JnbsrYxGZLYyY8+iJ84s7DaL8MloClsSIPRhy/ Ea2+YjkIN2jIrhtXE+355MuBRZy8cW260M8MINUzIPKrspvV/H8s/r0ADbgLoZEdaxqZ JHApg/DVii75zHRa3twKtLq957r7jnBTOjiFU=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <81A73678E76EA642801C8F2E4823AD2143B80E2A6E@xxxxxxxxxxxxxxxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <c6973d950911300651i3c2253c0o1a5ac44c1e2cb072@xxxxxxxxxxxxxx> <f4527be0911300732s60fa2963oae338238124fd834@xxxxxxxxxxxxxx> <20091130201750.GQ16033@xxxxxxxxxxx> <81A73678E76EA642801C8F2E4823AD2143B80E2A6E@xxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Mon, Nov 30, 2009 at 10:02 PM, Dave Scott <Dave.Scott@xxxxxxxxxxxxx> wrote:

The observation that speeding up xenstore reduces the frequency of crashes is interesting. Perhaps the failure happens when a concurrent transaction causes an abort? Maybe you could provoke it by running 'xm create' in a loop while also writing somewhere in xenstore? IIRC (although I could be mistaken) the standard C xenstore considers all concurrent transactions to be conflicting even if they operate on disjoint parts of the tree so provoking an abort would be easy.

Hey Dave,

Thanks for responding! This actually sounds quite plausible.
 
Caveats:
1. We don't have an 'xm'... instead there's a CLI called 'xe' which can do almost everything the API can do but the syntax is different to 'xm'. You'd either have to port your scripts ('xe vm-start' rather than 'xm create'?) or write some kind of wrapper.

That shouldn't be too difficult :) 

The reason we rewrote xenstored was because we used xenstore to report periodic guest performance stats to dom0. By doing this we accidentally created a horrible scalability bottleneck where, somewhere around 30 or 40 guests, every transaction aborted and the system livelocked. The new xenstored is smart enough to realize that these separate transactions are not conflicting and can be committed together.

We also have a couple of scripts that periodically collect statistics from the xenstore. We haven't seen any livelocks, but perhaps the xend crashes are caused by the same limitation. The xend crashes don't seem to happen until we actually have some (20+?) domU's running.

I'd like to try to get the ocaml toolchain (xend/xenstore/xe) working with the community version of the hypervisor (preferably 3.3.2) and our custom dom0 kernel. Do you think I have any chance of succeeding? Or are they really incompatible and need heavy patching to make it work? (In the latter case I'll just try the XenServer stack instead.)

Final question. There also seems to be an opensource version of XenServer published on the citrix site here:
http://www.citrix.com/lang/English/lp/lp_1688623.asp

Are those the same iso's as the ones on the xen site? (at http://www.xen.org/products/cloud_source.html)

Thanks again!

-- Dennis Krul <dweazle@xxxxxxxxx>
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>