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] Architectural question: How to put BTS and PEBS in Xen

To: Dietmar Hahn <dietmar.hahn@xxxxxxxxxxxxxx>, xen devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Architectural question: How to put BTS and PEBS in Xen
From: Keir Fraser <keir.xen@xxxxxxxxx>
Date: Tue, 27 Sep 2011 06:24:51 -0700
Cc:
Delivery-date: Tue, 27 Sep 2011 06:26:09 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=user-agent:date:subject:from:to:message-id:thread-topic :thread-index:in-reply-to:mime-version:content-type :content-transfer-encoding; bh=hwTF/MqN54bYkOHo8RUIGIH4Q92v2VGrdaOAzmiDCf8=; b=WqVHohteF8bZvxUw89SsC1rJjIpmAbJwlRkgNWzmGRKWq9JRBozKEXyQ5DbmWHtPZh 9Zy+jRRmCiwAsfi3x4XgaHT+ZyarLUXEnC2TqhbkbleQ1lqGlQ890RQwPnk92JSF3dls lQB/gfsziUHo/Hr6bsLeNkg4lhstktMUDGo/U=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <201109271151.42552.dietmar.hahn@xxxxxxxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acx9GNYBbSsTr9mcy02qie0GKp1IEw==
Thread-topic: [Xen-devel] Architectural question: How to put BTS and PEBS in Xen
User-agent: Microsoft-Entourage/12.30.0.110427
On 27/09/2011 02:51, "Dietmar Hahn" <dietmar.hahn@xxxxxxxxxxxxxx> wrote:

> Hi list,
> 
> I'm on the way to coding the virtualisation of BTS (Branch Trace Store) and
> later PEBS support for Intel CPU's in Xen.
> 
> As some aspects overlap with the PMU (Performance Management Unit) I used the
> existing infrastructure of the VPMU stuff to do some coding and tests.
> But currently this infrastructure is only switched on with a 'vpmu' boot flag
> in the  hypervisor.
> As reminder this flag was introduced because of an inexplicable behaviour of
> the Nehalem CPUs while using the performance counters which could lead to an
> endless interrupt loop (see check_pmc_quirk()).
> 
> As currently no one else than we seem to use/need this feature for simplicity
> I would move the BTS code complete to the VPMU environment and therfore it
> would only be usable when using the 'vpmu' flag on boot.

It sounds quite sensible to me.

 -- Keir

> Any advices would be welcome!
> 
> Thanks.
> Dietmar.
> 



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

<Prev in Thread] Current Thread [Next in Thread>