DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] DPDK on 1Gbps NIC
@ 2019-06-21 13:31 abrahamgv
  2019-06-21 15:08 ` Stephen Hemminger
  0 siblings, 1 reply; 3+ messages in thread
From: abrahamgv @ 2019-06-21 13:31 UTC (permalink / raw)
  To: users

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 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-users] DPDK on 1Gbps NIC
  2019-06-21 13:31 [dpdk-users] DPDK on 1Gbps NIC abrahamgv
@ 2019-06-21 15:08 ` Stephen Hemminger
  2019-06-21 17:56   ` abrahamgv
  0 siblings, 1 reply; 3+ messages in thread
From: Stephen Hemminger @ 2019-06-21 15:08 UTC (permalink / raw)
  To: abrahamgv; +Cc: users

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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-users] DPDK on 1Gbps NIC
  2019-06-21 15:08 ` Stephen Hemminger
@ 2019-06-21 17:56   ` abrahamgv
  0 siblings, 0 replies; 3+ messages in thread
From: abrahamgv @ 2019-06-21 17:56 UTC (permalink / raw)
  To: Stephen Hemminger; +Cc: users

Oh, I see. Thank you for your response, Stephen.

Regards,
Abraham

----- Original Message -----
From: "Stephen Hemminger" <stephen@networkplumber.org>
To: abrahamgv@students.itb.ac.id
Cc: "users" <users@dpdk.org>
Sent: Friday, June 21, 2019 10:08:53 PM
Subject: Re: [dpdk-users] DPDK on 1Gbps NIC

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-06-21 17:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-21 13:31 [dpdk-users] DPDK on 1Gbps NIC abrahamgv
2019-06-21 15:08 ` Stephen Hemminger
2019-06-21 17:56   ` abrahamgv

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).