From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 354BC30E for ; Fri, 7 Mar 2014 10:25:55 +0100 (CET) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP; 07 Mar 2014 01:27:22 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.97,606,1389772800"; d="scan'208";a="487813943" Received: from irsmsx103.ger.corp.intel.com ([163.33.3.157]) by fmsmga001.fm.intel.com with ESMTP; 07 Mar 2014 01:27:22 -0800 Received: from irsmsx153.ger.corp.intel.com (163.33.192.75) by IRSMSX103.ger.corp.intel.com (163.33.3.157) with Microsoft SMTP Server (TLS) id 14.3.123.3; Fri, 7 Mar 2014 09:27:21 +0000 Received: from irsmsx103.ger.corp.intel.com ([169.254.3.84]) by IRSMSX153.ger.corp.intel.com ([169.254.9.61]) with mapi id 14.03.0123.003; Fri, 7 Mar 2014 09:27:21 +0000 From: "Richardson, Bruce" To: Surya Nimmagadda , "dev@dpdk.org" Thread-Topic: [dpdk-dev] Very low performance with l2fwd in a VM with PCI Passthrough Thread-Index: AQHPObJ3TFpZLMYrpUe/IVsRDi5a4JrVWY0A Date: Fri, 7 Mar 2014 09:27:19 +0000 Message-ID: <59AF69C657FD0841A61C55336867B5B01A9A2F1B@IRSMSX103.ger.corp.intel.com> References: <059A249A-F4A5-48BD-A5F0-7C0DA2CAFD2A@juniper.net> In-Reply-To: <059A249A-F4A5-48BD-A5F0-7C0DA2CAFD2A@juniper.net> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] Very low performance with l2fwd in a VM with PCI Passthrough X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Mar 2014 09:25:55 -0000 > My setup details are >=20 > - Traffic coming in on a 10G interface(eth0) and going out on another 10G > interface(eth1) > - Both 10G NICs are 82599 > - Created virtual functions eth5 and eth8 on eth0 and eth1 respectively > - eth5 and eth8 are mapped to eth0 and eth1 in a VM, with device type as > e1000 in Passthru mode. If the NIC in the VM is showing up as an e1000 then you have not passed the= VF through to the VM at all, instead you are using an emulated NIC, which = will be very, very slow in comparison - if nothing else, it's an emulated 1= G NIC, not a 10G one.=20 To set up a VM and use the virtual functions from the 10G NIC, I suggest re= ferring to Chapter 9 of the Programmers Guide available at http://www.intel= .com/content/www/us/en/intelligent-systems/intel-technology/intel-dpdk-prog= rammers-guide.html . Instructions for setting up the VM to use VFs are cove= red by section 9.2