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 delivery to VCPU

To: "Agarwal, Lomesh" <lomesh.agarwal@xxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] interrupt delivery to VCPU
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Fri, 19 Oct 2007 21:49:06 +0100
Delivery-date: Fri, 19 Oct 2007 13:50:28 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <A3258B497F1C1441AD36A2E8B45FD628D745C5@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcgSi+tzKdwUE35/EdymXwAX8io7RQAA9fSAAAAxY7QAAA8zsAAALeXn
Thread-topic: [Xen-devel] interrupt delivery to VCPU
User-agent: Microsoft-Entourage/11.3.6.070618
I don't know about the VT-d support. I doubt that's been optimised so much.
I only know about physical IRQ delivery to PV guests. For Linux, a daemon
(irqbalanced) usually periodically rebalances irqs by writing affinity info
to /proc/irq/#/affinity.

 -- Keir


On 19/10/07 21:45, "Agarwal, Lomesh" <lomesh.agarwal@xxxxxxxxx> wrote:

> What happens for windows HVM guest?
> Also for PV Linux guest do you know how does Linux setup irq affinity?
> 
> -----Original Message-----
> From: Keir Fraser [mailto:Keir.Fraser@xxxxxxxxxxxx]
> Sent: Friday, October 19, 2007 1:42 PM
> To: Agarwal, Lomesh; xen-devel@xxxxxxxxxxxxxxxxxxx
> Subject: Re: [Xen-devel] interrupt delivery to VCPU
> 
> The guest can choose which VCPU gets any particular interrupt. This is
> tied
> into Linux's normal irq affinity logic, for example.
> 
>  -- Keir
> 
> On 19/10/07 21:39, "Agarwal, Lomesh" <lomesh.agarwal@xxxxxxxxx> wrote:
> 
>> How does Xen deliver an interrupt to VCPU? If there are 2 VCPUs for a
>> guest and there is no interrupt affinity set which VCPU will get the
>> interrupt? is it round robin?
>> 
>> _______________________________________________
>> Xen-devel mailing list
>> Xen-devel@xxxxxxxxxxxxxxxxxxx
>> http://lists.xensource.com/xen-devel



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