From 494dad9f7a1825f7c83382ad789a75488f5f4d80 Mon Sep 17 00:00:00 2001 From: luis_pereira87 Date: Fri, 16 Dec 2022 08:49:36 +0000 Subject: [PATCH 1/3] Tutorials: Add a note to run OAI gNB with min_rxtxtime 6 when using OAI UE --- doc/NR_SA_CN5G_gNB_USRP_COTS_UE_Tutorial.md | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/NR_SA_CN5G_gNB_USRP_COTS_UE_Tutorial.md b/doc/NR_SA_CN5G_gNB_USRP_COTS_UE_Tutorial.md index fccab23cf8..398810b339 100644 --- a/doc/NR_SA_CN5G_gNB_USRP_COTS_UE_Tutorial.md +++ b/doc/NR_SA_CN5G_gNB_USRP_COTS_UE_Tutorial.md @@ -238,6 +238,7 @@ docker exec -it oai-ext-dn iperf -u -t 86400 -i 1 -fk -B 192.168.70.135 -b 100M Important notes: - This should be run in a second Ubuntu 20.04 host, other than gNB - It only applies when running OAI gNB with USRP B210 +- OAI gNB must run with the following flag: `--gNBs.[0].min_rxtxtime 6` Run OAI UE ```bash From fe146678ce05f2b86226d4b3ba45c223bc5976e0 Mon Sep 17 00:00:00 2001 From: luis_pereira87 Date: Fri, 16 Dec 2022 08:53:12 +0000 Subject: [PATCH 2/3] Tutorials: rename UE to nrUE --- doc/NR_SA_CN5G_gNB_USRP_COTS_UE_Tutorial.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/NR_SA_CN5G_gNB_USRP_COTS_UE_Tutorial.md b/doc/NR_SA_CN5G_gNB_USRP_COTS_UE_Tutorial.md index 398810b339..fcb89cbfea 100644 --- a/doc/NR_SA_CN5G_gNB_USRP_COTS_UE_Tutorial.md +++ b/doc/NR_SA_CN5G_gNB_USRP_COTS_UE_Tutorial.md @@ -17,7 +17,7 @@ [[_TOC_]] # 1. Scenario -In this tutorial we describe how to configure and run a 5G end-to-end setup with OAI CN5G, OAI gNB, OAI UE and COTS UE. +In this tutorial we describe how to configure and run a 5G end-to-end setup with OAI CN5G, OAI gNB, OAI nrUE and COTS UE. Minimum hardware requirements: - Laptop/Desktop/Server for OAI CN5G and OAI gNB @@ -233,14 +233,14 @@ iperf -s -u -i 1 -B 12.1.1.2 docker exec -it oai-ext-dn iperf -u -t 86400 -i 1 -fk -B 192.168.70.135 -b 100M -c 12.1.1.2 ``` -## 5.2 Testing with OAI UE -### 5.2.1 Testing with OAI UE with USRP B210 +## 5.2 Testing with OAI nrUE +### 5.2.1 Testing with OAI nrUE with USRP B210 Important notes: - This should be run in a second Ubuntu 20.04 host, other than gNB - It only applies when running OAI gNB with USRP B210 - OAI gNB must run with the following flag: `--gNBs.[0].min_rxtxtime 6` -Run OAI UE +Run OAI nrUE ```bash cd ~/openairinterface5g source oaienv @@ -248,12 +248,12 @@ cd cmake_targets/ran_build/build sudo ./nr-uesoftmodem -r 106 --numerology 1 --band 78 -C 3619200000 --nokrnmod --ue-fo-compensation --sa -E --uicc0.imsi 001010000000001 --uicc0.nssai_sd 1 ``` -### 5.2.2 Testing with OAI UE with RFsimulator +### 5.2.2 Testing with OAI nrUE with RFsimulator Important notes: - This should be run on the same host as the OAI gNB - It only applies when running OAI gNB with RFsimulator -Run OAI UE with RFsimulator +Run OAI nrUE with RFsimulator ```bash cd ~/openairinterface5g source oaienv From 5db45c102400c2a17fc912cba378bb74017ca2e4 Mon Sep 17 00:00:00 2001 From: luis_pereira87 Date: Fri, 16 Dec 2022 09:01:11 +0000 Subject: [PATCH 3/3] Tutorials: Enable Performance Mode in Ubuntu 22 --- doc/NR_SA_CN5G_gNB_USRP_COTS_UE_Tutorial.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/NR_SA_CN5G_gNB_USRP_COTS_UE_Tutorial.md b/doc/NR_SA_CN5G_gNB_USRP_COTS_UE_Tutorial.md index fcb89cbfea..8d82b1964f 100644 --- a/doc/NR_SA_CN5G_gNB_USRP_COTS_UE_Tutorial.md +++ b/doc/NR_SA_CN5G_gNB_USRP_COTS_UE_Tutorial.md @@ -292,6 +292,8 @@ sudo ethtool -G enp1s0f0 tx 4096 rx 4096 ``` ## 6.2 Real-time performance workarounds +- Enable Performance Mode in Ubuntu 22: + - Settings/Power/Power Mode: Performance - If you get real-time problems on heavy UL traffic, reduce the maximum UL MCS using an additional command-line switch: `--MACRLCs.[0].ul_max_mcs 14`. ## 6.3 Uplink issues related with noise on the DC carriers