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] [Patch] support of lock profiling in Xen

To: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [Patch] support of lock profiling in Xen
From: Juergen Gross <juergen.gross@xxxxxxxxxxxxxx>
Date: Thu, 08 Oct 2009 10:38:46 +0200
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 08 Oct 2009 01:39:15 -0700
Dkim-signature: v=1; a=rsa-sha256; c=simple/simple; d=ts.fujitsu.com; i=juergen.gross@xxxxxxxxxxxxxx; q=dns/txt; s=s1536b; t=1254991191; x=1286527191; h=from:sender:reply-to:subject:date:message-id:to:cc: mime-version:content-transfer-encoding:content-id: content-description:resent-date:resent-from:resent-sender: resent-to:resent-cc:resent-message-id:in-reply-to: references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:list-owner:list-archive; z=From:=20Juergen=20Gross=20<juergen.gross@xxxxxxxxxxxxxx> |Subject:=20Re:=20[Xen-devel]=20[Patch]=20support=20of=20 lock=20profiling=20in=20Xen|Date:=20Thu,=2008=20Oct=20200 9=2010:38:46=20+0200|Message-ID:=20<4ACDA516.6030800@xxxx ujitsu.com>|To:=20Keir=20Fraser=20<keir.fraser@xxxxxxxxxx com>|CC:=20"xen-devel@xxxxxxxxxxxxxxxxxxx"=20<xen-devel@l ists.xensource.com>|MIME-Version:=201.0 |Content-Transfer-Encoding:=207bit|In-Reply-To:=20<C6F35F 94.16D90%keir.fraser@xxxxxxxxxxxxx>|References:=20<C6F35F 94.16D90%keir.fraser@xxxxxxxxxxxxx>; bh=dSY16UkgmtSZtmveMsaUUPdQjYb6ECMHs4SyYOq7n18=; b=HC9SRT59EQ7TKmGzLvoTrs37LCoP3r/8I3pk6f5XFMElB/NxDHlzCpnK aLKl5BduXzk4D3pkZiY4X9rJhFQ22miXTROc+8EuCRHS7ThDT/FX51y6J tatk3voPPSwmqBuxOTzdDaeQ2VhfKE5sRmBm8i/2gh7sF/19ufN3YuLs7 Mh+PlXmMOldL10GI6hRvhXNN6kainBrfffAOWZVAdw42M51PLiJrW/EC4 tjOrI0HRzqhCBzFYFJl9L/9M2VKa2;
Domainkey-signature: s=s1536a; d=ts.fujitsu.com; c=nofws; q=dns; h=X-SBRSScore:X-IronPort-AV:Received:X-IronPort-AV: Received:Received:Message-ID:Date:From:Organization: User-Agent:MIME-Version:To:CC:Subject:References: In-Reply-To:X-Enigmail-Version:Content-Type: Content-Transfer-Encoding; b=AfPf0y8v7s83PlrnfYHc81Z736HyfN3uIxpNBIrhjAI/uTdsq/22CzVx R7HxNxpXLgxVs5wC3MNSiw76QcIEUSD4rB0NR6wDreQP8QEk0J7xOeu33 kdBEhjYMu7OFzh5DF26s+BhC4hWxqdPHXviwf4uYftMq+wmtqV25dpaXz m0G/WHhiMtlHsDLzYXpmfgi4D5gUwNVA2hzPUkRq0FzucxME1/J2Dch5+ p9cwJcPqjbcppu34QznwgTiB4AWIU;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C6F35F94.16D90%keir.fraser@xxxxxxxxxxxxx>
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>
Organization: Fujitsu Technology Solutions
References: <C6F35F94.16D90%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090707)
Keir Fraser wrote:
> On 08/10/2009 08:48, "Juergen Gross" <juergen.gross@xxxxxxxxxxxxxx> wrote:
> 
>> Comments welcome :-)
> 
> There's also the question of whether this really gets you useful extra info
> than can be digested from a xentrace run. I suppose at least the info is
> easier to understand, and not many people know how to drive xentrace.

It helped me a lot for narrowing down my performance problem with a 8 vcpu
BS2000 system (this was the main reason I made the patch).
Finding such a problem in xentrace is quite a bit of work. xentrace produced
over 500 MB of data in 30 seconds, while reading the xenlockprof output
revealed the bottleneck in seconds.

And I think the lock profiling tool is much better for evaluating
optimizations in Xen regarding lock conflicts, if the differences are only
a few percent.


Juergen

-- 
Juergen Gross                 Principal Developer Operating Systems
TSP ES&S SWE OS6                       Telephone: +49 (0) 89 636 47950
Fujitsu Technolgy Solutions               e-mail: juergen.gross@xxxxxxxxxxxxxx
Otto-Hahn-Ring 6                        Internet: ts.fujitsu.com
D-81739 Muenchen                 Company details: ts.fujitsu.com/imprint.html

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel