[dpdk-users] DPDK Performance tips

Anand Prasad anandnprasad at yahoo.com
Mon Feb 19 15:26:53 CET 2018


Hi Thomas, et.al.

   Thanks for response.
   I have followed the advices provided in the links you have provided but still i see the problem.
Recently, I studied dpdk-pktgen application and developed an application very much similar to that. I mean, have made device, rx and tx, memmory pool and cache size configurations that pktgen uses. pktgen seems work fine without any Rx packet drop but my application reports packet drop.
   Any guess what could be wrong with my application? 

   I see packet drops in my application, when I launch some other application (say browser or system monitor). But, in such situations, pktgen application works without any packet drops.
Regards,Anand Prasad  
 

    On Wednesday, 13 December 2017 4:41 PM, Thomas Monjalon <thomas at monjalon.net> wrote:
 

 13/12/2017 09:14, Anand Prasad:
>  Hi Dpdk team,
>    Can anyone please share tips to get better DPDK performance? I have tried to run DPDK test applications on various PC configurations with different CPU Speeds, RAM Size/Speed and and PCIex16 2nd and 3rd generation connections... but I don't get very consistent results.
>    The same test application does not behave similarly on 2 PC's with same hardware configuration.But general observation is that, performance is better on Intel motherboard with 3rd generation PCIe slot. When tried on Gigabyte motherboard (even with higher CPU and RAM speeds), performance was very poor.
>    The performance issue I am facing is the Packet Drop issue on the Rx side.
>  Two PC's with exactly same hardware configuration, one PC drops packets after few hours, but in the other PC I don't observe packet drop
> Highly appreciate a quick response
> Regards,Anand Prasad

This is very complicate because it really depends on the hardware.
Managing performance requires a very good knowledge of the hardware.

You can find some basic advices in this guide for some Intel hardware:
    http://dpdk.org/doc/guides/linux_gsg/nic_perf_intel_platform.html
You will also find some informations in the drivers guide. Example:
    http://dpdk.org/doc/guides/nics/mlx5.html#performance-tuning



   


More information about the users mailing list