From: Keir Fraser Subject: Re: [timer/ticks related] dom0 hang during boot on large 1TB system Date: Fri, 18 Dec 2009 09:13:32 +0000 Message-ID: References: <4B2B4E750200007800026975@vpn.id2.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4B2B4E750200007800026975@vpn.id2.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jan Beulich Cc: Kurt Hackel , Dan Magenheimer , "Xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On 18/12/2009 08:42, "Jan Beulich" wrote: >> This isn't really Xen time code, but unchanged Linux time code. I don't know >> which tree you quoted the code from -- 2.6.18 has similar but not identical. >> Anyway, I suggest try using the jiffy-comparison macros from >> : time_before(), time_after(), etc. These are designed to >> work even when jiffies wraps. Feel free to send patch(es) for that, if you >> test that out and it works okay. > > But regardless of that - shouldn't the page scrubbing really be a > background operation these days, and as such be (relatively) > performance neutral to the booting of Dom0? We synchronously scrub free memory before starting dom0, and then subsequently scrub memory only for dying domains. So I don't know what scrubbing would be going on during dom0's boot-time calibrations, on any version of Xen, actually. -- Keir