RU emulator has no throughput #530
-
Hi, I'm trying to set up RU emulator. I compile the master brance commit(4d9f223) and install DPDK following the tutorial (srsRAN gNB with DPDK). Then I start srsRAN and RU_emulator. But gNB witnesses no throughput like this: sudo gnb -c gnb-test.yaml
[sudo] password for enb:
The PRACH detector will not meet the performance requirements with the configuration {Format B4, ZCZ 0, SCS 30kHz, Rx ports 1}.
EAL: Detected CPU lcores: 20
EAL: Detected NUMA nodes: 1
EAL: Detected shared linkage of DPDK
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: VFIO support initialized
EAL: Using IOMMU type 1 (Type 1)
EAL: Ignore mapping IO port bar(1)
EAL: Ignore mapping IO port bar(4)
EAL: Probe PCI driver: net_ice (8086:124d) device: 0000:f4:00.7 (socket 0)
ice_dev_init(): Failed to read device serial number
ice_load_pkg_type(): Active package is: 1.3.35.0, ICE OS Default Package (double VLAN mode)
TELEMETRY: No legacy callbacks, legacy socket not created
--== srsRAN gNB (commit 4d9f22329) ==--
ice_set_rx_function(): Using AVX2 Vector Rx (port 0).
Initializing the Open Fronthaul Interface for sector#0: ul_compr=[BFP,9], dl_compr=[BFP,9], prach_compr=[BFP,9], prach_cp_enabled=true, downlink_broadcast=false
Cell pci=1, bw=100 MHz, dl_arfcn=625000 (n78), dl_freq=3375.0 MHz, dl_ssb_arfcn=622272, ul_freq=3375.0 MHz
==== gNodeB started ===
Type <t> to view trace
t
|--------------------DL---------------------|-------------------UL------------------------------
pci rnti | cqi ri mcs brate ok nok (%) dl_bs | pusch mcs brate ok nok (%) bsr ta phr
1 1 | n/a 1 0 0 0 0 0% 0 | n/a 0 0 0 0 0% 0 n/a n/a
1 1 | 15 4 10 0 0 1 100% 0 | n/a 0 0 0 0 0% 0 n/a n/a
1 1 | 15 4 0 0 0 0 0% 0 | n/a 0 0 0 0 0% 0 n/a n/a
1 1 | 15 4 0 0 0 0 0% 0 | n/a 0 0 0 0 0% 0 n/a n/a
1 1 | 15 4 0 0 0 0 0% 0 | n/a 0 0 0 0 0% 0 n/a n/a
1 1 | 15 4 0 0 0 0 0% 0 | n/a 0 0 0 0 0% 0 n/a n/a
1 1 | 15 4 0 0 0 0 0% 0 | n/a 0 0 0 0 0% 0 n/a n/a
1 1 | 15 4 0 0 0 0 0% 0 | n/a 0 0 0 0 0% 0 n/a n/a
1 1 | 15 4 0 0 0 0 0% 0 | n/a 0 0 0 0 0% 0 n/a n/a
1 1 | 15 4 10 0 0 1 100% 0 | n/a 0 0 0 0 0% 0 0us n/a
1 1 | 15 4 0 0 0 0 0% 0 | n/a 0 0 0 0 0% 0 n/a n/a
|--------------------DL---------------------|-------------------UL------------------------------
pci rnti | cqi ri mcs brate ok nok (%) dl_bs | pusch mcs brate ok nok (%) bsr ta phr
1 1 | 15 4 10 0 0 1 100% 0 | n/a 0 0 0 0 0% 0 n/a n/a
1 1 | 15 4 0 0 0 0 0% 0 | n/a 0 0 0 0 0% 0 n/a n/a
1 1 | 15 4 0 0 0 0 0% 0 | n/a 0 0 0 0 0% 0 n/a n/a
1 1 | 15 4 0 0 0 0 0% 0 | n/a 0 0 0 0 0% 0 n/a n/a
1 1 | 15 4 0 0 0 0 0% 0 | n/a 0 0 0 0 0% 0 n/a n/a
1 1 | 15 4 0 0 0 0 0% 0 | n/a 0 0 0 0 0% 0 n/a n/a
1 1 | 15 4 0 0 0 0 0% 0 | n/a 0 0 0 0 0% 0 n/a n/a
1 1 | 15 4 0 0 0 0 0% 0 | n/a 0 0 0 0 0% 0 n/a n/a
1 1 | 15 4 0 0 0 0 0% 0 | n/a 0 0 0 0 0% 0 n/a n/a
1 1 | 15 4 0 0 0 0 0% 0 | n/a 0 0 0 0 0% 0 n/a n/a
1 1 | 15 4 0 0 0 0 0% 0 | n/a 0 0 0 0 0% 0 n/a n/a
The output of ru_emulator is: sudo ru_emulator -c ru_em.yml
[sudo] password for aiot:
EAL: Detected CPU lcores: 112
EAL: Detected NUMA nodes: 2
EAL: Detected shared linkage of DPDK
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: VFIO support initialized
EAL: Using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_e1000_igb (8086:1521) device: 0000:17:00.1 (socket 0)
EAL: Probe PCI driver: mlx5_pci (15b3:1015) device: 0000:ca:00.0 (socket 1)
mlx5_net: No available register for sampler.
EAL: Probe PCI driver: mlx5_pci (15b3:1015) device: 0000:ca:00.1 (socket 1)
mlx5_net: No available register for sampler.
TELEMETRY: No legacy callbacks, legacy socket not created
Running. Waiting for incoming packets...
Cell #0: 2024-03-26T03:22:22 Received 22 UL C-Plane packets
Cell #0: 2024-03-26T03:22:23 Received 56 UL C-Plane packets
Cell #0: 2024-03-26T03:22:24 Received 83 UL C-Plane packets
Cell #0: 2024-03-26T03:22:25 Received 115 UL C-Plane packets
Cell #0: 2024-03-26T03:22:26 Received 142 UL C-Plane packets
Cell #0: 2024-03-26T03:22:27 Received 178 UL C-Plane packets
Cell #0: 2024-03-26T03:22:28 Received 211 UL C-Plane packets
Cell #0: 2024-03-26T03:22:29 Received 242 UL C-Plane packets
Cell #0: 2024-03-26T03:22:30 Received 280 UL C-Plane packets
Cell #0: 2024-03-26T03:22:31 Received 316 UL C-Plane packets
Cell #0: 2024-03-26T03:22:32 Received 348 UL C-Plane packets
Cell #0: 2024-03-26T03:22:33 Received 380 UL C-Plane packets
Cell #0: 2024-03-26T03:22:34 Received 410 UL C-Plane packets
Cell #0: 2024-03-26T03:22:35 Received 434 UL C-Plane packets
Cell #0: 2024-03-26T03:22:36 Received 460 UL C-Plane packets
Cell #0: 2024-03-26T03:22:37 Received 490 UL C-Plane packets
Cell #0: 2024-03-26T03:22:38 Received 525 UL C-Plane packets I checked the gnb.log and found something like: [W] DPDK dropped '4' packets out of a total of '4' in the tx burst I will post the detailed configuration file and system log in the attachment below. Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Answered by
Zplusless
Mar 27, 2024
Replies: 1 comment
-
Changing a NIC solves the problem. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
sauka
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Changing a NIC solves the problem.