From: zhilong zheng <zhengzl0715@gmail.com>
To: Adrien Mazarguil <adrien.mazarguil@6wind.com>
Cc: users@dpdk.org
Subject: Re: [dpdk-users] low Tx throughputs in DPDK with Mellanox ConnectX-3 card
Date: Tue, 25 Jul 2017 21:20:38 +0800 [thread overview]
Message-ID: <468DB57F-35C6-4499-8D66-6179B530F275@gmail.com> (raw)
In-Reply-To: <20170724182026.GI19852@6wind.com>
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
> 在 2017年7月25日,02:20,Adrien Mazarguil <adrien.mazarguil@6wind.com> 写道:
>
> 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 <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
next prev parent reply other threads:[~2017-07-25 13:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-21 16:05 zhilong zheng
2017-07-24 18:20 ` Adrien Mazarguil
2017-07-25 13:20 ` zhilong zheng [this message]
2017-07-25 14:06 ` Adrien Mazarguil
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=468DB57F-35C6-4499-8D66-6179B530F275@gmail.com \
--to=zhengzl0715@gmail.com \
--cc=adrien.mazarguil@6wind.com \
--cc=users@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).