DPDK patches and discussions
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: Zachary <zachary.jen@cas-well.com>
Cc: dev@dpdk.org,
	"Yannic.Chou (周哲正) : 6808" <yannic.chou@cas-well.com>,
	"Alan Yu (俞亦偉) : 6632" <Alan.Yu@cas-well.com>
Subject: Re: [dpdk-dev] DPDK & QPI performance issue in Romley platform.
Date: Mon, 2 Sep 2013 09:10:12 -0700	[thread overview]
Message-ID: <20130902091012.2e68b88e@nehalam.linuxnetplumber.net> (raw)
In-Reply-To: <52240466.7050907@cas-well.com>

On Mon, 2 Sep 2013 11:22:14 +0800
Zachary <zachary.jen@cas-well.com> wrote:

> Hi~
> 
> I have a question about DPDK & QPI performance issue in Romley  platform.
> Recently, I use DPDK example, l2fwd, to test DPDK's performance in my Romley platform.
> When I try to do the test, crossing used CPU, I find the performance dramatically decrease.
> Is it true? Or any method can prove the phenomenon?
> 
> In my opinion, there should be no this kind of issue here due to QPI have enough bandwidth to deal the kinds of case.
> Thus, I am so amaze in our results and can not explain it.
> Could someone can help me to solve this problem.
> 
> Thank a lot!

Many DPDK API's have NUMA socket as one of the parameters. In order to get good
performance it is up to the application to be NUMA aware and use socket local
resources.

One example we do is to have a packet mbuf pool per socket, and assign each
device to the correct pool. Also, you may want to choose which lcore's to assign
to which function based on socket locality. For example threads that are polling
receiver should be on same socket as that NIC.

Remember the example applications are demo toys, and don't do all the things a real
application would need to do.

  reply	other threads:[~2013-09-02 16:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-02  3:22 Zachary
2013-09-02 16:10 ` Stephen Hemminger [this message]
2013-09-03 16:19 ` [dpdk-dev] =?gb18030?b?u9i4tKO6IERQREsgJiBRUEkgcGVyZm9ybWFuY2Ug?= =?gb18030?q?issue_in_Romley_platform=2E?=  =?gb18030?B?Qm9iIENoZW4=?=
     [not found] <52289F01.7010503@cas-well.com>
2013-09-06  7:31 ` [dpdk-dev] DPDK & QPI performance issue in Romley platform Zachary

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=20130902091012.2e68b88e@nehalam.linuxnetplumber.net \
    --to=stephen@networkplumber.org \
    --cc=Alan.Yu@cas-well.com \
    --cc=dev@dpdk.org \
    --cc=yannic.chou@cas-well.com \
    --cc=zachary.jen@cas-well.com \
    /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).