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 [thread overview]
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.
next prev parent 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
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).