marty90 / dpdk-dump Goto Github PK
View Code? Open in Web Editor NEWDPDK-Dump is able to store on disk network traffic at high speed using DPDK library.
License: GNU General Public License v2.0
DPDK-Dump is able to store on disk network traffic at high speed using DPDK library.
License: GNU General Public License v2.0
Hi,
I met an error as follow:
PMD: eth_em_dev_init(): port_id 1 vendorID=0x8086 deviceID=0x100f
EAL: Error - exiting with code: 1
Cause: Cannot create cluster_mem_pool. Errno: 12 [ENOMEM: 12, ENOSPC: 28, E_RTE_NO_TAILQ: 1003, E_RTE_NO_CONFIG: 1002, E_RTE_SECONDARY: 1001, EINVAL: 22, EEXIST: 17]
I found the solution of issue #2 and added -B. Now, A new error was appeared as follow:
EAL: TSC frequency is ~2893583 KHz
EAL: Master core 0 is ready (tid=13d42800)
PMD: ENICPMD trace: rte_enic_pmd_init
EAL: Core 1 is ready (tid=8d9f2700)
EAL: PCI device 0000:02:01.0 on NUMA socket -1
EAL: probe driver: 8086:100f rte_em_pmd
EAL: 0000:02:01.0 not managed by UIO driver, skipping
EAL: PCI device 0000:02:06.0 on NUMA socket -1
EAL: probe driver: 8086:100f rte_em_pmd
EAL: PCI memory mapped at 0x7f9212800000
EAL: PCI memory mapped at 0x7f9212820000
PMD: eth_em_dev_init(): port_id 0 vendorID=0x8086 deviceID=0x100f
EAL: PCI device 0000:02:07.0 on NUMA socket -1
EAL: probe driver: 8086:100f rte_em_pmd
EAL: PCI memory mapped at 0x7f9212830000
EAL: PCI memory mapped at 0x7f9212850000
PMD: eth_em_dev_init(): port_id 1 vendorID=0x8086 deviceID=0x100f
Name:rte_em_pmd
Driver name: rte_em_pmd
Max rx queues: 1
Max tx queues: 1
PCI Adress: 0000:02:06:0
PMD: eth_em_rx_queue_setup(): sw_ring=0x7f9191aec000 hw_ring=0x7f91e2d93940 dma_addr=0x5b393940
EAL: Error - exiting with code: 1
Cause: Error configuring receiving queue stats
I use dpdk-1.8.0, ubuntu 12.04 in VMware and Intel Corporation 82545EM. Can you help me?
Hello,
I try to capture a constant but significant traffic, around 6Gbps.
dpdk utilities work fine but tcpdump with dpdk support drops likes 5-15% of the pkts because of extra copies and syscalls.
Before I try to update your tool with recent dpdk, how much did you evaluate the performance? Did you have packet drops?
Regards,
PK
Hi, I have encountered a problem like that
root@haochuan-Lenovo-Product:/home/haochuan/DPDK-Dump# ./build/dpdk-dump -c 0x03 -n 4 -- -w capture.pcap -G 60 -w 30
EAL: Detected lcore 0 as core 0 on socket 0
EAL: Detected lcore 1 as core 1 on socket 0
EAL: Support maximum 128 logical core(s) by configuration.
EAL: Detected 2 lcore(s)
EAL: cannot open VFIO container, error 2 (No such file or directory)
EAL: VFIO support could not be initialized
EAL: Setting up memory...
EAL: Ask a virtual area of 0x7800000 bytes
EAL: Virtual area found at 0x7f6d80400000 (size = 0x7800000)
EAL: Ask a virtual area of 0x51c00000 bytes
EAL: Virtual area found at 0x7f6d2e600000 (size = 0x51c00000)
EAL: Ask a virtual area of 0x400000 bytes
EAL: Virtual area found at 0x7f6d2e000000 (size = 0x400000)
EAL: Ask a virtual area of 0x26800000 bytes
EAL: Virtual area found at 0x7f6d07600000 (size = 0x26800000)
EAL: Requesting 1024 pages of size 2MB from socket 0
EAL: TSC frequency is ~2925982 KHz
EAL: WARNING: cpu flags constant_tsc=yes nonstop_tsc=no -> using unreliable clock cycles !
EAL: Master core 0 is ready (tid=8918e840)
PMD: ENICPMD trace: rte_enic_pmd_init
EAL: Core 1 is ready (tid=69f2700)
EAL: PCI device 0000:03:00.0 on NUMA socket -1
EAL: probe driver: 8086:10bc rte_em_pmd
EAL: PCI memory mapped at 0x7f6d87c00000
EAL: PCI memory mapped at 0x7f6d87c20000
PMD: eth_em_dev_init(): port_id 0 vendorID=0x8086 deviceID=0x10bc
EAL: PCI device 0000:03:00.1 on NUMA socket -1
EAL: probe driver: 8086:10bc rte_em_pmd
EAL: PCI memory mapped at 0x7f6d87c40000
EAL: PCI memory mapped at 0x7f6d87c60000
PMD: eth_em_dev_init(): port_id 1 vendorID=0x8086 deviceID=0x10bc
EAL: PCI device 0000:04:00.0 on NUMA socket -1
EAL: probe driver: 8086:10bc rte_em_pmd
EAL: PCI memory mapped at 0x7f6d87c80000
EAL: PCI memory mapped at 0x7f6d87ca0000
PMD: eth_em_dev_init(): port_id 2 vendorID=0x8086 deviceID=0x10bc
EAL: PCI device 0000:04:00.1 on NUMA socket -1
EAL: probe driver: 8086:10bc rte_em_pmd
EAL: PCI memory mapped at 0x7f6d87cc0000
EAL: PCI memory mapped at 0x7f6d87ce0000
PMD: eth_em_dev_init(): port_id 3 vendorID=0x8086 deviceID=0x10bc
EAL: Error - exiting with code: 1
Cause: Cannot create cluster_mem_pool. Errno: 12 [ENOMEM: 12, ENOSPC: 28, E_RTE_NO_TAILQ: 1003, E_RTE_NO_CONFIG: 1002, E_RTE_SECONDARY: 1001, EINVAL: 22, EEXIST: 17]
Hi, I got an error when I make the programe:
[root@localhost DPDK-Dump]# make
CC src/main_dump.o
cc1: warnings being treated as errors
/home/dpdkinstall/DPDK-Dump/src/main_dump.c: In function ‘main_loop_consumer’:
/home/dpdkinstall/dpdk-1.8.0/x86_64-native-linuxapp-gcc/include/rte_ring.h:628: error: dereferencing pointer ‘m.147’ does break strict-aliasing rules
/home/dpdkinstall/dpdk-1.8.0/x86_64-native-linuxapp-gcc/include/rte_ring.h:703: error: dereferencing pointer ‘m.147’ does break strict-aliasing rules
/home/dpdkinstall/DPDK-Dump/src/main_dump.c:183: note: initialized from here
/home/dpdkinstall/dpdk-1.8.0/x86_64-native-linuxapp-gcc/include/rte_ring.h:703: error: dereferencing pointer ‘({anonymous})’ does break strict-aliasing rules
/home/dpdkinstall/dpdk-1.8.0/x86_64-native-linuxapp-gcc/include/rte_ring.h:628: error: dereferencing pointer ‘({anonymous})’ does break strict-aliasing rules
/home/dpdkinstall/DPDK-Dump/src/main_dump.c:183: note: initialized from here
make[1]: *** [src/main_dump.o] Error 1
make: *** [all] Error 2
I use DPDK-1.8.0 and in centos6 x64
Hi,
I got a error like this:
PMD: rte_cxgbe_pmd: 0000:81:00.4 Chelsio rev 0 1000/10GBASE-SFP
PMD: rte_cxgbe_pmd: 0000:81:00.4 Chelsio rev 0 1000/10GBASE-SFP
EAL: Error - exiting with code: 1
Cause: Cannot create cluster_mem_pool. Errno: 12 [ENOMEM: 12, ENOSPC: 28,E_RTE_NO_CONFIG: 1002, E_RTE_SECONDARY: 1001, EINVAL: 22, EEXIST: 17]
When I ran the l2fwd, there was on erros.
remaining: put links also in the README.md
hi,
Hi,
Packets might be dropped when the speed is fast.
TOT: Rx: 54013914 Drp: 7532022 Tot: 61545936 Perc: 12.238%
I tried to use -c 0xf to allocate more cores, it returned error and said "exactly two cores".
How can I set the parameters to capture packets without dropping packets?
Thank you very much.
Xu
Hi,
Thank you for your DPDK-Dump app,I want to improve this app's capability.
1、Now I have a intel nic
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!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.