From: "Jan Beulich" Subject: Re: [timer/ticks related] dom0 hang during boot on large 1TB system Date: Tue, 22 Dec 2009 11:10:09 +0000 Message-ID: <4B30B721020000780002726C@vpn.id2.novell.com> References: <4B30969302000078000271E3@vpn.id2.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: 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: Keir Fraser , Dan Magenheimer , "mukesh.rathor@oracle.com" Cc: "kurt.hackel@oracle.com" , Jeremy Fitzhardinge , "Xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org >>> Keir Fraser 22.12.09 11:20 >>> >On 22/12/2009 08:51, "Jan Beulich" wrote: > >>> Then scrub_heap_pages() occurs which eats up a lot of time. >>=20 >> ... and confuses Xen's own time keeping (because, depending on >> the platform timer used and it's wrap-around interval, a wrap may >> be missed if process_pending_timers() isn't being executed >> frequently enough. > >Process_pending_timers() has been called on every iteration of the scrub >loop for as long as I can remember. I believe it was even you who added = it. Should I have overlooked it? Indeed, I did (I looked at the end of the loop, while it's sitting at the beginning). I'm really sorry for the noise then. Nevertheless I remain convinced that the problem ought not to be fixed by a kernel change (and even less by one that modifies Xen-unspecific code). Any patch to this effect, unless I should be convinced otherwise, has my explicit up front NAK (in case this counts anything). And then it should be possible to simulate the problem quite easily on a system with much less memory, by slowing down the scrub loop artificially. If I find time before the holiday break I'll try to do that = and see if I can convince myself otherwise (as per above). artificially Jan