WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Interrupt to CPU routing in HVM domains - again

To: John Levon <levon@xxxxxxxxxxxxxxxxx>, James Harper <james.harper@xxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Interrupt to CPU routing in HVM domains - again
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Fri, 05 Sep 2008 08:44:23 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, bart brooks <bart_brooks@xxxxxxxxxxx>
Delivery-date: Fri, 05 Sep 2008 00:44:52 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20080905012108.GA28253@xxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AckPKzaNdPYS+XseEd2xxwAWy6hiGQ==
Thread-topic: [Xen-devel] Interrupt to CPU routing in HVM domains - again
User-agent: Microsoft-Entourage/11.4.0.080122
On 5/9/08 02:21, "John Levon" <levon@xxxxxxxxxxxxxxxxx> wrote:

>> Have I understood correctly that only cpu 0 of the vcpu_info[] array is
>> ever used even if the interrupt actually occurs on another vcpu? Is this
>> true for all versions of Xen? It seems that Bart's experience is exactly
>> the opposite of mine - the change that fixed up the performance issues
>> for me caused performance issues for him...
> 
> I was just in this code. From what I can tell it's a requirement that
> all the domU's event channels be bound to VCPU0, since there's no code
> in Xen itself that will redirect evtchn_pending_sel from another VCPU to
> CPU0's vcpu_info, and the callback IRQ code assumes VCPU0.

Yes, this is very likely the problem being observed.

 -- Keir



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel