From: Keir Fraser Subject: Re: Interrupt Affinity Question Date: Sat, 14 Apr 2007 07:48:01 +0100 Message-ID: References: <9fda5f510704132033o7e769048kfe01b006ed777ae3@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <9fda5f510704132033o7e769048kfe01b006ed777ae3@mail.gmail.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: Pradeep Vincent , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 14/4/07 04:33, "Pradeep Vincent" wrote: > If dom-0 vcpu to pcpu affinity is not set (dom0_vcpus_pin not set), > what happens when dom-0 vcpu migrates - is the processor affinity of > the irq channels changed by some means to reflect the migration or do > the hardware interrupts end up going to the old processor while the > pirq will be served by the dom-0 vcpu on a different processor ? This doesn't happen right now. What we may need to do is measure the cost of needing to forward the interrupt to the correct CPU, in the case that the VCPU is currently running on a different CPU, versus the cost of reprogramming an IOAPIC register. Also important is to know how rapidly the credit scheduler is moving VCPUs among CPUs, and hence the average number of interrupts between movements. -- Keir