From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 9D4C12C63 for ; Fri, 18 Mar 2016 11:10:16 +0100 (CET) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga104.fm.intel.com with ESMTP; 18 Mar 2016 03:10:00 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,354,1455004800"; d="scan'208";a="68894299" Received: from bricha3-mobl3.ger.corp.intel.com ([10.237.221.44]) by fmsmga004.fm.intel.com with SMTP; 18 Mar 2016 03:09:58 -0700 Received: by (sSMTP sendmail emulation); Fri, 18 Mar 2016 10:09:57 +0025 Date: Fri, 18 Mar 2016 10:09:57 +0000 From: Bruce Richardson To: Simon Jouet Cc: "dev@dpdk.org" Message-ID: <20160318100957.GB4848@bricha3-MOBL3> References: <8379404C2611CB4BB6D4166627C18EA916BB5AB7@CMS08-02.campus.gla.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <8379404C2611CB4BB6D4166627C18EA916BB5AB7@CMS08-02.campus.gla.ac.uk> Organization: Intel Shannon Ltd. User-Agent: Mutt/1.5.23 (2014-03-12) Subject: Re: [dpdk-dev] Performance issue with uio_pci_generic driver 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, 18 Mar 2016 10:10:17 -0000 On Wed, Mar 16, 2016 at 11:59:34PM +0000, Simon Jouet wrote: > Hi everyone, > > First off I would like to thanks tmonjalo, Harry Van Harren and Bruce Richardson for the input they gave while I was trying to figure out the issue and pushing me to report the problem here 😊 > > Okay, so I was trying out some basic sanity benchmarks with DPDK before doing anything more complicated and surprisingly I was getting lower than gigabit speed for minimum packet size running l2fwd (or l3fwd for that matter). > > The setup is very simple I’ve got two machine with Intel x710 quad port NICs one is running DPDK l2fwd and the other is running MoonGen for the performance benchmark. > > After much debugging and trying to modify parameters one by one, giving up after nothing worked and setting up ovs-dpdk I noticed from the ovs documentation that the kernel module to load were uio and igb_uio while I was previous loading uio_pci_generic as mentioned in the DPDK getting started guide. I simply changed the kernel module and l2fwd went from 700Mbps to 10G line-rate. Bruce said that shouldn’t be the case and the performance should be similar regardless of the driver loaded ... > > Here is the full log of the experiment, if you’re interested: > https://gist.github.com/simon-jouet/178e1d302afef5c6a642 > > Best regards, > Simon > Thanks Simon for reporting this here! It seems very strange to me that the particular module being used for uio has such an impact on performance. Has anyone else seen anything similar? /Bruce