From: "Jan Beulich" Subject: Re: [timer/ticks related] dom0 hang during boot on large 1TB system Date: Mon, 21 Dec 2009 09:55:30 +0000 Message-ID: <4B2F54220200007800026F02@vpn.id2.novell.com> References: <20091217203636.76a10aea@mantra.us.oracle.com> <20091218204318.180e58f3@mantra.us.oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20091218204318.180e58f3@mantra.us.oracle.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Mukesh Rathor Cc: jeremy@goop.org, "Xen-devel@lists.xensource.com" , Hackel , Dan Magenheimer , Keir Fraser , Kurt@oracle.com List-Id: xen-devel@lists.xenproject.org >>> Mukesh Rathor 19.12.09 05:43 >>> >if first ever timer interrupt comes after start_jiffies is set, dom0 = boot=20 >may hang if delta in timer_interrupt() is so huge that it causes = jiffies=20 >to wrap. It appears delta is very large when memory is more than 512GB on >certain boxes causing wrap around. > >why is delta in dom0->timer_interrupt() related to memory on system?=20 >Because hyp creates dom0, then page scrubs, then unpauses vcpu. so it >appears lot of page scurbbing results in huge delta on first tick. Based on prior analysis of similar problems, I'm not convinced this is the right solution: Kernel code should not need changing here. Instead, I'd recommend trying to insert a call to process_pending_timers() every so many pages scrubbed (just like is e.g. being done in the P2M/M2P table population code). Jan