Changes between Version 31 and Version 32 of Tutorials/Wireless/mmwave Paam Real TimePHY


Ignore:
Timestamp:
Sep 11, 2024, 7:26:33 PM (2 months ago)
Author:
zhenzhou77
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Tutorials/Wireless/mmwave Paam Real TimePHY

    v31 v32  
    191191
    192192
    193 === Experiment Execution - Simulation Mode: Savannah-mc ===
     193=== Experiment Execution ===
     194==== General information ====
    194195**Notice** For every terminal you opened up, please run:
    195196    {{{#!shell
     
    197198    }}}
    198199
    199 We have already built and installed all the necessary packages for running Savannah, please direct to the {{{~/Savannah/agora-mmwave/}}} folder. We have also provided executables which can help you to do experiments with Savannah called {{{savannah.sh}}}. There are different modes we are able to run and the corresponding configurations are shown in the following. To configure to different modes, please direct to `<savannah folder>/build`, and use `cmake .. -D<VAR>=<OPTION>`.
     200We have already built and installed all the necessary packages for running Savannah, please direct to the {{{~/Savannah/agora-mmwave/}}} folder. There are different modes we are able to run and the corresponding configurations are shown in the following. To configure to different modes, please direct to `<savannah folder>/build`, and use `cmake .. -D<VAR>=<OPTION>`.
    200201
    201202|| [[Image(CMake_flags.png, 500px)]] ||
     
    207208* `SINGLE_THREAD` defines if Savannah merges the only worker thread and the main scheduling thread. When it is set to True, the worker thread count is limited to 1 and is merged with the main thread. When it is set to False, Savannah acts as a multi-thread model as Agora, and has a total thread count is woker threads + 1 (scheduling, main thread).
    208209
     210We have also provided executables that can help you to do experiments with Savannah called {{{savannah.sh}}}. We set the default executable configuration to be {{{tddconfig-sim-ul-fr2-mu3-100Mhz.json}}}. You are also able to choose different configurations to run in {{{Savannah/agora-mmwave/files/config/ci}}}.
     211
     212==== Simulation Mode: Savannah-mc ====
    209213In this section, we are going to cover to how to **Savannah-mc** in **simulation** mode.
    210214
     
    254258}}}
    255259
     260In **terminal 1**, please first generate the binary files by running:
     261{{{#!shell
     262root@srv1-lg1:~/Savannah/agora-mmwave/# ./savannah.sh -g -s
     263}}}
    256264
    257265In **terminal 1**, please execute the following to bring up the UE. UE will first be in standby mode to wait for gNodeB to be brought up.
     
    265273}}}
    266274
     275You are expected to see that both the gNodeB and UE start to run. Specifically on the gNodeB side, you are able to see the following example results during the running process:
     276
     277{{{
     278[32:013004][I] Main [frame 3740 + 0.2467 ms]: Completed LDPC decoding (16 UL symbols)
     279[32:012370][I] Frame 3739 Summary: FFT (16 tasks): 0.00962884 ms (~0.00244206 + 0.00388781 + 0.00192506 ms), CSI (1 tasks): 0.00109823 ms (~0.00014851 + 0.00028384 + 0.000621329 ms), Beamweights (1 tasks): 0.00024467 ms (~2.1534e-05 + 0.000220723 + 0 ms), Equal (16 tasks): 0.0432896 ms (~0 + 0.0373314 + 0.00568367 ms), Demul (16 tasks): 0.00363033 ms (~1.71221e+12 + 0 + 0 ms), Decode (16 tasks): 0.114495 ms (~6.70152e-05 + 0.110071 + 0 ms), Total: 0.172387 ms
     280}}}
     281where it contains the total elpased time for processing a frame and a breakdown of the CPU time for each DSP stage. Taking the above frame as an example, the total elapsed time for processing frame 3740 is 0.2467ms, and the CPU time spent on doing equalization is 0.0432896ms.
     282
     283You can either stop the program by enter {{{ctrl+c}}} or wait till the program stops. The
     284
    267285
    268286=== Experiment Execution - RRU Mode: Savannah-mc ===