DPDK patches and discussions
 help / color / mirror / Atom feed
From: Gilad Berman <giladb@mellanox.com>
To: "Xu, Qian Q" <qian.q.xu@intel.com>,
	Xiaozhou Li <xl@CS.Princeton.EDU>, "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] Performance issues with Mellanox Connectx-3 EN
Date: Thu, 13 Aug 2015 11:13:00 +0000	[thread overview]
Message-ID: <AM2PR05MB0675F0E3B93BD55AF9298D60A07D0@AM2PR05MB0675.eurprd05.prod.outlook.com> (raw)
In-Reply-To: <82F45D86ADE5454A95A89742C8D1410E01DBCD14@shsmsx102.ccr.corp.intel.com>

Xiaozhou,
Following Qian answer - 2Mpps is VERY (VERY) low and far below what we see even with single core. 
Which version of DPDK and PMD are you using? Are you using MLNX optimized libs for PMD? Can you provide more details on the exact setup?
Can you run a simple test with testpmd and see if you are getting the same results? 

Just to be clear - it does not matter which version you are using, 2Mpps is very far from what you should get :)  

-----Original Message-----
From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Xu, Qian Q
Sent: Thursday, August 13, 2015 6:25 AM
To: Xiaozhou Li <xl@CS.Princeton.EDU>; dev@dpdk.org
Subject: Re: [dpdk-dev] Performance issues with Mellanox Connectx-3 EN

Xiaozhou
So seems the performance bottleneck is not at the core, have you checked that the Mellanox NIC's configuration? How many queues per port are you using? Could you try l3fwd example with Mellanox to check if the performance is good enough? I'm not familiar with Mellanox NIC, but if you have tried Intel Fortville 40G NIC, I can give more suggestions about the NIC's configurations. 

Thanks
Qian


-----Original Message-----
From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Xiaozhou Li
Sent: Thursday, August 13, 2015 7:20 AM
To: dev@dpdk.org
Subject: [dpdk-dev] Performance issues with Mellanox Connectx-3 EN

Hi folks,

I am getting performance scalability issues with DPDK on Mellanox Connectx-3 .

Each of our machine has 16 cores and a single-port 40G Mellanox Connectx-3 EN. We find out the server throughput *does not scale* with number of cores. With a single thread on one core, we can get about 2 Mpps with a simple echo server implementation. However, the performance number does not increase as we use more cores. Our implementation is based on the l2fwd example.

I'd greatly appreciate it if anyone could provide some insights on what might be the problem and how can we improve the performance with Mellanox Connectx-3 EN. Thanks!

Best,
Xiaozhou

  reply	other threads:[~2015-08-13 11:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-12 23:20 Xiaozhou Li
2015-08-13  3:24 ` Xu, Qian Q
2015-08-13 11:13   ` Gilad Berman [this message]
2015-08-14  4:10     ` Xiaozhou Li
2015-08-16  6:38       ` Gilad Berman

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=AM2PR05MB0675F0E3B93BD55AF9298D60A07D0@AM2PR05MB0675.eurprd05.prod.outlook.com \
    --to=giladb@mellanox.com \
    --cc=dev@dpdk.org \
    --cc=qian.q.xu@intel.com \
    --cc=xl@CS.Princeton.EDU \
    /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).