DPDK usage discussions
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: Prashanth Fernando <prashanth.fernando@tatacommunications.com>
Cc: "users@dpdk.org" <users@dpdk.org>
Subject: Re: [dpdk-users] Run To Completion Vs Pipeline
Date: Mon, 20 Jul 2020 08:08:52 -0700
Message-ID: <20200720080852.4db7f0ae@hermes.lan> (raw)
In-Reply-To: <PS1PR0401MB201101AEFEE739EF680589FEF87B0@PS1PR0401MB2011.apcprd04.prod.outlook.com>

On Mon, 20 Jul 2020 05:03:55 +0000
Prashanth Fernando <prashanth.fernando@tatacommunications.com> wrote:

> Hi,
> 
> I'm wondering why DPDK proposes 2 different models.
> Is there any situation that fits one model but not another?
> 
> I am looking to build an application with a firewall, regex, LPM, rate-limiters etc ...
> I am wondering which approach would be a best fit for my usecase.
> 
> 
> Thanks,
> Prashanth
> 

There are two different factors here.
First, how many cores do you have to burn. The run to completion model uses
less cores (and has less latency). But other models are better if some set
of packets require longer to process (VPN, Crypto, ...) in that case you
want to push packets to other core.

  reply	other threads:[~2020-07-20 15:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-20  5:03 Prashanth Fernando
2020-07-20 15:08 ` Stephen Hemminger [this message]
2020-07-21  7:01   ` Pierre

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=20200720080852.4db7f0ae@hermes.lan \
    --to=stephen@networkplumber.org \
    --cc=prashanth.fernando@tatacommunications.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

DPDK usage discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.dpdk.org/users/0 users/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 users users/ https://inbox.dpdk.org/users \
		users@dpdk.org
	public-inbox-index users

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.users


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git