From: Ben-Ami Yassour Subject: Re: PCI passthrough with VT-d - native performance Date: Wed, 16 Jul 2008 19:13:16 +0300 Message-ID: <1216224796.31546.283.camel@cluwyn.haifa.ibm.com> References: <1216214225-18030-1-git-send-email-benami@il.ibm.com> <487E076D.4050306@qumranet.com> <1216221530.31546.274.camel@cluwyn.haifa.ibm.com> <487E125C.7020301@codemonkey.ws> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: Avi Kivity , amit.shah@qumranet.com, kvm@vger.kernel.org, Muli Ben-Yehuda , weidong.han@intel.com To: Anthony Liguori Return-path: Received: from mtagate5.uk.ibm.com ([195.212.29.138]:48162 "EHLO mtagate5.uk.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760069AbYGPQNm (ORCPT ); Wed, 16 Jul 2008 12:13:42 -0400 Received: from d06nrmr1407.portsmouth.uk.ibm.com (d06nrmr1407.portsmouth.uk.ibm.com [9.149.38.185]) by mtagate5.uk.ibm.com (8.13.8/8.13.8) with ESMTP id m6GGDIeT238956 for ; Wed, 16 Jul 2008 16:13:18 GMT Received: from d06av01.portsmouth.uk.ibm.com (d06av01.portsmouth.uk.ibm.com [9.149.37.212]) by d06nrmr1407.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v9.0) with ESMTP id m6GGDIYQ2068728 for ; Wed, 16 Jul 2008 17:13:18 +0100 Received: from d06av01.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av01.portsmouth.uk.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id m6GGDH7A009929 for ; Wed, 16 Jul 2008 17:13:18 +0100 In-Reply-To: <487E125C.7020301@codemonkey.ws> Sender: kvm-owner@vger.kernel.org List-ID: On Wed, 2008-07-16 at 10:23 -0500, Anthony Liguori wrote: > > What about virtio? didn't try it yet. > Also, which emulated is this? the default > > That CPU utilization is extremely high and somewhat illogical if native > w/vt-d has almost no CPU impact. Have you run oprofile yet or have any > insight into where CPU is being burnt? > > What does kvm_stat look like? I wonder if there are a large number of > PIO exits. What does the interrupt count look like on native vs. KVM > with VT-d? > > Regards, > > Anthony Liguori > These are all good points and questions, I agree that we need to take a deeper look into the performance issues, but I think that we need to merge with the main KVM tree first. Regards, Ben