-
Notifications
You must be signed in to change notification settings - Fork 92
Description
Hello,
I am using FastClick to capture packets at a rate of around 10 million packets per second (pps) on an E810 NIC, with a single thread and isolated cores. I am also using the FromDPDKDevice handler to monitor hardware drop counts.
The issue is that approximately every 1 hour and 30 minutes, I experience a burst of packet drops—around 300,000 to 500,000 hardware drops reported by FromDPDKDevice. After each burst, there are no further drops until the next 1.5-hour interval. This pattern repeats periodically.
There is no difference in the click script performance and drop rate with or without Real time scheduling on.
The script is so simple. it just uses FromDPDKDevice to capture the packets then it uses -> Discard() to discard the packets.
here are my DPDK configurations in the script.
DPDKInfo(NB_MBUF 33554431, MBUF_SIZE 1518, RING_SIZE 16777216, MBUF_CACHE_SIZE 512, PAYLOAD_RING_SIZE 32768)
FromDPDKDevice($rxport, VERBOSE 99, PROMISC 1, NDESC 4096, MAXTHREADS 1, N_QUEUES 1, THREADOFFSET 1, NUMA true, NUMA_NODE 0, ACTIVE 1) -> Discard();
I have allocated 1GB hugepage and isolated cores 1-16
Command line: BOOT_IMAGE=/vmlinuz-5.15.0-119-generic root=/dev/mapper/ubuntu--vg-ubuntu--lv ro intel_iommu=on iommu=pt isolcpus=1-16 nohz_full=1-16 rcu_nocbs=1-16 default_hugepagesz=1G hugepages=64 acpi=on selinux=0 audit=0 nosoftlockup processor.max_cstate=1 intel_idle.max_cstate=0 intel_pstate=on nopti nospec_store_bypass_disable nospectre_v2 nospectre_v1 nospec l1tf=off netcfg/do_not_use_netplan=true mitigations=off
below are the dpdk configs given while running the click script. DPDK version is 24.11.3
--dpdk -l 1-2 --socket-mem=64000,0 --socket-limit=64000,0 --
here is the configurations for compiling fastclick.
RTE_SDK=/home/hara/dpdk-stable-24.11.3/ ./configure --enable-dpdk --enable-intel-cpu --verbose --enable-select=poll "CFLAGS=-O3 -ls
entry_shm" "CXXFLAGS=-std=c++17 -O3 -lre2 -lsentry_shm" --disable-dynamic-linking --enable-poll --enable-bound-port-transfer --enable-local --disable-task-stats --enable-cpu-load -
-disable-clone --disable-dpdk-softqueue --enable-user-timestamp --enable-flow --enable-dpdk-packet
Please let me know if you need any further details.
How can this problem be solved to be able to capture packets without drop.