From: Ben-Ami Yassour Subject: PCI passthrough with VT-d - native performance Date: Wed, 16 Jul 2008 16:16:57 +0300 Message-ID: <1216214225-18030-1-git-send-email-benami@il.ibm.com> Cc: kvm@vger.kernel.org, muli@il.ibm.com, benami@il.ibm.com, weidong.han@intel.com, anthony@codemonkey.ws To: amit.shah@qumranet.com Return-path: Received: from mtagate4.uk.ibm.com ([195.212.29.137]:47197 "EHLO mtagate4.uk.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755310AbYGPNRJ (ORCPT ); Wed, 16 Jul 2008 09:17:09 -0400 Received: from d06nrmr1407.portsmouth.uk.ibm.com (d06nrmr1407.portsmouth.uk.ibm.com [9.149.38.185]) by mtagate4.uk.ibm.com (8.13.8/8.13.8) with ESMTP id m6GDH8Os272700 for ; Wed, 16 Jul 2008 13:17:08 GMT Received: from d06av02.portsmouth.uk.ibm.com (d06av02.portsmouth.uk.ibm.com [9.149.37.228]) by d06nrmr1407.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v9.0) with ESMTP id m6GDH7pA2764874 for ; Wed, 16 Jul 2008 14:17:07 +0100 Received: from d06av02.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av02.portsmouth.uk.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id m6GDH768011066 for ; Wed, 16 Jul 2008 14:17:07 +0100 Sender: kvm-owner@vger.kernel.org List-ID: In last few tests that we made with PCI-passthrough and VT-d using iperf, we were able to get the same throughput as on native OS with a 1G NIC (with higher CPU utilization). The following patches are the PCI-passthrough patches that Amit sent (re-based on the last kvm tree), followed by a few improvements and the VT-d extension. I am also sending the userspace patches: the patch that Amit sent for PCI passthrough and the direct-mmio extension for userspace (note that without the direct mmio extension we get less then half the throughput). Comments are welcome. Regards, Ben