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] asterisk, ztdummy, and usb (and HZ = 100 under xen ???)

To: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] asterisk, ztdummy, and usb (and HZ = 100 under xen ???)
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Fri, 20 May 2005 08:56:41 +0100
Cc: Xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 20 May 2005 07:52:29 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AEC6C66638C05B468B556EA548C1A77D7A0B7B@xxxxxxxxxxxxxxxxxxxxxxx>
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>
References: <AEC6C66638C05B468B556EA548C1A77D7A0B7B@xxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

On 20 May 2005, at 02:54, James Harper wrote:

The x86 arch sets the kernel internal timer to 1000HZ by default, but
xen seems to set it to 100HZ (2.4 default).

The ztdummy driver makes the assumption that under 2.6, HZ = 1000, but
this isn't the case under xen which is probably the cause of all my
problems.

Is there a problem with me changing this, or is there a dynamic way to
change this???

Having HZ differ between Xen and a guest doesn't really matter that much. The guest will get fewer upcalls than it expects, but it will count ten ticks for each upcall. So I doubt that thsi is your problem. Does ztdummy use the rtc driver? I'm not sure how weel we support that on Xen...

 -- Keir


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