srsran / srsRAN_Project

Open source O-RAN 5G CU/DU solution from Software Radio Systems (SRS) https://docs.srsran.com/projects/project
https://www.srsran.com
GNU Affero General Public License v3.0
530 stars 180 forks source link

srsRAN_Project || gNB || Error during Installation and Running #535

Closed LingeshWaran closed 8 months ago

LingeshWaran commented 8 months ago

Issue Description

srsran_performance throws an exception & Unable to start gNB

Setup Details

Dear Sir/Madam, Warm greetings. I am serving as an assistant professor in the dept. of ECE, St. Joseph's College of Engineering,OMR, Chennai, India. I am planning to set up a basic 5G E2E testbed using COTS UE, NI USRP B210, srsRAN_Project and Open5GS Core. I started with srsUE and ZeroMQ libraries to emulate the RF environment. I encountered the following error while installing srsRAN_Project in my laptop with Oracle virtual box running ubuntu with 4 cores and 4GB RAM:

root@5GTIC:/srsRAN_Project# sudo scripts/srsran_performance Would you like to set the CPU governor to performance: [Y/n]: Y *tee: '/sys/devices/system/cpu/cpu/cpufreq/scaling_governor': No such file or directory**

I continued to complete the installation of Zero MQ libraries, srsRAN4G and Open5GS. I was able to start my Core but gNB terminal showed the following exception:

root@5GTIC:/srsRAN_Project/build/apps/gnb# sudo gnb -c /home/lingesh/Downloads/gnb_zmq.yaml The PRACH detector will not meet the performance requirements with the configuration {Format 0, ZCZ 0, SCS 1.25kHz, Rx ports 1}. srsGNB ERROR: The CPU does not support the required CPU features that were configured during compile time: sse4.1(ok) avx(ok) avx2(ok) fma(na) pclmul(ok)

I am able to start UE too. Please help me in this regard. Kindly find the attached snapshots.

Expected Behavior

CPU performance should be tuned and gNB should start

Actual Behaviour

root@5GTIC:/srsRAN_Project# sudo scripts/srsran_performance Would you like to set the CPU governor to performance: [Y/n]: Y *tee: '/sys/devices/system/cpu/cpu/cpufreq/scaling_governor': No such file or directory**

root@5GTIC:/srsRAN_Project/build/apps/gnb# sudo gnb -c /home/lingesh/Downloads/gnb_zmq.yaml The PRACH detector will not meet the performance requirements with the configuration {Format 0, ZCZ 0, SCS 1.25kHz, Rx ports 1}. srsGNB ERROR: The CPU does not support the required CPU features that were configured during compile time: sse4.1(ok) avx(ok) avx2(ok) fma(na) pclmul(ok)

Steps to reproduce the problem

I am planning to set up a basic 5G E2E testbed using COTS UE, NI USRP B210, srsRAN_Project and Open5GS Core. I started with srsUE and ZeroMQ libraries to emulate the RF environment. I encountered these errors gNB GrafanaUI while installing srsRAN_Project in my laptop with Oracle virtual box running ubuntu with 4 cores and 4GB RAM:

Additional Information

[Any additional information, configuration or data that might be necessary to reproduce the issue]

OPEN5GS ZMQUE

ninjab3s commented 8 months ago

Hi @LingeshWaran, we dont recommend to install srsRAN Project in a VM. Due to the real-time requirements of the DU using a VM is usually not straight forward. You need to use a VM that supports real-time applications like ESXi from VMWare [1] and you need to know exactly what you are doing. Is it possible to use a docker in your setup?

Regarding the srsran_performance script: Inside a VM you cannot influence the performance governor of the host system, because the VM doesnt have the rights to modify these parameters.

[1] https://docs.vmware.com/en/VMware-Edge-Compute-Stack/3.0/ecs-enterprise-edge-ref-arch/GUID-99972F62-3FAE-42B2-A850-66402274B616.html

LingeshWaran commented 8 months ago

Dear @ninjab3s, Thanks for your time and consideration. I disabled ISA in the CMakeLists.txt file: L.No.: 69 and commented Have_FMA section to avoid automatic detection. Now, srsRAN is installed in my laptop. srsRAN   Open5GS

ninjab3s commented 8 months ago

Hi @LingeshWaran, I am glad that its working for you. Please close this Discussion if all your issues are resolved.

LingeshWaran commented 8 months ago

Issue resolved.

MRxTIGERRICE commented 5 months ago

Issue Description

srsran_performance throws an exception & Unable to start gNB

Setup Details

Dear Sir/Madam, Warm greetings. I am serving as an assistant professor in the dept. of ECE, St. Joseph's College of Engineering,OMR, Chennai, India. I am planning to set up a basic 5G E2E testbed using COTS UE, NI USRP B210, srsRAN_Project and Open5GS Core. I started with srsUE and ZeroMQ libraries to emulate the RF environment. I encountered the following error while installing srsRAN_Project in my laptop with Oracle virtual box running ubuntu with 4 cores and 4GB RAM:

root@5GTIC:/srsRAN_Project# sudo scripts/srsran_performance Would you like to set the CPU governor to performance: [Y/n]: Y _tee: '/sys/devices/system/cpu/cpu/cpufreq/scalinggovernor': No such file or directory*

I continued to complete the installation of Zero MQ libraries, srsRAN4G and Open5GS. I was able to start my Core but gNB terminal showed the following exception:

root@5GTIC:/srsRAN_Project/build/apps/gnb# sudo gnb -c /home/lingesh/Downloads/gnb_zmq.yaml The PRACH detector will not meet the performance requirements with the configuration {Format 0, ZCZ 0, SCS 1.25kHz, Rx ports 1}. srsGNB ERROR: The CPU does not support the required CPU features that were configured during compile time: sse4.1(ok) avx(ok) avx2(ok) fma(na) pclmul(ok)

I am able to start UE too. Please help me in this regard. Kindly find the attached snapshots.

Expected Behavior

CPU performance should be tuned and gNB should start

Actual Behaviour

root@5GTIC:/srsRAN_Project# sudo scripts/srsran_performance Would you like to set the CPU governor to performance: [Y/n]: Y _tee: '/sys/devices/system/cpu/cpu/cpufreq/scalinggovernor': No such file or directory*

root@5GTIC:/srsRAN_Project/build/apps/gnb# sudo gnb -c /home/lingesh/Downloads/gnb_zmq.yaml The PRACH detector will not meet the performance requirements with the configuration {Format 0, ZCZ 0, SCS 1.25kHz, Rx ports 1}. srsGNB ERROR: The CPU does not support the required CPU features that were configured during compile time: sse4.1(ok) avx(ok) avx2(ok) fma(na) pclmul(ok)

Steps to reproduce the problem

I am planning to set up a basic 5G E2E testbed using COTS UE, NI USRP B210, srsRAN_Project and Open5GS Core. I started with srsUE and ZeroMQ libraries to emulate the RF environment. I encountered these errors gNB GrafanaUI while installing srsRAN_Project in my laptop with Oracle virtual box running ubuntu with 4 cores and 4GB RAM:

Additional Information

[Any additional information, configuration or data that might be necessary to reproduce the issue]

OPEN5GS ZMQUE

How were you utilising grafana in this scenario sir and what plugin did u use specifically?