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


[Xen-devel] RE: [PATCH] Xenoprof passive domain support

To: "Santos, Jose Renato G" <joserenato.santos@xxxxxx>
Subject: [Xen-devel] RE: [PATCH] Xenoprof passive domain support
From: "Yang, Xiaowei" <xiaowei.yang@xxxxxxxxx>
Date: Fri, 28 Apr 2006 17:09:08 +0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 28 Apr 2006 02:10:34 -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: AcZqmZRc5gf3TmvrQzOeq5R5ZWQN8QACViVA
Thread-topic: [PATCH] Xenoprof passive domain support
Resent the patch due to cset 9866 change (Rename *GUEST_HANDLE to 

>-----Original Message-----
>From: Yang, Xiaowei
>Sent: 2006年4月28日 15:59
>To: 'Santos, Jose Renato G'
>Cc: 'xen-devel@xxxxxxxxxxxxxxxxxxx'
>Subject: [PATCH] Xenoprof passive domain support
>Hi Renato,
>This patch is to add Xenoprof passive domain support in SMP environment.
>- It allocates per vcpu buffers for passive domain and maps them into primary
>domain's space.
>- When primary domain gets sampled and triggers virq, its kernel module will
>handle passive domain' samples besides its owns. There is potential buffer
>overflow if passive is very busy while primary is idle. The simple workaround
>is to allocate a rather big buffer for passive. For now it works fine. A better
>way is to notify primary when passive buffer exceeds the threshold.
>- When oprofile gets passive domain samples, it splits them in to 3 parts by
>PC ranges pre-definition: xen/kernel/application and maps the first two into
>functions. The oprofile version is a little old, for the patch was made last
>The main usage is to use Xenoprof to profile HVM domain as passive domain, 
>provides enough information for low level performance tuning while no change
>in HVM is needed.

Attachment: xenoprof.patch
Description: xenoprof.patch

Xen-devel mailing list
<Prev in Thread] Current Thread [Next in Thread>