usrp-users@lists.ettus.com

Discussion and technical support related to USRP, UHD, RFNoC

View all threads

Multi-process DPDK support in UHD

AT
Aerman TUERXUN
Tue, Dec 5, 2023 8:38 AM

Hi all,

I have a problem using multi USRPs with multi-processes.
I need to use two USRPs connected to a single host, and there are two
applications that invoke two USRP with DPDK enabled.
The first application successfully started, however when I ran the second
one, it gave me the following error message.
I learned that DPDK supports multi-process, and it needs to be set with
--file-prefix.
But I couldn't find any reference for UHD to use multi-DPDK.
Does anyone have any knowledge about this? How can I use multiple USRP with
DPDK in a multi-processing scenario?
Thank you in advance.

[WARNING] [PREFS] Loaded config from /root/.uhd. This location is
considered deprecated, consider moving your config file to /root/.config
instead.
EAL: Detected 8 lcore(s)
EAL: Detected 1 NUMA nodes
EAL: Cannot create lock on '/var/run/dpdk/rte/config'. Is another primary
process running?
EAL: FATAL: Cannot init config
EAL: Cannot init config
[ERROR] [DPDK] Error with EAL initialization
[ERROR] [UHD] Device discovery error: RuntimeError: Error with EAL
initialization
EAL: FATAL: already called initialization.
EAL: already called initialization.
[ERROR] [DPDK] Error with EAL initialization
[ERROR] [X300] X300 Network discovery error RuntimeError: Error with EAL
initialization
terminate called after throwing an instance of 'uhd::key_error'
what():  LookupError: KeyError: No devices found for ----->
Device Address:
addr: 192.168.50.2
mgmt_addr: 192.168.10.50
use_dpdk: 1

Aborted

Hi all, I have a problem using multi USRPs with multi-processes. I need to use two USRPs connected to a single host, and there are two applications that invoke two USRP with DPDK enabled. The first application successfully started, however when I ran the second one, it gave me the following error message. I learned that DPDK supports multi-process, and it needs to be set with --file-prefix. But I couldn't find any reference for UHD to use multi-DPDK. Does anyone have any knowledge about this? How can I use multiple USRP with DPDK in a multi-processing scenario? Thank you in advance. [WARNING] [PREFS] Loaded config from /root/.uhd. This location is considered deprecated, consider moving your config file to /root/.config instead. EAL: Detected 8 lcore(s) EAL: Detected 1 NUMA nodes EAL: Cannot create lock on '/var/run/dpdk/rte/config'. Is another primary process running? EAL: FATAL: Cannot init config EAL: Cannot init config [ERROR] [DPDK] Error with EAL initialization [ERROR] [UHD] Device discovery error: RuntimeError: Error with EAL initialization EAL: FATAL: already called initialization. EAL: already called initialization. [ERROR] [DPDK] Error with EAL initialization [ERROR] [X300] X300 Network discovery error RuntimeError: Error with EAL initialization terminate called after throwing an instance of 'uhd::key_error' what(): LookupError: KeyError: No devices found for -----> Device Address: addr: 192.168.50.2 mgmt_addr: 192.168.10.50 use_dpdk: 1 Aborted