From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932788Ab2GLIu7 (ORCPT ); Thu, 12 Jul 2012 04:50:59 -0400 Received: from mx1.redhat.com ([209.132.183.28]:31059 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751166Ab2GLIu4 (ORCPT ); Thu, 12 Jul 2012 04:50:56 -0400 Message-ID: <4FFE8FEB.2020606@redhat.com> Date: Thu, 12 Jul 2012 11:50:51 +0300 From: Avi Kivity User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120605 Thunderbird/13.0 MIME-Version: 1.0 To: sheng qiu CC: kvm , linux-kernel@vger.kernel.org Subject: Re: lots of APIC_TMICT exit on VM with assigned NIC References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@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