DPDK patches and discussions
 help / color / mirror / Atom feed
From: Bruce Richardson <bruce.richardson@intel.com>
To: Xueming Li <xuemingl@mellanox.com>
Cc: Wenzhuo Lu <wenzhuo.lu@intel.com>,
	Jingjing Wu <jingjing.wu@intel.com>,
	Bernard Iremonger <bernard.iremonger@intel.com>,
	dev@dpdk.org, Shahaf Shuler <shahafs@mellanox.com>
Subject: Re: [dpdk-dev] [PATCH] app/testpmd: distribute queues to cores
Date: Thu, 14 Jun 2018 11:51:49 +0100	[thread overview]
Message-ID: <20180614105148.GF17264@bricha3-MOBL.ger.corp.intel.com> (raw)
In-Reply-To: <20180526151520.8579-1-xuemingl@mellanox.com>

On Sat, May 26, 2018 at 11:15:20PM +0800, Xueming Li wrote:
> Current topology distribute forwarding streams to lcores by port, this
> make unbalanced loading when port number larger than 2:
> 	lcore 0: P0Q0->P1Q0, P0Q1->P1Q1
> 	locre 1: P1Q0->P0Q0, P1Q1->P0Q1
> If only one port has traffic, only one locre get fully loaded and the
> other one get no forwarding. Performance is bad as only one core doing
> forwarding in such case.
> 
> This patch distributes forwarding streams by queue, try to get streams
> of each port handled by different lcore:
> 	lcore 0: P0Q0->P1Q0, P1Q0->P1Q0
> 	locre 1: P0Q1->P0Q1, P1Q1->P0Q1
> 
> Signed-off-by: Xueming Li <xuemingl@mellanox.com>
> ---
Acked-by: Bruce Richardson <bruce.richardson@intel.com>

  reply	other threads:[~2018-06-14 10:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-26 15:15 Xueming Li
2018-06-14 10:51 ` Bruce Richardson [this message]
2018-07-12 21:09   ` Thomas Monjalon

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=20180614105148.GF17264@bricha3-MOBL.ger.corp.intel.com \
    --to=bruce.richardson@intel.com \
    --cc=bernard.iremonger@intel.com \
    --cc=dev@dpdk.org \
    --cc=jingjing.wu@intel.com \
    --cc=shahafs@mellanox.com \
    --cc=wenzhuo.lu@intel.com \
    --cc=xuemingl@mellanox.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).