Changes between Version 48 and Version 49 of Tutorials/4G5G/amarisoft


Ignore:
Timestamp:
Nov 12, 2024, 9:02:20 PM (3 weeks ago)
Author:
prasanthi
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Tutorials/4G5G/amarisoft

    v48 v49  
    334334omf tell -a on -t node21-5,node21-6,node23-5,node24-17
    335335}}}
    336 * Run eth_config_grid.sh to setup the IP address of DATA1 interface and the network buffers
     336* Run eth_config_grid.sh on both the servers to setup the IP address of DATA1 interface and the network buffers
    337337{{{#!shell
    338338root@node21-6:~# ./eth_config_grid.sh
     
    340340net.core.wmem_max = 62500000
    341341}}}
    342 
    343 
     342* Run MME and gNodeB on node21-5. The gNodeB uses X310 23-5 as specified in the config file
     343{{{#!shell
     344root@node21-5:/opt/amarisoft/ltemme-linux-2024-09-13# ./lte_init.sh
     345Select CTRL default interface
     346Configure NAT for CTRL
     347net.ipv4.tcp_congestion_control = bbr
     348net.core.rmem_max = 62500000
     349net.core.wmem_max = 62500000
     350root@node21-5:/opt/amarisoft/ltemme-linux-2024-09-13# ./ltemme config/mme.cfg
     351Core Network version 2024-09-13, Copyright (C) 2012-2024 Amarisoft
     352This software is licensed to Rutgers University (The State University of New Jersey).
     353License server: license.orbit-lab.org (0b-b4-46-dc-2f-83-58-cb)
     354Support and software update available until 2025-08-18.
     355
     356(mme)
     357
     358}}}
     359{{{#!shell
     360root@node21-5:/opt/amarisoft/lteenb-linux-2024-09-13# ./lteenb config/gnb-sa-n77-40M-x310.cfg
     361Base Station version 2024-09-13, Copyright (C) 2012-2024 Amarisoft
     362This software is licensed to Rutgers University (The State University of New Jersey).
     363License server: license.orbit-lab.org (0b-b4-46-dc-2f-83-58-cb)
     364Support and software update available until 2025-08-18.
     365
     366[INFO] [UHD] linux; GNU C++ version 9.4.0; Boost_107100; UHD_4.4.0.HEAD-0-g5fac246b
     367[INFO] [X300] X300 initialization sequence...
     368[INFO] [X300] Maximum frame size: 8000 bytes.
     369[INFO] [X300] Radio 1x clock: 184.32 MHz
     370[WARNING] [RFNOC::GRAPH] One or more blocks timed out during flush!
     371RF0: sample_rate=46.080 MHz dl_freq=3948.960 MHz ul_freq=3948.960 MHz (band n77) dl_ant=2 ul_ant=1
     372Warning, CPU hyperthreading is enabled, we do not recommend using it.
     373(enb) UHD status: L=0 U=0 S=1
     374D
     375(enb) cell phy
     376[gnb0012345] PLMN=310014 gNB_ID=0x12345
     377--------Global-------- -----------DL-------------- -----------UL---------- -----SSB---
     378Cell    RAT BAND  BW P   ARFCN ANT NL SCS  QAM POW   ARCFN ANT NL SCS  QAM   ARFCN SCS
     3790x001    NR  n77  40 0  663264   2  2  30  256 -45  663264   1  1  30  256  662592  30
     380(enb)
     381
     382}}}
     383*Run UE Simulator on node21-6 with USRP 24-17
     384{{{#!shell
     385root@node21-6:/opt/amarisoft/lteue-linux-2024-09-13# ./lteue config/ue-nr-sa-n77-40M-x310.cfg
     386UE version 2024-09-13, Copyright (C) 2012-2024 Amarisoft
     387This software is licensed to Rutgers University (The State University of New Jersey).
     388License server: license.orbit-lab.org (0b-b4-46-dc-2f-83-58-cb)
     389Support and software update available until 2025-08-18.
     390
     391[INFO] [UHD] linux; GNU C++ version 9.4.0; Boost_107100; UHD_4.4.0.HEAD-0-g5fac246b
     392[INFO] [X300] X300 initialization sequence...
     393[INFO] [X300] Maximum frame size: 8000 bytes.
     394[INFO] [X300] Radio 1x clock: 184.32 MHz
     395RF0: sample_rate=46.080 MHz dl_freq=3948.960 MHz ul_freq=3948.960 MHz (band n77) dl_ant=2 ul_ant=1
     396Warning, CPU hyperthreading is enabled, we do not recommend using it.
     397(ue) power_on
     398(ue) Cell 0: SIB found
     399
     400(ue) ue
     401        # UE_ID CL RNTI    RRC_STATE               EMM_STATE #ERAB IP_ADDR
     402  NR    0     1  0 4601      running              registered     1 192.168.2.2
     403(ue)
     404
     405}}}
     406* Throughput testing
     407{{{#!shell
     408root@node21-6:~# ip netns exec ue1 iperf3 -s -B 192.168.2.2
     409-----------------------------------------------------------
     410Server listening on 5201
     411-----------------------------------------------------------
     412
     413}}}
     414{{{#!shell
     415root@node21-5:~# iperf3 -c 192.168.2.2 -b 0 -i 1
     416Connecting to host 192.168.2.2, port 5201
     417[  5] local 192.168.2.1 port 35016 connected to 192.168.2.2 port 5201
     418[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
     419[  5]   0.00-1.00   sec  9.12 MBytes  76.5 Mbits/sec    0    667 KBytes
     420[  5]   1.00-2.00   sec  7.50 MBytes  62.9 Mbits/sec    0    583 KBytes
     421[  5]   2.00-3.00   sec  8.75 MBytes  73.4 Mbits/sec    0    583 KBytes
     422[  5]   3.00-4.00   sec  8.75 MBytes  73.4 Mbits/sec    0    639 KBytes
     423[  5]   4.00-5.00   sec  7.50 MBytes  62.9 Mbits/sec    0    634 KBytes
     424[  5]   5.00-6.00   sec  8.75 MBytes  73.4 Mbits/sec    0    710 KBytes
     425[  5]   6.00-7.00   sec  7.50 MBytes  62.9 Mbits/sec    0    642 KBytes
     426[  5]   7.00-8.00   sec  8.75 MBytes  73.4 Mbits/sec    0    602 KBytes
     427[  5]   8.00-9.00   sec  8.75 MBytes  73.4 Mbits/sec    0    747 KBytes
     428[  5]   9.00-10.00  sec  8.75 MBytes  73.4 Mbits/sec    0    639 KBytes
     429- - - - - - - - - - - - - - - - - - - - - - - - -
     430[ ID] Interval           Transfer     Bitrate         Retr
     431[  5]   0.00-10.00  sec  84.1 MBytes  70.6 Mbits/sec    0             sender
     432[  5]   0.00-10.06  sec  81.0 MBytes  67.5 Mbits/sec                  receiver
     433
     434iperf Done.
     435
     436}}}
     437* When the UE simulator starts, please make sure the RSRP is good enough to achieve a connection and good throughput.
     438In this case, maximum gain on the USRPs, 2X2 MIMO were used to get a good signal strength.
     439{{{#!shell
     440(ue) t
     441Press [return] to stop the trace
     442----------------------Hz---ppm----dB----dBm-----------------------DL---------- ---------------------UL-
     443UE_ID  RAT CL RNTI   CFO   SRO  SINR   RSRP  mcs retx rxko rxok brate     #its  mcs  ta retx   tx brate
     444    1   NR 00    - -1264  -0.3  24.3  -65.0    -    0    0    0     0        -    -  16    0    0     0
     445    1   NR 00    - -1274  -0.3  26.8  -64.8    -    0    0    0     0        -    -  16    0    0     0
     446    1   NR 00    - -1274  -0.3  26.5  -64.7    -    0    0    0     0        -    -  16    0    0     0
     447    1   NR 00    - -1275  -0.3  26.6  -64.8    -    0    0    0     0        -    -  16    0    0     0
     448}}}