From: "Jan Beulich" Subject: Re: performace issue when turn on apicv Date: Thu, 18 Jun 2015 10:35:37 +0100 Message-ID: <5582AD090200007800086884@mail.emea.novell.com> References: <5579378E.9020108@huawei.com> <55794247.1010100@huawei.com> <55827B07.4000304@huawei.com> <55829B770200007800086752@mail.emea.novell.com> <5582A2D60200007800086794@mail.emea.novell.com> <5582A85C02000078000867F2@mail.emea.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Yang Z Zhang Cc: "Liuqiming (John)" , "xen-devel@lists.xensource.com" , "peter.huangpeng@huawei.com" List-Id: xen-devel@lists.xenproject.org >>> On 18.06.15 at 11:18, wrote: > Jan Beulich wrote on 2015-06-18: >>>>> On 18.06.15 at 10:53, wrote: >>> Jan Beulich wrote on 2015-06-18: >>>>>>> On 18.06.15 at 10:20, wrote: >>>>> Apart from that I notice that the EXIT_REASON_EOI_INDUCED handling >>>>> also adds about the same number of ticks... >>>> >>>> Are there any other devices in the guest causing meaningful amounts >>>> of interrupts (I suppose the SSD itself is using just one)? I ask >>>> since I wonder whether e.g. there may be lock contention in >> vioapic_update_EOI(). >>> >>> The EXIT_REASON_EOI_INDUCED is for local apic time. >> >> ??? (I.e. I don't see the connection between the context and your reply. >> Perhaps I'm missing something obvious...) > > I mean the lots of EXIT_REASON_EOI_INDUCEDis for local apic time which is > edge-trigger. So it will not call vioapic_update_EOI. Okay, this then suggests the problem being hvm_dpci_msi_eoi(), albeit looking at it I can't immediately see why it would take long. Jan