DPDK usage discussions
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: abrahamgv@students.itb.ac.id
Cc: users@dpdk.org
Subject: Re: [dpdk-users] DPDK on 1Gbps NIC
Date: Fri, 21 Jun 2019 08:08:53 -0700	[thread overview]
Message-ID: <20190621080853.63b0ac72@hermes.lan> (raw)
In-Reply-To: <1907574011.276718.1561123881335.JavaMail.zimbra@students.itb.ac.id>

On Fri, 21 Jun 2019 20:31:21 +0700 (WIB)
abrahamgv@students.itb.ac.id wrote:

> So I recently try to implement physical OvS-DPDK with Intel NIC (1Gbps). Then, I compared the performance between native OvS and OvS-DPDK. I found out that there is not much difference in the performance, I also tried changing the packet size (range from 64B - 1500B) and the result: OvS-DPDK is 1.05~1.3x higher than native OvS. Meanwhile, Intel performance report (this is one of them: https://download.01.org/packet-processing/ONPS2.1/Intel_ONP_Release_2.1_Performance_Test_Report_Rev1.0.pdf ) stated that OvS-DPDK performance is 10~12x higher than native OvS (in the link given, it is on section 7.2.1: PHY-OVS-PHY). 
> 
> The difference between "my OvS" and "Intel OvS" is Intel used 10Gbps NIC (and even try to reach 40Gbps by using 4x10Gbps NIC), instead of me that just used 1Gbps NIC. So here is my question: 
> 
> 1) Is DPDK performance-gain more likely to happen with higher speed NIC, such as 10Gbps NIC rather than 1Gbps or 100 Mbps NIC? 
> 2) And to prove the question above, is there any performance report regarding OvS-DPDK vs native-OvS with 1Gbps or 100 Mbps NIC? 
> 
> Thank you, 
> 
> Abraham 

A 1Gbit NIC is slow enough that CPU can keep up, so polling like DPDK doesn't really help.
The standard Linux kernel GRO also helps and can keep up at those speeds.

Summary: There really is no performance benefit expected with DPDK with fast
cpu's at 1Gbit or less.


  reply	other threads:[~2019-06-21 15:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-21 13:31 abrahamgv
2019-06-21 15:08 ` Stephen Hemminger [this message]
2019-06-21 17:56   ` abrahamgv

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=20190621080853.63b0ac72@hermes.lan \
    --to=stephen@networkplumber.org \
    --cc=abrahamgv@students.itb.ac.id \
    --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).