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] Problem correlating TSC read from domU with Xentrace's TSC

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Problem correlating TSC read from domU with Xentrace's TSC
From: Thawan Kooburat <kthawan@xxxxxxxxx>
Date: Wed, 16 Nov 2011 15:07:53 -0600
Delivery-date: Wed, 16 Nov 2011 13:08:44 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=V9EHZfZUwzvcIcOOX3V9Fa7CW6jVV+9zEwldR8GDcxg=; b=ktqSWvOAGZGhcRtQLi6HrYZokkujM+EZYPgR6VxZITrMd8S4LNFlTkwRCRzFmkc3vF BnOGDKoVEJWjgH/IoO9flee5mAyAT7HJnKD7hdLdoX9VvJ+fmdpE4lMx3mAe4j8jrml2 FrpFyJFzr+UQmRLb1TkMr5tmvRuYBLcgEZ32U=
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
Hi,

I am trying to correlating performance issue in guest VM with the
scheduling trace from Xentrace. User-mode application in guest VM
periodically dump APIC ID and RDTSC into trace. I also start Xentrace
in Dom0 during the same period.

However, I notice that range of TSC values report both trace is
completely disjointed. TSC values from Xentrace is always greater than
what  guest VM see, even if I start capturing Xen's trace 30s before
capturing trace in guest VM.

I understand that Xen don't emulate rdtsc() for PV guest and Xentrace
also read rdtsc() during __insert_record(). However, I don't
understand what cause my issue.  Any suggestion?   I am using Xen
4.1.1 on Fedora 15


-- 
Thawan Kooburat

Graduate Student
Department of Computer Science
UW-Madison

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

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