From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from am1outboundpool.messaging.microsoft.com (am1ehsobe002.messaging.microsoft.com [213.199.154.205]) by dpdk.org (Postfix) with ESMTP id A73A96832 for ; Sun, 9 Mar 2014 09:29:17 +0100 (CET) Received: from mail34-am1-R.bigfish.com (10.3.201.240) by AM1EHSOBE025.bigfish.com (10.3.207.147) with Microsoft SMTP Server id 14.1.225.22; Sun, 9 Mar 2014 08:30:46 +0000 Received: from mail34-am1 (localhost [127.0.0.1]) by mail34-am1-R.bigfish.com (Postfix) with ESMTP id C2519420307; Sun, 9 Mar 2014 08:30:46 +0000 (UTC) X-Forefront-Antispam-Report: CIP:157.56.240.101; KIP:(null); UIP:(null); IPV:NLI; H:BL2PRD0510HT003.namprd05.prod.outlook.com; RD:none; EFVD:NLI X-SpamScore: 3 X-BigFish: VPS3(z579ehz9371I1432Izz1f42h2148h208ch1ee6h1de0h1fdah2073h2146h1202h1e76h2189h1d1ah1d2ah21bch1fc6h1082kzz1de098h17326ah8275bh8275dh1de097h186068hz2fh109h2a8h839h944hd24hf0ah1220h1288h12a5h12a9h12bdh137ah13b6h1441h1504h1537h153bh162dh1631h1758h18e1h1946h19b5h19ceh1ad9h1b0ah224fh1d07h1d0ch1d2eh1d3fh1de9h1dfeh1dffh1fe8h1ff5h2216h22d0h2336h2461h2487h24d7h2516h2545h255eh25cch25f6h2605h9a9j1155h) Received-SPF: pass (mail34-am1: domain of juniper.net designates 157.56.240.101 as permitted sender) client-ip=157.56.240.101; envelope-from=nscsekhar@juniper.net; helo=BL2PRD0510HT003.namprd05.prod.outlook.com ; .outlook.com ; X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009001)(6009001)(428001)(377454003)(189002)(199002)(51704005)(224313003)(224303002)(87936001)(2656002)(81342001)(47976001)(47736001)(49866001)(50986001)(65816001)(83322001)(80022001)(81816001)(51856001)(19580395003)(15975445006)(19580405001)(80976001)(81542001)(79102001)(4396001)(59766001)(77982001)(81686001)(66066001)(85306002)(63696002)(46102001)(85852003)(83072002)(56816005)(31966008)(90146001)(97186001)(74662001)(53806001)(54356001)(74502001)(93516002)(86362001)(76576001)(76482001)(95416001)(47446002)(97336001)(94316002)(87266001)(74366001)(15202345003)(95666003)(69226001)(92566001)(93136001)(76796001)(76786001)(74876001)(74706001)(33646001)(94946001)(74316001)(54316002)(56776001)(42262001)(24736002); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR05MB784; H:CO1PR05MB284.namprd05.prod.outlook.com; CLIP:66.129.239.12; FPR:BCF5FD2A.2F228F09.43E814D0.4CE53AE8.20212; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received: from mail34-am1 (localhost.localdomain [127.0.0.1]) by mail34-am1 (MessageSwitch) id 1394353844845804_16462; Sun, 9 Mar 2014 08:30:44 +0000 (UTC) Received: from AM1EHSMHS010.bigfish.com (unknown [10.3.201.232]) by mail34-am1.bigfish.com (Postfix) with ESMTP id BFC3AE00AE; Sun, 9 Mar 2014 08:30:44 +0000 (UTC) Received: from BL2PRD0510HT003.namprd05.prod.outlook.com (157.56.240.101) by AM1EHSMHS010.bigfish.com (10.3.207.110) with Microsoft SMTP Server (TLS) id 14.16.227.3; Sun, 9 Mar 2014 08:30:44 +0000 Received: from DM2PR05MB784.namprd05.prod.outlook.com (10.141.179.155) by BL2PRD0510HT003.namprd05.prod.outlook.com (10.255.100.38) with Microsoft SMTP Server (TLS) id 14.16.423.0; Sun, 9 Mar 2014 08:30:43 +0000 Received: from CO1PR05MB284.namprd05.prod.outlook.com (10.141.70.144) by DM2PR05MB784.namprd05.prod.outlook.com (10.141.179.155) with Microsoft SMTP Server (TLS) id 15.0.888.9; Sun, 9 Mar 2014 08:30:42 +0000 Received: from CO1PR05MB284.namprd05.prod.outlook.com ([10.141.70.144]) by CO1PR05MB284.namprd05.prod.outlook.com ([10.141.70.144]) with mapi id 15.00.0893.001; Sun, 9 Mar 2014 08:30:41 +0000 From: Surya Nimmagadda To: "Richardson, Bruce" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] Very low performance with l2fwd in a VM with PCI Passthrough Thread-Index: AQHPOed5BQJsTtoREE+H/R/eGYrB/ZrYb7de Date: Sun, 9 Mar 2014 08:30:41 +0000 Message-ID: References: <059A249A-F4A5-48BD-A5F0-7C0DA2CAFD2A@juniper.net>, <59AF69C657FD0841A61C55336867B5B01A9A2F1B@IRSMSX103.ger.corp.intel.com> In-Reply-To: <59AF69C657FD0841A61C55336867B5B01A9A2F1B@IRSMSX103.ger.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [66.129.239.12] x-forefront-prvs: 0145758B1D Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: juniper.net X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn% 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: Sun, 09 Mar 2014 08:29:17 -0000 > To set up a VM and use the virtual functions from the 10G NIC, I sugge= st referring to Chapter 9 of the Programmers Guide available at http://www.= intel.com/content/www/us/en/intelligent-systems/intel-technology/intel-dpdk= - programmers-guide.html . Instructions for setting up the VM to use V= Fs are covered by section 9.2=0A= =0A= Thanks a lot. This helped me out.=0A= =0A= Surya=0A= ________________________________________=0A= From: Richardson, Bruce =0A= Sent: Friday, March 7, 2014 1:27 AM=0A= To: Surya Nimmagadda; dev@dpdk.org=0A= Subject: RE: [dpdk-dev] Very low performance with l2fwd in a VM with PCI = Passthrough=0A= =0A= > My setup details are=0A= >=0A= > - Traffic coming in on a 10G interface(eth0) and going out on another 10G= =0A= > interface(eth1)=0A= > - Both 10G NICs are 82599=0A= > - Created virtual functions eth5 and eth8 on eth0 and eth1 respectively= =0A= > - eth5 and eth8 are mapped to eth0 and eth1 in a VM, with device type as= =0A= > e1000 in Passthru mode.=0A= =0A= 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.=0A= 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=0A= =0A= =0A=