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] HZ=1000 with Xen?

To: "Diwaker Gupta" <diwakergupta@xxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] HZ=1000 with Xen?
From: "Neugebauer, Rolf" <rolf.neugebauer@xxxxxxxxx>
Date: Fri, 11 Mar 2005 00:30:48 -0000
Delivery-date: Fri, 11 Mar 2005 00:31:31 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
Thread-index: AcUlp2CEs1X1pg3LS5WQEOkREaZIegAKMJpw
Thread-topic: [Xen-devel] HZ=1000 with Xen?
Xen is run with HZ=100 but this should only be used for time keeping.
Most of the timer functions are actually hung off a reprogrammed APIC
timer. For guests we ideally want them to tell xen their next timeout
value (which they should know) and then we'd program a timeout value for
them . IIRC a guest gets periodic timer interrupts when it actually has
the CPU and we fake out he missed ticks when scheduling a VM. 

As the Linux/370 people have pointed out a while ago (a few years)
sending a periodic timer to quiescent VMs is not scalable as the system
will spent an awful lot of time just processing pointless timer
interrupts for these VMs. 

For xenLinux 2.4 we therefore used the IBM patch (to the timer code) to
program the APIC timer (via Xen). I don't remember what the current 2.6
story is. I believe there is an effort to push these patches in main
stream Linux.

With all this in mind, why would you want to increase the HZ value?

Thanks
rolf

> -----Original Message-----
> From: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx [mailto:xen-devel-
> admin@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of Diwaker Gupta
> Sent: 10 March 2005 19:25
> To: xen-devel@xxxxxxxxxxxxxxxxxxxxx
> Subject: [Xen-devel] HZ=1000 with Xen?
> 
> AFAIK, right now both the Xen hypervisor and the guests run with a HZ
> value of 100. Is there any fundamental problem running them at 1000
> instead? (well I am trying it now, so I'll know if it even runs at
> all, but I just wanted to know if there were any deeper issues)
> 
> --
> Diwaker Gupta
> http://resolute.ucsd.edu/diwaker
> 
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real
users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/xen-devel


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

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