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

xen-users

[Top] [All Lists]

RE: [Xen-users] How to raise HZ to 1000 properly?

To: "David Muench" <davemuench@xxxxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] How to raise HZ to 1000 properly?
From: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
Date: 2005年11月23日 10:12:43 -0000
Cc: ian.pratt@xxxxxxxxxxxx
Delivery-date: 2005年11月23日 10:12:51 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcXv1eLP/j/VHqXDTXCWaHmGHAdA4AAQHqlA
Thread-topic: [Xen-users] How to raise HZ to 1000 properly?
> I've been redoing my Asterisk domU, and decided to do it 
> correctly this time. This time I'm using zaptel and ztdummy, 
> and that requires HZ to be set to 1000. I've managed to do 
> this, and Asterisk works great with ztdummy, but I don't 
> think I did it correctly. I've changed 
> include/asm-xen/asm/param.h thusly:
>
> #ifdef __KERNEL__
> # define HZ 1000 /* Internal kernel 
> timer frequency */
> # define USER_HZ 1000 /* .. some user interfaces are
> in "ticks" */
> # define CLOCKS_PER_SEC (USER_HZ) /* like times() */
> #endif
>
> #ifndef HZ
> #define HZ 1000
> #endif
>
> And like I said, it works. But my bogomips are now 25100.28, 
> whereas my other domU's are more like 2300-2400.
>
> What's the right way to do this?
To get the acuracy you need you'll need to adjust the parameter in
xen/include/asm-x86/config.h too
Ian
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: Re: [Xen-users] howto needed - intalling fedora domU on . , Ian P. Christian
Next by Date: Re: [Xen-users] RE: Tutorial : Debian, Xen and CLUSTER / GFS Support , Michael Mey
Previous by Thread: [Xen-users] How to raise HZ to 1000 properly? , David Muench
Next by Thread: Re: [Xen-users] How to raise HZ to 1000 properly? , David Muench
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /