From: Dan Magenheimer Subject: RE: pv_ops (2.6.31) and CONFIG_NO_HZ Date: Mon, 2 Nov 2009 14:29:23 -0800 (PST) Message-ID: <6c9241c6-23c6-4471-b6cb-35754116a8a8@default> References: Mime-Version: 1.0 Content-Type: text/plain; charset=Windows-1252 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser , "Xen-Devel (E-mail)" Cc: Jeremy Fitzhardinge List-Id: xen-devel@lists.xenproject.org > Periodic ticks are disabled for non-running PV guests, so I=20 > don't think > no-hz has as much potential win as you might think. In this case, I was mostly interested in HV guests, but happened to have a 2.6.31 build in a handy PV guest so thought I would give it a try. But as long as we are on the PV topic: Does this mean that a PV guest that is idle will never get scheduled due to needing to process a tick? I do see that an idle PV domain is doing about 250 kernel rdtsc/second, so is this just because the Xen scheduler has nothing better to do with a pcpu so it schedules an "idle" vcpu on it? > On 02/11/2009 21:45, "Dan Magenheimer"=20 > wrote: >=20 > > Has anyone looked at using CONFIG_NO_HZ with an upstream > > pv_ops kernel? This seems like an intelligent combination... > > since pvclock is a good timesource, it seems like there > > should be no reason to have a regular tick, and one > > could pack more idle domains into one physical machine. > >=20 > > I tried enabling CONFIG_NO_HZ from an otherwise working .config > > file for 2.6.31 and the new kernel (running as a PV domU)=20 > panics early > > in boot ("Kernel panic -- not syncing: Attempted to kill init!" > > with a call trace of syscall_call->sys_exit_group->do_group_exit-> > > do_exit->panic). So I'm wondering if I did something stupid > > or it is known to not work. > >=20 > > Thanks, > > Dan > >=20 > >=20 > > _______________________________________________ > > Xen-devel mailing list > > Xen-devel@lists.xensource.com > > http://lists.xensource.com/xen-devel >=20 >=20 >