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

[Xen-devel] Architectural question: How to put BTS and PEBS in Xen

To: xen devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Architectural question: How to put BTS and PEBS in Xen
From: Dietmar Hahn <dietmar.hahn@xxxxxxxxxxxxxx>
Date: Tue, 27 Sep 2011 11:51:42 +0200
Delivery-date: Tue, 27 Sep 2011 02:52:27 -0700
Dkim-signature: v=1; a=rsa-sha256; c=simple/simple; d=ts.fujitsu.com; i=dietmar.hahn@xxxxxxxxxxxxxx; q=dns/txt; s=s1536b; t=1317117104; x=1348653104; h=from:to:subject:date:mime-version: content-transfer-encoding:message-id; bh=/RPMuGIOvh24fdEz5uwIGL+nyO0Jz+K9mAh6sTPcaKU=; b=Boybj4BzxZ3k3TNV66TPAz4U4N2TaVEaXqFwTR43ix9ZnZvqZ7ippF0D GEw6yCTInLpf7xTEPeGzNPuWW0hBgGo9UaRmXWHGb+fRCGDYGujZx+tv/ EbUuDmSXDzjTqON+XoFzZ9QBjjJqKbWpL99Z8feGh7ukrKtb4VrCKr2EW M+y0MeDwTzPy8AXZedPUgJZU6wY5Lv6pfMpC9BLao3sUVkQnjsyLmyDaf Yf6IFiZkyCZtyrhNNieRcqao5/pcH;
Domainkey-signature: s=s1536a; d=ts.fujitsu.com; c=nofws; q=dns; h=X-SBRSScore:X-IronPort-AV:Received:X-IronPort-AV: Received:Received:From:To:Subject:Date:User-Agent: MIME-Version:Content-Type:Content-Transfer-Encoding: Message-Id; b=KIu1JBOr/mGvwYhqRYpjndAq2L37R8wQSGFN3sJOwjv78Ju93jzZMPoI OOI4wSfxZEHxxGmWDw3NGf3P4HmeAFtpNWv+UwITw1+beUPzYKIqpwJcF 3AxJuckiiKPgPR4bCb3W/8uafwaztEait22xpxFjP0SUkwJ9lst/WeACg z0F+YmRoSn7fC3hc1eE3kpf8HIXx6QdBO7NaKfxz8+S8Qp6aw4UmoO5J6 ZUPREcoUpXBMFUhUbh122Z0/PB5b2;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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
User-agent: KMail/1.13.6 (Linux/2.6.37.6-0.7-xen; KDE/4.6.0; x86_64; ; )
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.

Any advices would be welcome!

Thanks.
Dietmar.


-- 
Company details: http://ts.fujitsu.com/imprint.html

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

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