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] softtsc for PV guests

To: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>
Subject: Re: [Xen-devel] softtsc for PV guests
From: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Date: Fri, 21 Aug 2009 16:02:18 -0700
Cc: "Xen-Devel \(E-mail\)" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 21 Aug 2009 16:02:54 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <baf1d6fd-a41b-45e9-b00b-7df738c9f79d@default>
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>
References: <baf1d6fd-a41b-45e9-b00b-7df738c9f79d@default>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.1) Gecko/20090814 Fedora/3.0-2.6.b3.fc11 Lightning/1.0pre Thunderbird/3.0b3
On 08/21/09 15:17, Dan Magenheimer wrote:
> I'm starting to play with implementing softtsc for
> PV guests, but am not adequately familiar with the low
> level x86 instruction set or emulation code in Xen.
>
> The attached patch seems to work fine for awhile.
> Dom0 begins the boot process and the printk added
> to traps.c observes more than 256K TSC traps (mostly
> in the BogoMIPS calculation) and continues on loading
> drivers etc but eventually freezes after:
>   

The Xen clocksource uses rdtsc extensively for timing; emulating it
would be a bad idea.  I guess it would make some sense to emulate
usermode rdtsc, but it shouldn't affect kernel rdtscs.

> device-mapper: ioctl: 4.7.0-ioctl (2006-06-24) initialised: 
> dm-devel@xxxxxxxxxx
> kjournald starting.  Commit interval 5 seconds
> EXT3-fs: mounted filesystem with ordered data mode.
>
> Any ideas on what might be stopping the dom0 boot?
>   

How dead is the system?  Does it respond to sysrq-p?  'q' or '0' on the
Xen console?

    J

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

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