From: Keir Fraser Subject: Re: state dumps on large machines corrupting time Date: Wed, 17 Feb 2010 13:51:00 +0000 Message-ID: References: <4B7BF76A020000780002FDB1@vpn.id2.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4B7BF76A020000780002FDB1@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: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org Perhaps provide such alternative tasklet-based implementations on different keys? Or shift the current unsafe ones to different keys to use as fallback? There is no alternative as the problem is dumping in IRQ context in log_everything context. Either we have to dump outside hardirq context or not log everything. I assume the former is preferable, especially if the old method is also kept as a fallback when the machine is really hosed. -- Keir On 17/02/2010 13:04, "Jan Beulich" wrote: > Keir, > > since state dumps (namely 'd' and '0') may take rather long on large > machines, time handling can get broken (we observed this in reality > on a system with 96 CPUs). Do you see any alternative to converting > the respective dumping routines to use continuation tasklets (e.g. > for 'd' dump the local CPU's state right away, but process all other > CPUs step by step from a tasklet action)? For non-IRQ-callback > keys this would generally seem reasonable (as their handlers get > invoked from a tasklet anyway), but for IRQ-callback ones this > bears the uncertainty that not all information might make it out of > the system. > > Jan >