You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have two NICs and I need to run two ipfixprobe processes to monitor the traffic. When I start as follows
ipfixprobe --input 'dpdk;port=0;eal=ipfixprobe-eal -c 0x1 -a 0000:d8:00.0;q=1'
ipfixprobe --input 'dpdk;port=0;eal=ipfixprobe-eal -c 0x2 -a 0000:3b:00.0 --file-prefix aaa;q=1'
both processes end up on first CPU, which is a great problem while actively polling for traffic - each process shows only 50% CPU usage, the packet reading often stalls in one or the other.
I have two NICs and I need to run two ipfixprobe processes to monitor the traffic. When I start as follows
both processes end up on first CPU, which is a great problem while actively polling for traffic - each process shows only 50% CPU usage, the packet reading often stalls in one or the other.
Possible solution
I've come up with the following workaround:
Comment out the call to set_thread_affinity function: https://github.com/CESNET/ipfixprobe/blob/master/input/dpdk.cpp#L330
Run with eal set as follows:
The list of cores is set to the appropriate CPU by checking
/sys/class/net/$ifc/device/local_cpulist
.Setup
OS:
Ubuntu 22.04 LTS
Compilation as deb package using make deb with modified
dh_auto_configure
indebian/rules
Full configure params:
The text was updated successfully, but these errors were encountered: