From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: lots of APIC_TMICT exit on VM with assigned NIC Date: Thu, 12 Jul 2012 11:50:51 +0300 Message-ID: <4FFE8FEB.2020606@redhat.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: kvm , linux-kernel@vger.kernel.org To: sheng qiu Return-path: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On 07/12/2012 02:54 AM, sheng qiu wrote: > Hi all, > > i saw lots of APIC_TMICT exits while running a linux guest with > assigned NIC. The APIC_TMICT exits is only a little fewer than the > number of injected interrupts while handling network traffic on the > assigned NIC. > The network traffic was generated by running netperf on another > machine targeted at the VM. > > Is this normal? if not, what kind of problem may cause it? I'm guessing the driver sets a timer on every interrupt. What is the value written? If it's large, perhaps we can set some slack on the timer so it's not re-set every time. -- error compiling committee.c: too many arguments to function