From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f44.google.com (mail-wm0-f44.google.com [74.125.82.44]) by dpdk.org (Postfix) with ESMTP id A9F0020F for ; Mon, 24 Jul 2017 20:20:36 +0200 (CEST) Received: by mail-wm0-f44.google.com with SMTP id t201so26430467wmt.1 for ; Mon, 24 Jul 2017 11:20:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=0+z34B1iCadq95UfDlT7iYPhYBCL3BqjB99jlmvD0uM=; b=b5UytVcp7BW4KvHLRj61dFqtbhEClEkekmmxO20rVEly7uaeu/owQgEZlJe8nzWI10 zXraKtb6Pxp6gjY2+WcsMlwPMKWAbLt+2l/uz5W3Jcdt+d2PGBQi3kb5VPwuhLOLKJT8 U7AT6lRcj+t7co3LsMnrpg/MnkGRF4W2XefEGHE5tQ0afB+VA69o9tFL9xsQHwQYLtGS DQoFPzDmywSwjmT/IeqiLjxRygTZ0opltpsrxIDKTM1yIKvHWLkpWJxjUR1Vu/NRan+t Wp6y222S4G74487faACLqSw46vZpCy7zifDPkdW4fCwlvoFUq/wnTnlJFFvQy8U3Oz6l 2KUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=0+z34B1iCadq95UfDlT7iYPhYBCL3BqjB99jlmvD0uM=; b=OSUcLrk1At+FK27Y7kbT3RhBz5gNzBSXuA/URrPfmRw7YBpRKGNsRdW+Ut+sHUyCKG tk8KxybQL6BGIglv+Z3770rRjDr3uvSnsVK/k45PbKaKUsMS6w6fBQB0PDn+FLmjp/1r bcZi7ArzAggWN6MSuOjnyxhYBZ/9tekwFxgzFJdMR/zwedABETkpanO/VbFPaoAmRKHg cGMVY02GX0snTpBff1/8cXu5B8RM+X1Yqs7/KUvNtRikNDbpn9TxpykERdjsoIWmSdY/ /SLSHP1qQMkAcIs8V79beEu/FYh66liiAmaB2gDAc68AVxlKFw0tIH52ufjwF4eCvd2+ 1NXg== X-Gm-Message-State: AIVw110XO4V91AbGTvFlhqaJADtAiZgUWUeg6DZvt9TVVf4zgOijz81r wOkvsQQqFnTj5kOf X-Received: by 10.28.126.193 with SMTP id z184mr5810055wmc.46.1500920436385; Mon, 24 Jul 2017 11:20:36 -0700 (PDT) Received: from 6wind.com (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id q21sm14685666wra.86.2017.07.24.11.20.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 24 Jul 2017 11:20:35 -0700 (PDT) Date: Mon, 24 Jul 2017 20:20:26 +0200 From: Adrien Mazarguil To: zhilong zheng Cc: users@dpdk.org Message-ID: <20170724182026.GI19852@6wind.com> References: <6AEDAD78-67AD-49D7-A3AD-6D3B950B9695@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <6AEDAD78-67AD-49D7-A3AD-6D3B950B9695@gmail.com> Subject: Re: [dpdk-users] low Tx throughputs in DPDK with Mellanox ConnectX-3 card X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Jul 2017 18:20:36 -0000 Hi Zhilong, On Sat, Jul 22, 2017 at 12:05:51AM +0800, zhilong zheng wrote: > Hi all, > > I have some problem when generating packets to the Mellanox ConnectX-3 dual 40G ports card from the latest pktgen-dpdk. > > The problem is that it can only generate ~22Gbps per port (actually I just use one port.), not saturating the 40G port. This server has two 12-cores E5-2650 v4 @2.20GHz cpus and 128G 2400MHz DDR4 memory. The DPDK version is 16.11. > > This is the driver bound to the NIC: 0000:81:00.0 'MT27500 Family [ConnectX-3]' if=p6p1,p6p2 drv=mlx4_core unused= > I guess that it’s the problem of driver. The document shows the driver name should be librte_pmd_mlx4 (url: http://dpdk.org/doc/guides/nics/mlx4.html ), however when completing installation, it’s bound to mlx4_core. It's OK, mlx4_core is the name of the kernel driver while librte_pmd_mlx4 is that of the DPDK driver. There is no librte_pmd_mlx4 kernel module, see blurb about prerequisites [1]. > Any clue about this problem? And whether it’s caused by the driver or others? Depending on packet size and other configuration settings, you may have hit the maximum packet rate, these devices cannot reach line rate with 64-byte packets for instance. [1] http://dpdk.org/doc/guides/nics/mlx4.html#prerequisites -- Adrien Mazarguil 6WIND