From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751878Ab2GOIDW (ORCPT ); Sun, 15 Jul 2012 04:03:22 -0400 Received: from mx1.redhat.com ([209.132.183.28]:44269 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751588Ab2GOIDK (ORCPT ); Sun, 15 Jul 2012 04:03:10 -0400 Message-ID: <50027937.60803@redhat.com> Date: Sun, 15 Jul 2012 11:03:03 +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: <4FFE8FEB.2020606@redhat.com> 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 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