From: Keir Fraser Subject: Re: Patch: implementing least priority interrupt routing Date: Tue, 18 Nov 2008 10:18:18 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Juergen Gross , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 18/11/08 10:10, "Keir Fraser" wrote: > Where idle means 'not processing an interrupt'. Which ought to be by far the > most common case even for a non-idle CPU. Does this really improve load > balancing all that much? Does BS2000 spend lots of time in IRQ context? > > My fear is that extra complexity here slows down dest_lowprio for all OSes > (and it's used by a lot of OSes) for every ExtInt delivered. That fear is probably unfounded actually, given we scan a vcpu's IRR bitmap on *every* vmentry currently. Still it would be nice to know the motivation behind this patch (beyond 'it's nice to behave like native hardware'). We might still find a cheaper method with similar or better benefit (e.g., check vcpu_runnable() to find idle VCPUs is cheaper and may be more accurate). -- Keir