From: Keir Fraser Subject: Re: million cycle interrupt Date: Mon, 13 Apr 2009 09:23:58 +0100 Message-ID: References: <375df7d6-65de-4c89-94cb-6f740dd8b0dd@default> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <375df7d6-65de-4c89-94cb-6f740dd8b0dd@default> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Dan Magenheimer , "Xen-Devel (E-mail)" List-Id: xen-devel@lists.xenproject.org On 12/04/2009 21:16, "Dan Magenheimer" wrote: > Is a million cycles in an interrupt handler bad? Any idea what > might be consuming this? The evidence might imply more cpus > means longer interrupt, which bodes poorly for larger machines. > I tried disabling the timer rendezvous code (not positive I > was successful), but still got large measurements, and > eventually the machine froze up (but not before I observed > the stime skew climbing quickly to the millisecond-plus > range). You can instrument irq_enter() and irq_exit() to read TSC and find out the distribution of irq handling times for interruptions that Xen knows about. Otherwise who knows, it could even be system management mode on that particular box. -- Keir