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: Sun, 15 Jul 2012 11:03:03 +0300 Message-ID: <50027937.60803@redhat.com> References: <4FFE8FEB.2020606@redhat.com> 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 08:32 PM, sheng qiu wrote: > thanks for your reply. > the value is very large. Can you provide samples? If it's large and fairly constant it means a timer keeps being pushed back by the interrupts/ > is there anyway that i can avoid such > frequent exits due to APIC_TMICT? do i need to modify some codes in > kvm kernel module or adapt some parameters? > No, a guest change is needed. You need to find out what timer is involved at modify it to set some slack, with hrtimer_set_expires_range() or similar. -- error compiling committee.c: too many arguments to function