DPDK does not work #1329
-
Hello, System Information:
I am working with srsRAN and a Benetel RU to connect with COTS phones. Without DPDK, the phone can successfully connect to the gNB and access the Internet. However, the throughput is very low (about 1 Mbit/s) which I suspect is due to CPU processing limitations. This is why I wanted to try using DPDK. I followed the instructions here: https://docs.srsran.com/projects/project/en/latest/tutorials/source/dpdk/source/index.html. The gNB starts successfully (see output below), but when using DPDK, the RU does not receive any data packets from the DU (monitored using kpi.sh). Phone cannot see the network. When I disable DPDK, kpi.sh on the RU kpi.sh shows normal RX and TX packet counts, and phone can access the network. I have included detailed logs and configuration files below and in the attachments. Any suggestions or guidance would be greatly appreciated. --== srsRAN gNB (commit d90cd4e) ==-- EAL: Detected CPU lcores: 24 N2: Connection to AMF on 127.0.1.100:38412 completed /dpdk-23.11/usertools$ sudo ./dpdk-devbind.py -s Network devices using DPDK-compatible driver Network devices using kernel driver Linux inss-OptiPlex-Tower-Plus-7020 5.15.0-1033-realtime #36-Ubuntu SMP PREEMPT_RT Tue Feb 7 18:41:33 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux mount | grep huge Grub GRUB_CMDLINE_LINUX="default_hugepagesz=1GB hugepagesz=1G hugepages=20 skew_tick=1 intel_iommu=on intel_iommu=pt quiet splash vt.handoff=7" |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @inss-lab! I see two potential issues in your setup. First of all the CPU you are using has Intel's big little architecture. We have seen in many deployments that these CPUs are not suited for realtime applications like our gNB. We strongly advise to use a different platform, best one that supports the regular AVX512 instructions. You can in theory run a RAN with this CPU but dont expect to run stable and I also dont think you wont get much throughput with it. Second I think the NIC's firmware and drivers could be updated if you havent done so yet. Follow the steps below to upgrade the drivers and firmware: Ice driver update:
iavf driver update:
Firmware upgrade:
The installer will confirm that the correct NIC is installed and ask you if you want to proceed with the upgrade. During the upgrade its recommended to make a backup of the current NVME image (you will be prompted with a question). Agree to all. Once finished please send me the output of the FW upgrade to confirm everything worked as expected. Once you have done all these steps please reboot the server. To confirm everything worked out please send me the outputs of the following commands when you get a chance! Thanks!
|
Beta Was this translation helpful? Give feedback.
Hi @inss-lab!
I see two potential issues in your setup. First of all the CPU you are using has Intel's big little architecture. We have seen in many deployments that these CPUs are not suited for realtime applications like our gNB. We strongly advise to use a different platform, best one that supports the regular AVX512 instructions. You can in theory run a RAN with this CPU but dont expect to run stable and I also dont think you wont get much throughput with it.
Second I think the NIC's firmware and drivers could be updated if you havent done so yet. Follow the steps below to upgrade the drivers and firmware:
Ice driver update: