DPDK patches and discussions
 help / color / mirror / Atom feed
From: "François-Frédéric Ozog" <ff@ozog.com>
To: "'Bob Chen'" <beef9999@qq.com>
Cc: 'dev' <dev@dpdk.org>
Subject: Re: [dpdk-dev] dpdk vs netmap
Date: Mon, 10 Mar 2014 07:39:14 +0100	[thread overview]
Message-ID: <00ec01cf3c2b$74436d70$5cca4850$@com> (raw)
In-Reply-To: <tencent_539A9522168179FF45A3F312@qq.com>

Well done! 

I guess that's the shortest question on the list, and probably the one
that's going to trigger the largest discussion.

A few months, ago I had to answer it for a customer. And here is my
understanding:

- DPDK is also a high performance multi-core application framework. You take
out the packet framework and DPDK has still value because it allows you to
get the most of a multi-core environment. In other words, if you want to
develop say an accelerated web server, you have better chances to achieve
the best results with DPDK because it does not stop providing performance
helpers at the "packet pump" level: threading model, high performance memory
management, high performance locking in userland...

- DPDK programming requires more effort at the beginning because of this
multi-core environment

- DPDK is now at the center of an informal eco-system. Not too long from
now, I assume you will have a "DPDK-store" from which you will obtain either
freely or with a fee a lot of additional components: TCP/IP stack...

Now if you want detailed comparison on the performance aspects.... Here is
my view: on a simple L2/L3 packet forwarding "proof of concept" with 2 ports
you will find them equal: the CPU does not do enough. So you need to model
your application and try it with at least 2 ports on both environments. And
you probably want to put it at serious test with 8, 16 or even 22 ports.
Then you'll get your answer.

Bet's are open. I put a beer on DPDK ;-)

 
François-Frédéric


> -----Message d'origine-----
> De : dev [mailto:dev-bounces@dpdk.org] De la part de Bob Chen
> Envoyé : lundi 10 mars 2014 06:49
> À : dev
> Objet : [dpdk-dev] dpdk vs netmap
> 
> What's the advantage of DPDK over another accelaration framework called
> netmap?

  reply	other threads:[~2014-03-10  6:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-10  5:48 Bob Chen
2014-03-10  6:39 ` François-Frédéric Ozog [this message]
2014-03-10 15:53   ` Stephen Hemminger

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='00ec01cf3c2b$74436d70$5cca4850$@com' \
    --to=ff@ozog.com \
    --cc=beef9999@qq.com \
    --cc=dev@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).