[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • To: Pasi Kärkkäinen <pasik@xxxxxx>
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.