DPDK usage discussions
 help / color / mirror / Atom feed
From: Vijay S <vsnv83@gmail.com>
To: "Singh, Jasvinder" <jasvinder.singh@intel.com>
Cc: "users@dpdk.org" <users@dpdk.org>
Subject: Re: [dpdk-users] Test Pipeline application - lockup
Date: Tue, 29 Dec 2015 20:58:21 -0800	[thread overview]
Message-ID: <CACDuqmk_i_pLmiUQXSnkhV5UD9j_tmH+qqpe8NPb-7cTwoi3Cg@mail.gmail.com> (raw)
In-Reply-To: <54CBAA185211B4429112C315DA58FF6DD9C232@IRSMSX103.ger.corp.intel.com>

Hi Jasvinder,

On Tue, Dec 29, 2015 at 3:42 AM, Singh, Jasvinder <jasvinder.singh@intel.com
> wrote:

> Hi Vijay,
>
> >
> > I am running the test pipeline application using extendible bucket hash
> table
> > with 16 byte key size. I have made changes to the test pipeline
> application
> > such that for EVERY port instance there are 3 cores: Rx Core, Worker Core
> > and Tx Core instead of ALL ports mapping to a single Rx/Tx Core like in
> the
> > original implementation. This is being done to try and increase the
> overall
> > throughput of the application.
> >
> > In the app_main_loop_worker_pipeline_hash function, I am instantiating a
> > new pipeline instance for each port and stitching the rings_rx and
> rings_tx
> > accordingly. With these changes I am able to get a throughput of ~13Mpps
> on
> > one 10G port. But, when I send a high rate traffic (13Mpps each) from
> BOTH
> > the ports simultaneously, the traffic stops completely. Stopping the
> > restarting traffic doesn't seem to be helping. It almost looks like the
> pipeline
> > is locked up and not seeing any packets in the Rx rings.
> > Has anyone encountered this before ? Any idea how to debug/what could be
> > going wrong ? Appreciate your help !
>
>
> In pipeline Core, have you created separate table for each pipeline
> instance? Each pipeline instance should have input port, table and output
> port configured and linked properly to make passage for the packets.


Moving to multi-consumer ring apis and allocating rx mbuf per port fixed
the lockup issue. I am able to receive packets on all the ports without any
lockup. Thanks for your help.

Regards,
Vijay

      reply	other threads:[~2015-12-30  4:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-29 10:23 Vijay S
2015-12-29 11:42 ` Singh, Jasvinder
2015-12-30  4:58   ` Vijay S [this message]

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=CACDuqmk_i_pLmiUQXSnkhV5UD9j_tmH+qqpe8NPb-7cTwoi3Cg@mail.gmail.com \
    --to=vsnv83@gmail.com \
    --cc=jasvinder.singh@intel.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).