From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f195.google.com (mail-pf0-f195.google.com [209.85.192.195]) by dpdk.org (Postfix) with ESMTP id 0C40F2C24 for ; Tue, 25 Jul 2017 15:20:44 +0200 (CEST) Received: by mail-pf0-f195.google.com with SMTP id q85so12907582pfq.2 for ; Tue, 25 Jul 2017 06:20:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=uZHTuqTQmVh4P6v6YXZf21+htb/T+ptg0BKhTHheS7k=; b=lE8lN0aakFQbTNuLU1LKkd0SuFiEGvAeYnO5OM5mBR6vPynjKfPIzWr7BbwVk7Lw3Y X/C4O8NhPv7gdiMZz+YGsfZosn7D4W6AVoTlXNNFaREGRqtrUFm/D/hhvIgXwUOSe9AT dhNLoZVaesN0PyQJmsIytf1gTHx8m55OgaHAr1tzWF9g30/oZ/tlHJGMu3ntSuxlVjCO Z6t8P6bIUxzbnpqQglyaBXalOsNMZg6OaGI9dXcdBtxDySEqmIelto0uLPJoxITxCS7X ctH7lz7q1LqYdgAWTyh24g+Zje8IHuZ/RGZF+bcYn+0eJIhjHgS6OxCDBjAcPUSKBTss 9y2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=uZHTuqTQmVh4P6v6YXZf21+htb/T+ptg0BKhTHheS7k=; b=FhawVyBTYrwI6+KIfX2723l20raMp+SWe36hCVvt5cPyW6Z8EpP6LWmM6h3KJOgtmA qcu85Tu8cVvbAEQkxi96A8nJMFwhOyNlWsHijjj6sW3ldbzh0sXSOIbR/krAj0cuo4rY IWLwMdBxBlDpK4/q3+x3XHW+ZmFqdXKRlyrzGsF7Brq3vODH6OPcqINalFhuSxl4xpVo /vZhtwMHcQVo6kSDNrGUws5Yf/lBORSCoL32+/RZce/5sMH6unzjCARECLuX7rsODCmz Dq6NypPwI29ifDvXdG4KSwIi6mmsotNclBORWN4I3rIKZAgN+V+NxEF3vVhBliksa+dh PbWQ== X-Gm-Message-State: AIVw110jEhS6ADCnCdWIUJQwyceKFLcJbwwYij4SW+Cx2a5pWhDsY9RI aGWRFggSzLdClw72FWU= X-Received: by 10.98.155.133 with SMTP id e5mr19367280pfk.186.1500988844096; Tue, 25 Jul 2017 06:20:44 -0700 (PDT) Received: from ?IPv6:2402:f000:2:f001:91b6:3d00:a597:c3bd? ([2402:f000:2:f001:91b6:3d00:a597:c3bd]) by smtp.gmail.com with ESMTPSA id h62sm27274612pfc.97.2017.07.25.06.20.41 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 25 Jul 2017 06:20:42 -0700 (PDT) Content-Type: text/plain; charset=gb2312 Mime-Version: 1.0 (Mac OS X Mail 9.1 \(3096.5\)) From: zhilong zheng In-Reply-To: <20170724182026.GI19852@6wind.com> Date: Tue, 25 Jul 2017 21:20:38 +0800 Cc: users@dpdk.org Content-Transfer-Encoding: quoted-printable Message-Id: <468DB57F-35C6-4499-8D66-6179B530F275@gmail.com> References: <6AEDAD78-67AD-49D7-A3AD-6D3B950B9695@gmail.com> <20170724182026.GI19852@6wind.com> To: Adrien Mazarguil X-Mailer: Apple Mail (2.3096.5) 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: Tue, 25 Jul 2017 13:20:45 -0000 Hi Adrien, Thanks for your reply and suggestion. I change the packet size to 128B, = it can generate ~34Gbps and ~40Gbps while to 256B and larger. Regards, Zhilong > =D4=DA 2017=C4=EA7=D4=C225=C8=D5=A3=AC02:20=A3=ACAdrien Mazarguil = =D0=B4=B5=C0=A3=BA >=20 > Hi Zhilong, >=20 > On Sat, Jul 22, 2017 at 12:05:51AM +0800, zhilong zheng wrote: >> Hi all, >>=20 >> I have some problem when generating packets to the Mellanox = ConnectX-3 dual 40G ports card from the latest pktgen-dpdk. >>=20 >> 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. >>=20 >> This is the driver bound to the NIC: 0000:81:00.0 'MT27500 Family = [ConnectX-3]' if=3Dp6p1,p6p2 drv=3Dmlx4_core unused=3D >> I guess that it=A1=AFs 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=A1=AFs bound to mlx4_core. >=20 > 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]. >=20 >> Any clue about this problem? And whether it=A1=AFs caused by the = driver or others? >=20 > 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. >=20 > [1] http://dpdk.org/doc/guides/nics/mlx4.html#prerequisites >=20 > --=20 > Adrien Mazarguil > 6WIND