marty90 / DPDK-Dump

DPDK-Dump is able to store on disk network traffic at high speed using DPDK library.
GNU General Public License v2.0
32 stars 27 forks source link

How to use multi Rx/Tx queue ? #8

Closed 490 closed 7 years ago

490 commented 7 years ago

Hi, Thank you for your DPDK-Dump app,I want to improve this app's capability. 1、Now I have a intel nic image how can I set up the number of rx/tx queue with the function rte_eth_dev_configure or rte_eth_rx_queue_setup? I tried to change the parameters in your app but it didn't work. 2、My computer have 256 lcores,can I use all of them to achieve the performence limit? 3、Do you know nDPI(deep packet inspection)?How can I combine nDPI with your app? Could you please to give some advice for me ? Thank you very much!

marty90 commented 7 years ago

1) DPDK-Dump writes on disk the traffic it captures. Thus, no matter how many cores/queues you have. The bottleneck is the disk. I recommend to use a RAID0 array of SSDs for high performance. 2) DPDK-Dump always uses 2 cores. 3) If you want to analyse the traffic instead of dumping it on disk, you can use Tstat-DPDK (here). It scales with the number of cores of your machine. We tested it at 40Gbps live traffic. It performs DPI and statistical analysis on the incoming traffic and aggregates it into flows (TCP and UDP).

490 commented 7 years ago

Thank you!!