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-users

Re: [Xen-users] Linux CONFIG_HZ_100=y or CONFIG_HZ_1000=y for Xen dom0/

To: Pasi Kärkkäinen <pasik@xxxxxx>
Subject: Re: [Xen-users] Linux CONFIG_HZ_100=y or CONFIG_HZ_1000=y for Xen dom0/domUs?
From: Martinx - ジェームズ <thiagocmartinsc@xxxxxxxxx>
Date: Thu, 18 Mar 2010 16:47:56 -0300
Cc: Xen List <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 18 Mar 2010 12:53:58 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type; bh=ym9qIwHCSFnH6E451KsDngwgVx24xgY6AAp6L+xEAbo=; b=bMrinoQrMWqT/vy9drXvJOnGHExUHZWmGJ6tbvKEOLK1KlmV8eF+l4qZK7s7MN/2Ft i5APdJFNJhhpxNLq6xCUfebTsusYjttE6Dn/YqUBvTFswxhg02ybic1twW4/OC3X8ten VhC2yiAPvEpHGin9tZ+7/4AniyrVdrhYaO/wY=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=jGuXPauCPyRXcZvn/gaFuuImW0BeuzYwzi2Dh/FQfgQq77i8NVKXPLQYK5wSr6HqB6 zxdCCpaoHfxUFLwzC5eS70wWZb++gyGtvCz5/0rWxU6jA41/AFLExcro9IKVMnCXoheV 5e4G1LiCC9FShLEZetAZkyO9S7ye42gqVd+9E=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100318192344.GS1878@xxxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <6b7f6eb1003171010v63d792fcj82ae6a6803df145d@xxxxxxxxxxxxxx> <20100318192344.GS1878@xxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Gotcha! But, the dom0 Linux should be 1000 or 100?

On 18 March 2010 16:23, Pasi Kärkkäinen <pasik@xxxxxx> wrote:
On Wed, Mar 17, 2010 at 02:10:11PM -0300, Martinx - ?$B%8%'!<%`%: wrote:
>    Hi!
>
>     The kernel shipped by Citrix for Debian via xen-tools are configured with
>    CONFIG_HZ_100=y, but the Debian kernels and my custom kernels are
>    configured for CONFIG_HZ_250=y or even CONFIG_HZ_1000=y.
>
>     So, what is the impact of this clock to a Xen system?
>
>     Which option is more suitable for Xen systems?
>

This is really common for all virtualized environments, so it also applies
to VMware etc.

Your _guest_ kernel should have HZ=100 rather than HZ=1000. HZ=100 will use
a lot less CPU time when the guest is idle.

-- Pasi


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>