From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932488AbWEIMsy (ORCPT ); Tue, 9 May 2006 08:48:54 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932499AbWEIMsx (ORCPT ); Tue, 9 May 2006 08:48:53 -0400 Received: from mta2.cl.cam.ac.uk ([128.232.0.14]:7567 "EHLO mta2.cl.cam.ac.uk") by vger.kernel.org with ESMTP id S932488AbWEIMsx (ORCPT ); Tue, 9 May 2006 08:48:53 -0400 Date: Tue, 9 May 2006 13:45:40 +0100 From: Christian Limpach To: Adrian Bunk Cc: Chris Wright , linux-kernel@vger.kernel.org, virtualization@lists.osdl.org, xen-devel@lists.xensource.com, Ian Pratt Subject: Re: [RFC PATCH 01/35] Add XEN config options and disable unsupported config options. Message-ID: <20060509124540.GB5407@cl.cam.ac.uk> References: <20060509084945.373541000@sous-sol.org> <20060509085145.790527000@sous-sol.org> <20060509100547.GL3570@stusta.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060509100547.GL3570@stusta.de> User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 09, 2006 at 12:05:47PM +0200, Adrian Bunk wrote: > On Tue, May 09, 2006 at 12:00:01AM -0700, Chris Wright wrote: > > --- linus-2.6.orig/kernel/Kconfig.hz > > +++ linus-2.6/kernel/Kconfig.hz > > @@ -3,7 +3,7 @@ > > # > > > > choice > > - prompt "Timer frequency" > > + prompt "Timer frequency" if !XEN > > default HZ_250 > > help > > Allows the configuration of the timer frequency. It is customary > > @@ -40,7 +40,7 @@ endchoice > > > > config HZ > > int > > - default 100 if HZ_100 > > + default 100 if HZ_100 || XEN > > default 250 if HZ_250 > > default 1000 if HZ_1000 > >... > > Why? Because the hypervisor sends timer interrupts to the guest at a rate of 100 Hz while the guest is running. We might add support to have an adjustable rate in the future but so far 100 Hz has worked quite well for us. christian