OpenAirInterface OAI eNBおよびOAI UE without S 1インタフェースの実行

10413 ワード

先にOAI eNBを実行し、OAI UEを実行し、実行周波数帯域はLTE FDD Band 7(下り2660 MHz、上り2540 MHz)である

自分のパソコンにUSB 3があるかどうかを確認します。0インタフェース


コマンド:
lsusb

USRPサンプリングレートが需要を満たすかどうかをテストする


コマンド:
sudo /usr/local/lib/uhd/examples/benchmark_rate --tx_rate 7.68e6 --rx_rate 7.68e6 --args "master_clock_rate=30.72e6"

正しい表示結果は
linux; GNU C++ version 4.8.4; Boost_105400; UHD_003.009.004-0-unknown


Creating the usrp device with: master_clock_rate=30.72e6...
-- Detected Device: B210
-- Operating over USB 3.  # USB 3.0
-- Initialize CODEC control...
-- Initialize Radio control...
-- Performing register loopback test... pass
-- Performing register loopback test... pass
-- Performing CODEC loopback test... pass
-- Performing CODEC loopback test... pass
-- Asking for clock rate 30.720000 MHz... 
-- Actually got clock rate 30.720000 MHz.
-- Performing timer loopback test... pass
-- Performing timer loopback test... pass
Using Device: Single USRP:
  Device: B-Series Device
  Mboard 0: B210
  RX Channel: 0
    RX DSP: 0
    RX Dboard: A
    RX Subdev: FE-RX2
  RX Channel: 1
    RX DSP: 1
    RX Dboard: A
    RX Subdev: FE-RX1
  TX Channel: 0
    TX DSP: 0
    TX Dboard: A
    TX Subdev: FE-TX2
  TX Channel: 1
    TX DSP: 1
    TX Dboard: A
    TX Subdev: FE-TX1

Setting device timestamp to 0...
Testing receive rate 7.680000 Msps on 1 channels
Testing transmit rate 7.680000 Msps on 1 channels
#  
Benchmark rate summary: 
  Num received samples:    76971929
  Num dropped samples:     0
  Num overflows detected:  0
  Num transmitted samples: 76868708
  Num sequence errors:     0
  Num underflows detected: 0


Done!

nasmeshカーネルモジュールを読み込み、OAIインタフェースを構成する


nasmeshを読み込む.koは、無線ベアラを構成し、eNBとUEとの間のIP接続コードを以下のように提供する.
cd ~/openairinterface5g/
source oaienv
source ./cmake_targets/tools/init_nas_nos1 eNB

実行終了後、ifcofigコマンドを実行するとoai 0インタフェースが表示され、IPアドレスは10.0.1.1、マスクは255.255.255.255.0です.

eNBの実行


以下のファイルを確認する/openairinterface 5 g/targets/PROJECTS/GENERIC-LTE-EPC/CONF/enb.band7.tm1.usrpb210.conf構成はdownlink_frequency = 2660000000L;プロファイルアドレスは:https://gitlab.eurecom.fr/oai/openairinterface5g/blob/develop/targets/PROJECTS/GENERIC-LTE-EPC/CONF/enb.band7.tm1.usrpb210.conf
そして
cd cmake_targets
sudo -E ./lte_noS1_build_oai/build/lte-softmodem-nos1 -d -O $OPENAIR_TARGETS/PROJECTS/GENERIC-LTE-EPC/CONF/enb.band7.tm1.usrpb210.conf 2>&1 | tee ENB.log

OAI eNBを1台のコンピュータ上で安定的に動作させることに成功した.sudo i 7 zコマンドを実行すると、結果は
Cpu speed from cpuinfo 3392.00Mhz
cpuinfo might be wrong if cpufreq is enabled. To guess correctly try estimating via tsc
Linux's inbuilt cpu_khz code emulated now
True Frequency (without accounting Turbo) 3392 MHz
  CPU Multiplier 34x || Bus clock frequency (BCLK) 99.76 MHz

Socket [0] - [physical cores=4, logical cores=4, max online cores ever=4]
  TURBO DISABLED on 4 Cores, Hyper Threading OFF
  Max Frequency without considering Turbo 3392.00 MHz (99.76 x [34])
  Max TURBO Multiplier (if Enabled) with 1/2/3/4 Cores is  39x/39x/38x/37x
  Real Current Frequency 3392.01 MHz [99.76 x 34.00] (Max of below)
        Core [core-id]  :Actual Freq (Mult.)      C0%   Halt(C1)%  C3 %   C6 %   C7 %  Temp
        Core 1 [0]:       3391.99 (34.00x)       100       0       0       0       0    72
        Core 2 [1]:       3392.01 (34.00x)       100       0       0       0       0    75
        Core 3 [2]:       3392.00 (34.00x)       100       0       0       0       0    74
        Core 4 [3]:       3392.00 (34.00x)       100       0       0       0       0    71



C0 = Processor running without halting
C1 = Processor running with halts (States >C0 are power saver)
C3 = Cores running with PLL turned off and core cache turned off
C6 = Everything in C3 + core state saved to last level cache
  Above values in table are in percentage over the last 1 sec
[core-id] refers to core-id number in /proc/cpuinfo
'Garbage Values' message printed when garbage values are read
  Ctrl+C to exit

CPUフル負荷運転中

UEの実行