Agora-wireless / Agora

Other
53 stars 34 forks source link

Merge Changes from Slot_scheduling_dl onto Develop: Allows Multiple OFDM Symbols to Span a Code Word #424

Closed nnh12 closed 3 months ago

nnh12 commented 8 months ago

This pull requests ports the changes from slot_scheduling_dl onto develop. This feature includes configuration parameters changes to allow multiple OFDM symbols to span a single code word.

Below are my test logs to validate an uplink test.

The following commands were used. The first terminal, we generated the data and on the second terminal we received the transmitted bits:

input_filepath="files/config/ci"
./build/data_generator --conf_file ${input_filepath}/tddconfig-correctness-test-ul.json
./build/test_agora --conf_file ${input_filepath}/tddconfig-correctness-test-ul.json
input_filepath="files/config/ci"
./build/sender --num_threads 1 --core_offset 10 --conf_file ${input_filepath}/tddconfig-correctness-test-ul.json
nnh2@falcon:/space/nhsiao/Agora_develop/Agora$ ./build/test_agora --conf_file ${input_filepath}/tddconfig-correctness-test-ul.json
FlexRAN SDK bblib_lte_ldpc_decoder version sdk-19.04-ea1-1-g3be2380
FlexRAN SDK bblib_common version sdk-19.04-ea1-1-g3be2380
System CPU count 72
NUMA node 0 111111111111111111000000000000000000000000000000000000000000000000000000 CPUs: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
NUMA node 1 000000000000000000111111111111111111000000000000000000000000000000000000 CPUs: 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
Usable Cpu count 35
[27:255572][I] Config: Frame schedule BPPPPPPPPUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU (70 symbols)
[27:255703][W] Rounded the user-defined downlink code rate to the closest standard rate 340/1024.
[27:255715][I] Uplink MCS Info: LDPC: Zc: 128, 1 code blocks per symbol, 2816 information bits per encoding, 6528 bits per encoded code word, decoder iterations: 5, code rate 0.431 (nRows = 31), modulation 64QAM
[27:255717][I] Downlink MCS Info: LDPC: Zc: 64, 1 code blocks per symbol, 1408 information bits per encoding, 4224 bits per encoded code word, decoder iterations: 5, code rate 0.333 (nRows = 46), modulation 16QAM
[27:255720][W] LDPC required Input Buffer size exceeds downlink code block size!, Increased cb padding from 16 to 80 Downlink CB Bytes 176, LDPC Input Min for zc 64:256: 200
[27:255728][I] Config: 8 BS antennas, 8 UE antennas, 8 pilot symbols per frame,
        61 uplink data symbols per frame, 0 downlink data symbols per frame,
        2048 OFDM subcarriers (1200 data subcarriers),
        UL modulation 64QAM, DL modulation 16QAM, Beamforming ZF,
        1 UL codeblocks per symbol, 352 UL bytes per code block,
        1 DL codeblocks per symbol, 176 DL bytes per code block,
        20862 UL MAC data bytes per frame, 21472 UL MAC bytes per frame,
        0 DL MAC data bytes per frame, 0 DL MAC bytes per frame,
        Symbol time 409.600 usec
        Frame time 28672.000 usec
Uplink Max Mac data per-user tp (Mbps) 5.821
Downlink Max Mac data per-user tp (Mbps) 0.000
Radio Network Traffic Peak (Mbps): 120.000
Radio Network Traffic Avg  (Mbps): 118.286
Basestation Network Traffic Peak (Mbps): 960.000
Basestation Network Traffic Avg  (Mbps): 946.286
UE Network Traffic Peak (Mbps): 240.000
UE Network Traffic Avg  (Mbps): 238.286
All UEs Network Traffic Peak (Mbps): 1920.000
All UEs Network Traffic Avg (Mbps): 1906.286
Uplink PAPR 43.24 dB, Downlink PAPR -inf dB, using scale 0.17
[28:063296][I] Agora: project directory [.], RDTSC frequency = 2.30 GHz
[28:090264][I] Agora: Total recip cal receive symbols per frame: 0
[28:090314][I] PacketTxRx: Number of workers 1, Buffers per interface 2800, Number of Total buffers 22400
[28:091785][I] Master thread core 1, TX/RX thread cores 2--2, worker thread cores 3--3
[28:091816][I] Agora: Reading adaptable number of UEs across frames from ./files/experiment/adapt_ueant8.bin
[28:091870][I] PacketTxRxSim[0]: Creating worker handling 8 interfaces starting at 0 - antennas 0:7
[28:091989][W] UDPComm:  Error setting RX buffer size to 536870911 actual size 100000000 with status 0
[28:091993][I] UDPComm socket 4 created 127.0.0.1 :  requested port 8000
[28:092008][W] UDPComm:  Error setting RX buffer size to 536870911 actual size 100000000 with status 0
[28:092027][I] UDPComm socket 5 created 127.0.0.1 :  requested port 8001
[28:092035][W] UDPComm:  Error setting RX buffer size to 536870911 actual size 100000000 with status 0
[28:092036][I] UDPComm socket 6 created 127.0.0.1 :  requested port 8002
[28:092045][W] UDPComm:  Error setting RX buffer size to 536870911 actual size 100000000 with status 0
[28:092046][I] UDPComm socket 7 created 127.0.0.1 :  requested port 8003
[28:092053][W] UDPComm:  Error setting RX buffer size to 536870911 actual size 100000000 with status 0
[28:092054][I] UDPComm socket 8 created 127.0.0.1 :  requested port 8004
[28:092061][W] UDPComm:  Error setting RX buffer size to 536870911 actual size 100000000 with status 0
[28:092061][I] UDPComm socket 9 created 127.0.0.1 :  requested port 8005
[28:092068][W] UDPComm:  Error setting RX buffer size to 536870911 actual size 100000000 with status 0
[28:092068][I] UDPComm socket 10 created 127.0.0.1 :  requested port 8006
[28:092075][W] UDPComm:  Error setting RX buffer size to 536870911 actual size 100000000 with status 0
[28:092076][I] UDPComm socket 11 created 127.0.0.1 :  requested port 8007
[28:212577][I] PacketTxRx: workers synchronized
[28:212627][I] TxRxWorker[0]: synchronized
[50:375174][I] Main [frame 0 + 80727166788.82 ms since last frame]: Received first packet. Remaining packets in prev frame: 0
[50:489841][I] Main [frame 0 + 114.68 ms]: Received all pilots
[50:490061][I] Main [frame 0 + 114.90 ms]: FFT-ed all pilots
[50:490119][I] Frame 0 Pilot Signal SNR (dB) Range at BS Antennas: User 0: [47.8,57.5] User 1: [48.1,56.6] User 2: [52.5,56.5] User 3: [48.2,57.8] User 4: [49.4,56.8] User 5: [47.0,55.9] User 6: [52.2,58.5] User 7: [35.5,57.2]
[50:500255][I] Main [frame 0 + 125.09 ms]: Completed ZF beamweight calc
[50:500288][I] Frame 0 Beamweight matrix inverse condition number range:     [0.00,0.00], Mean: 0.00[51:489342][I] Main [frame 0 + 1114.18 ms]: Received all packets
[51:489697][I] Main [frame 0 + 1114.54 ms]: Completed demodulation
[51:489757][I] Frame 0, Scheduled User(s):
          0        1        2        3        4        5        6        7
  EVM         0        0        0        0        0        0        0        0
  SNR       inf      inf      inf      inf      inf      inf      inf      inf

[51:490185][I] Main [frame 0 + 1115.02 ms]: Completed LDPC decoding (61 UL symbols)
Uplink totals (tasks, frames): CSI (64, 1.00), Beamweights (1200, 1.00), FFT (488, 1.00), Demul (73200, 1.00), Decode (488, 1.00)
Thread 0 performed (tasks, fraction of tasks): FFT (488, 100.00%), CSI (64, 100.00%), Beamweights (1200, 100.00%), Demul (73200, 100.00%), Decode (488, 100.00%), FFT (488, 100.00%),
[51:490396][I] Frame 0 Summary: FFT (488 tasks): 5.45868 ms (~0.530325 + 1.97723 + 2.84671 ms), CSI (64 tasks): 1.89341 ms (~0.0688233 + 0.337804 + 1.4622 ms), Beamweights (1200 tasks): 9.7698 ms (~0.20509 + 0.0426019 + 9.51107 ms), Demul (73200 tasks): 15.8688 ms (~0.706317 + 11.1615 + 2.33923 ms), Decode (488 tasks): 26.6939 ms (~0.018644 + 25.126 + 0 ms), Total: 59.684622 ms
[51:490406][I] Agora: printing stats and saving to file
[51:490407][I] Stats: total processed frames 1
[51:490438][I] Stats: Saving master timestamps to ./files/experiment/timeresult.txt
[51:490558][I] Saving decode data to ./files/experiment/decode_data.bin
[51:490837][I] Saving Frame 0 TX data to ./files/experiment/tx_data.bin
[51:490926][I] UE 0: Uplink bit errors (BER) 0/171776 (0.000000), block errors (BLER) 0/61 (0.000000)
[51:490964][I] UE 1: Uplink bit errors (BER) 0/171776 (0.000000), block errors (BLER) 0/61 (0.000000)
[51:491004][I] UE 2: Uplink bit errors (BER) 0/171776 (0.000000), block errors (BLER) 0/61 (0.000000)
[51:491028][I] UE 3: Uplink bit errors (BER) 0/171776 (0.000000), block errors (BLER) 0/61 (0.000000)
[51:491053][I] UE 4: Uplink bit errors (BER) 0/171776 (0.000000), block errors (BLER) 0/61 (0.000000)
[51:491079][I] UE 5: Uplink bit errors (BER) 0/171776 (0.000000), block errors (BLER) 0/61 (0.000000)
[51:491103][I] UE 6: Uplink bit errors (BER) 0/171776 (0.000000), block errors (BLER) 0/61 (0.000000)
[51:491155][I] UE 7: Uplink bit errors (BER) 0/171776 (0.000000), block errors (BLER) 0/61 (0.000000)
[51:491158][I] Agora: terminating
Start correctness check
[51:493037][I] Opening file ./files/experiment/ul_ldpc_data_2048_ue8.bin
[51:493118][I] Opening file ./files/experiment/decode_data.bin
check_correctness_ul: bs ant 8, ues 8, spatial streams (last frame) 8, ul syms 61, ofdm 1200, ul pilots 0, bytes per UE 352.
======================
uplink test:
Passed uplink test!
======================

=================================
          CORE LIST SUMMARY
=================================
Total Number of Cores: 72 : 36
|| Core ID:  2 || Requested:  1 || ThreadType: Master           || ThreadId: 140651549992384
|| Core ID:  3 || Requested:  2 || ThreadType: TXRX             || ThreadId: 140648024622848
|| Core ID:  4 || Requested:  3 || ThreadType: Worker           || ThreadId: 140648033015552

The following below is a verification of the e2e test. Commands run:

$ ./build/agora --conf_file files/config/ci/chsim.json
$ ./build/chsim --bs_threads 1 --ue_threads 1 --worker_threads 2 --core_offset 24 --conf_file files/config/ci/chsim.json
$ ./build/user --conf_file files/config/ci/chsim.json

Below is a sample of the test logs that are run for the e2e test. As we can see the block errors of this test is all zero.

nnh2@falcon:/space/nhsiao/Agora_develop/Agora$ ./build/user --conf_file files/config/ci/chsim.json
[03:971984][I] Main [frame 35 + 3.37 ms]: Completed LDPC decoding (1 UL symbols)
[03:972012][I] Frame 35 Summary: FFT (96 tasks): 0.101071 ms (~0.00494571 + 0.00828848 + 0.0854432 ms), CSI (128 tasks): 0.296178 ms (~0.00598735 + 0.0115356 + 0.276775 ms), Beamweights (304 tasks): 0.248123 ms (~0.0102807 + 0.00242436 + 0.235094 ms), Demul (912 tasks): 0.0698916 ms (~0.00730068 + 0.0493992 + 0.00164928 ms), Decode (6 tasks): 0.00901584 ms (~0.00395252 + 0.00494756 + 0 ms), Total: 0.724280 ms
[04:361791][I] Main [frame 36 + 393.18 ms since last frame]: Received first packet. Remaining packets in prev frame: 0
[04:363076][I] Main [frame 36 + 1.28 ms]: Received all pilots
[04:363099][I] Main [frame 36 + 1.31 ms]: FFT-ed all pilots
[04:363110][I] Frame 36 Pilot Signal SNR (dB) Range at BS Antennas: User 0: [0.1,23.9] User 1: [-2.2,25.2] (Possible bad antenna 26) User 2: [-9.4,25.4] (Possible bad antenna 25) User 3: [9.9,23.7]
[04:363396][I] Main [frame 36 + 1.61 ms]: Completed ZF beamweight calc
[04:363405][I] Frame 36 Beamweight matrix inverse condition number range:     [0.57,0.70], Mean: 0.62
[04:364968][I] Main [frame 36 + 3.18 ms]: Received all packets
[04:365053][I] Main [frame 36 + 3.26 ms]: Completed demodulation
[04:365065][I] Frame 36, Scheduled User(s):
          0        1
  EVM    87.3707   85.7315
  SNR    1.1727   1.3372

[04:365114][I] Main [frame 36 + 3.32 ms]: Completed LDPC decoding (1 UL symbols)
[04:365136][I] Frame 36 Summary: FFT (96 tasks): 0.0453468 ms (~0.00538495 + 0.00668568 + 0.0308612 ms), CSI (128 tasks): 0.268402 ms (~0.00692851 + 0.0107895 + 0.247908 ms), Beamweights (304 tasks): 0.262175 ms (~0.0110632 + 0.00225392 + 0.248548 ms), Demul (912 tasks): 0.0689895 ms (~0.00865424 + 0.0503577 + 0.000563445 ms), Decode (6 tasks): 0.00902069 ms (~0.00126377 + 0.00761199 + 0 ms), Total: 0.653934 ms
[04:755005][I] Main [frame 37 + 393.21 ms since last frame]: Received first packet. Remaining packets in prev frame: 0
[04:756280][I] Main [frame 37 + 1.28 ms]: Received all pilots
[04:756294][I] Main [frame 37 + 1.29 ms]: FFT-ed all pilots
[04:756303][I] Frame 37 Pilot Signal SNR (dB) Range at BS Antennas: User 0: [4.0,24.2] User 1: [2.8,24.5] User 2: [5.1,24.4] User 3: [1.3,24.1]
[04:756572][I] Main [frame 37 + 1.57 ms]: Completed ZF beamweight calc
[04:756579][I] Frame 37 Beamweight matrix inverse condition number range:     [0.42,0.52], Mean: 0.46
[04:758180][I] Main [frame 37 + 3.18 ms]: Received all packets
[04:758248][I] Main [frame 37 + 3.25 ms]: Completed demodulation
[04:758273][I] Frame 37, Scheduled User(s):
          1        2
  EVM    83.7558   85.8712
  SNR    1.5397   1.3230

[04:758310][I] Main [frame 37 + 3.31 ms]: Completed LDPC decoding (1 UL symbols)
[04:758334][I] Frame 37 Summary: FFT (96 tasks): 0.0458056 ms (~0.00593927 + 0.00681032 + 0.0307839 ms), CSI (128 tasks): 0.238314 ms (~0.00601028 + 0.0102801 + 0.220119 ms), Beamweights (304 tasks): 0.237341 ms (~0.00969015 + 0.00258088 + 0.224763 ms), Demul (912 tasks): 0.0674451 ms (~0.00772246 + 0.046227 + 0.000617285 ms), Decode (6 tasks): 0.00911439 ms (~0.00268965 + 0.00631398 + 0 ms), Total: 0.598020 ms
[05:148544][I] Main [frame 38 + 393.54 ms since last frame]: Received first packet. Remaining packets in prev frame: 0
[05:149472][I] Main [frame 38 + 0.93 ms]: Received all pilots
[05:149487][I] Main [frame 38 + 0.95 ms]: FFT-ed all pilots
[05:149503][I] Frame 38 Pilot Signal SNR (dB) Range at BS Antennas: User 0: [-2.9,24.7] (Possible bad antenna 31) User 1: [4.8,24.6] User 2: [1.7,25.4] User 3: [2.8,24.0]
[05:149911][I] Main [frame 38 + 1.37 ms]: Completed ZF beamweight calc
[05:149918][I] Frame 38 Beamweight matrix inverse condition number range:     [0.43,0.56], Mean: 0.49
[05:151356][I] Main [frame 38 + 2.82 ms]: Received all packets
[05:151484][I] Main [frame 38 + 2.95 ms]: Completed demodulation
[05:151497][I] Frame 38, Scheduled User(s):
          2        3
  EVM    90.7487   91.9665
  SNR    0.8432   0.7274

[05:151558][I] Main [frame 38 + 3.02 ms]: Completed LDPC decoding (1 UL symbols)
[05:151584][I] Frame 38 Summary: FFT (96 tasks): 0.0797687 ms (~0.00633166 + 0.00697815 + 0.0641038 ms), CSI (128 tasks): 0.283848 ms (~0.0116347 + 0.0353712 + 0.234658 ms), Beamweights (304 tasks): 0.380507 ms (~0.012105 + 0.00219247 + 0.365578 ms), Demul (912 tasks): 0.0891185 ms (~0.00868935 + 0.0672552 + 0.00254262 ms), Decode (6 tasks): 0.0120319 ms (~0.00119352 + 0.00993265 + 0 ms), Total: 0.845275 ms
[05:541422][I] Main [frame 39 + 392.88 ms since last frame]: Received first packet. Remaining packets in prev frame: 0
[05:542715][I] Main [frame 39 + 1.29 ms]: Received all pilots
[05:542728][I] Main [frame 39 + 1.31 ms]: FFT-ed all pilots
[05:542737][I] Frame 39 Pilot Signal SNR (dB) Range at BS Antennas: User 0: [6.0,25.2] User 1: [9.2,24.9] User 2: [-0.5,22.9] (Possible bad antenna 4) User 3: [7.3,25.4]
[05:542997][I] Main [frame 39 + 1.58 ms]: Completed ZF beamweight calc
[05:543004][I] Frame 39 Beamweight matrix inverse condition number range:     [0.63,0.78], Mean: 0.71
[05:544605][I] Main [frame 39 + 3.18 ms]: Received all packets
[05:544715][I] Main [frame 39 + 3.29 ms]: Completed demodulation
[05:544724][I] Frame 39, Scheduled User(s):
          0        3
  EVM    86.7884   88.6942
  SNR    1.2308   1.0421

[05:544785][I] Main [frame 39 + 3.36 ms]: Completed LDPC decoding (1 UL symbols)
Uplink totals (tasks, frames): CSI (5120, 40.00), Beamweights (12160, 40.00), FFT (3840, 40.00), Demul (36480, 40.00), Decode (240, 20.00)
Thread 0 performed (tasks, fraction of tasks): FFT (236, 6.15%), CSI (343, 6.70%), Beamweights (1036, 8.52%), Demul (2448, 6.71%), Decode (5, 2.08%), FFT (236, 6.15%),
Thread 1 performed (tasks, fraction of tasks): FFT (204, 5.31%), CSI (361, 7.05%), Beamweights (1058, 8.70%), Demul (2512, 6.89%), Decode (10, 4.17%), FFT (204, 5.31%),
Thread 2 performed (tasks, fraction of tasks): FFT (201, 5.23%), CSI (371, 7.25%), Beamweights (1039, 8.54%), Demul (2896, 7.94%), Decode (3, 1.25%), [05:544808][FFT (201, 5.23%),
Thread 3 performed (tasks, fraction of tasks): FFT (203, 5.29%), CSI (341, 6.66%), Beamweights (1034, 8.50%), Demul (2352, 6.45%), Decode (4, 1.67%), FFT (203, 5.29%),
Thread 4 performed (tasks, fraction of tasks): FFT (235, 6.12%), CSI (363, 7.09%), Beamweights (1041, 8.56%), Demul (2384, 6.54%), Decode (7, 2.92%), FFT (235, 6.12%),
Thread 5 performed (tasks, fraction of tasks): FFT (225, 5.86%), CSI (341, 6.66%), Beamweights (1025, 8.43%), Demul (2752, 7.54%), Decode (10, 4.17%), I] Frame 39 Summary: FFT (96 tasks): 0.154966 ms (~0.0043606 + 0.00697119 + 0.141595 ms), CSI (128 tasks): 0.251346 ms (~0.00562666 + 0.0116559 + 0.232189 ms), Beamweights (304 tasks): 0.23523 ms (~0.00959653 + 0.00213102 + 0.223195 ms), Demul (912 tasks): 0.0857501 ms (~0.0108517 + 0.0527884 + 0.0117915 ms), Decode (6 tasks): 0.0104488 ms (~0.00244414 + 0.00789326 + 0 ms), Total: 0.737740 ms
[05:544813][I] Agora: printing stats and saving to file
[05:544814][I] Stats: total processed frames 40
FFT (225, 5.86%),
Thread 6 performed (tasks, fraction of tasks): FFT (218, 5.68%), CSI (350, 6.84%), Beamweights (1030, 8.47%), Demul (2688, 7.37%), Decode (6, 2.50%), FFT (218, 5.68%),
Thread 7 performed (tasks, fraction of tasks): FFT (241, 6.28%), CSI (360, 7.03%), Beamweights (1040, 8.55%), Demul (2640, 7.24%), Decode (1, 0.42%), FFT (241, 6.28%),
Thread 8 performed (tasks, fraction of tasks): FFT (214, 5.57%), CSI (336, 6.56%), Beamweights (1042, 8.57%), Demul (2736, 7.50%), Decode (4, 1.67%), FFT (214, 5.57%),
Thread 9 performed (tasks, fraction of tasks): FFT (203, 5.29%), CSI (325, 6.35%), Beamweights (1048, 8.62%), Demul (2960, 8.11%), Decode (10, 4.17%), FFT (203, 5.29%),
Thread 10 performed (tasks, fraction of tasks): FFT (819, 21.33%), CSI (798, 15.59%), Beamweights (902, 7.42%), Demul (5024, 13.77%), Decode (93, 38.75%), FFT (819, 21.33%),
Thread 11 performed (tasks, fraction of tasks): FFT (841, 21.90%), CSI (831, 16.23%), Beamweights (865, 7.11%), Demul (5088, 13.95%), Decode (87, 36.25%), FFT (841, 21.90%),
[05:544956][I] Stats: Saving master timestamps to ./files/experiment/timeresult.txt
[05:551430][I] UE 0: Uplink bit errors (BER) 0/7840 (0.000000), block errors (BLER) 0/20 (0.000000)
[05:551437][I] UE 1: Uplink bit errors (BER) 0/7840 (0.000000), block errors (BLER) 0/20 (0.000000)
[05:551439][I] UE 2: Uplink bit errors (BER) 0/7840 (0.000000), block errors (BLER) 0/20 (0.000000)
[05:551446][I] UE 3: Uplink bit errors (BER) 0/7840 (0.000000), block errors (BLER) 0/20 (0.000000)
[05:551446][I] Agora: terminating
=================================
          CORE LIST SUMMARY
=================================
Total Number of Cores: 72 : 36
|| Core ID:  6 || Requested:  5 || ThreadType: Master           || ThreadId: 140535138391488
|| Core ID:  7 || Requested:  6 || ThreadType: TXRX             || ThreadId: 140532224493312
|| Core ID:  8 || Requested:  7 || ThreadType: Worker           || ThreadId: 140532325205760
|| Core ID:  9 || Requested:  8 || ThreadType: Worker           || ThreadId: 140532316813056
|| Core ID: 10 || Requested:  9 || ThreadType: Worker           || ThreadId: 140532308420352
|| Core ID: 11 || Requested: 10 || ThreadType: Worker           || ThreadId: 140532300027648
|| Core ID: 12 || Requested: 11 || ThreadType: Worker           || ThreadId: 140532291634944
|| Core ID: 13 || Requested: 12 || ThreadType: Worker           || ThreadId: 140532283242240
|| Core ID: 14 || Requested: 13 || ThreadType: Worker           || ThreadId: 140532274849536
|| Core ID: 15 || Requested: 14 || ThreadType: Worker           || ThreadId: 140532266456832
|| Core ID: 16 || Requested: 15 || ThreadType: Worker           || ThreadId: 140532258064128
|| Core ID: 17 || Requested: 16 || ThreadType: Worker           || ThreadId: 140532249671424
|| Core ID: 18 || Requested: 17 || ThreadType: Worker           || ThreadId: 140532241278720
|| Core ID: 19 || Requested: 18 || ThreadType: Worker           || ThreadId: 140532232886016
=================================
nnh2@falcon:/space/nhsiao/Agora_develop/Agora$ ./build/chsim --bs_threads 1 --ue_threads 1 --worker_threads 2 --core_offset 24 --conf_file files/config/ci/chsim.json
[59:249083][I] (Frame 23): Finished uplink   reception    of 7 symbols in 0.062mS
[59:253143][I] (Frame 23): Finished uplink   transmission of 7 symbols in 4.061mS (rx to tx), 2.999mS (tx to tx)
[59:641910][I] (Frame 24): Finished downlink reception    of 1 symbols in 0.000mS
[59:642135][I] (Frame 24): Finished downlink transmission of 1 symbols in 0.225mS (rx to tx), 0.000mS (tx to tx)
[59:642323][I] (Frame 24): Finished uplink   reception    of 7 symbols in 0.065mS
[59:646343][I] (Frame 24): Finished uplink   transmission of 7 symbols in 4.020mS (rx to tx), 2.965mS (tx to tx)
[00:035130][I] (Frame 25): Finished downlink reception    of 1 symbols in 0.000mS
[00:035357][I] (Frame 25): Finished downlink transmission of 1 symbols in 0.227mS (rx to tx), 0.000mS (tx to tx)
[00:035533][I] (Frame 25): Finished uplink   reception    of 7 symbols in 0.065mS
[00:039602][I] (Frame 25): Finished uplink   transmission of 7 symbols in 4.070mS (rx to tx), 2.993mS (tx to tx)
[00:428346][I] (Frame 26): Finished downlink reception    of 1 symbols in 0.000mS
[00:428657][I] (Frame 26): Finished downlink transmission of 1 symbols in 0.312mS (rx to tx), 0.000mS (tx to tx)
[00:428842][I] (Frame 26): Finished uplink   reception    of 7 symbols in 0.067mS
[00:433059][I] (Frame 26): Finished uplink   transmission of 7 symbols in 4.219mS (rx to tx), 3.138mS (tx to tx)
[00:821563][I] (Frame 27): Finished downlink reception    of 1 symbols in 0.000mS
[00:821794][I] (Frame 27): Finished downlink transmission of 1 symbols in 0.231mS (rx to tx), 0.000mS (tx to tx)
[00:821961][I] (Frame 27): Finished uplink   reception    of 7 symbols in 0.064mS
[00:825979][I] (Frame 27): Finished uplink   transmission of 7 symbols in 4.018mS (rx to tx), 2.959mS (tx to tx)
[01:214775][I] (Frame 28): Finished downlink reception    of 1 symbols in 0.000mS
[01:215002][I] (Frame 28): Finished downlink transmission of 1 symbols in 0.227mS (rx to tx), 0.000mS (tx to tx)
[01:215206][I] (Frame 28): Finished uplink   reception    of 7 symbols in 0.063mS
[01:219234][I] (Frame 28): Finished uplink   transmission of 7 symbols in 4.028mS (rx to tx), 2.950mS (tx to tx)
[01:607992][I] (Frame 29): Finished downlink reception    of 1 symbols in 0.000mS
[01:608217][I] (Frame 29): Finished downlink transmission of 1 symbols in 0.226mS (rx to tx), 0.000mS (tx to tx)
[01:608400][I] (Frame 29): Finished uplink   reception    of 7 symbols in 0.064mS
[01:612415][I] (Frame 29): Finished uplink   transmission of 7 symbols in 4.014mS (rx to tx), 2.960mS (tx to tx)
[02:001230][I] (Frame 30): Finished downlink reception    of 1 symbols in 0.000mS
[02:001472][I] (Frame 30): Finished downlink transmission of 1 symbols in 0.249mS (rx to tx), 0.000mS (tx to tx)
[02:001665][I] (Frame 30): Finished uplink   reception    of 7 symbols in 0.065mS
[02:005690][I] (Frame 30): Finished uplink   transmission of 7 symbols in 4.026mS (rx to tx), 2.963mS (tx to tx)
[02:394424][I] (Frame 31): Finished downlink reception    of 1 symbols in 0.000mS
[02:394654][I] (Frame 31): Finished downlink transmission of 1 symbols in 0.231mS (rx to tx), 0.000mS (tx to tx)
[02:394878][I] (Frame 31): Finished uplink   reception    of 7 symbols in 0.073mS
[02:398922][I] (Frame 31): Finished uplink   transmission of 7 symbols in 4.044mS (rx to tx), 2.979mS (tx to tx)
[02:787644][I] (Frame 32): Finished downlink reception    of 1 symbols in 0.000mS
[02:787871][I] (Frame 32): Finished downlink transmission of 1 symbols in 0.227mS (rx to tx), 0.000mS (tx to tx)
[02:788055][I] (Frame 32): Finished uplink   reception    of 7 symbols in 0.062mS
[02:792077][I] (Frame 32): Finished uplink   transmission of 7 symbols in 4.022mS (rx to tx), 2.954mS (tx to tx)
[03:180857][I] (Frame 33): Finished downlink reception    of 1 symbols in 0.000mS
[03:181081][I] (Frame 33): Finished downlink transmission of 1 symbols in 0.225mS (rx to tx), 0.000mS (tx to tx)
[03:181245][I] (Frame 33): Finished uplink   reception    of 7 symbols in 0.061mS
[03:185277][I] (Frame 33): Finished uplink   transmission of 7 symbols in 4.034mS (rx to tx), 2.971mS (tx to tx)
[03:574079][I] (Frame 34): Finished downlink reception    of 1 symbols in 0.000mS
[03:574304][I] (Frame 34): Finished downlink transmission of 1 symbols in 0.226mS (rx to tx), 0.000mS (tx to tx)
[03:574507][I] (Frame 34): Finished uplink   reception    of 7 symbols in 0.065mS
[03:578568][I] (Frame 34): Finished uplink   transmission of 7 symbols in 4.061mS (rx to tx), 2.997mS (tx to tx)
[03:967285][I] (Frame 35): Finished downlink reception    of 1 symbols in 0.000mS
[03:967511][I] (Frame 35): Finished downlink transmission of 1 symbols in 0.227mS (rx to tx), 0.000mS (tx to tx)
[03:967747][I] (Frame 35): Finished uplink   reception    of 7 symbols in 0.065mS
[03:971820][I] (Frame 35): Finished uplink   transmission of 7 symbols in 4.073mS (rx to tx), 3.003mS (tx to tx)
[04:360501][I] (Frame 36): Finished downlink reception    of 1 symbols in 0.000mS
[04:360737][I] (Frame 36): Finished downlink transmission of 1 symbols in 0.237mS (rx to tx), 0.000mS (tx to tx)
[04:360920][I] (Frame 36): Finished uplink   reception    of 7 symbols in 0.062mS
[04:364963][I] (Frame 36): Finished uplink   transmission of 7 symbols in 4.043mS (rx to tx), 2.964mS (tx to tx)
[04:753717][I] (Frame 37): Finished downlink reception    of 1 symbols in 0.000mS
[04:753943][I] (Frame 37): Finished downlink transmission of 1 symbols in 0.226mS (rx to tx), 0.000mS (tx to tx)
[04:754120][I] (Frame 37): Finished uplink   reception    of 7 symbols in 0.065mS
[04:758148][I] (Frame 37): Finished uplink   transmission of 7 symbols in 4.027mS (rx to tx), 2.959mS (tx to tx)
[05:146933][I] (Frame 38): Finished downlink reception    of 1 symbols in 0.000mS
[05:147161][I] (Frame 38): Finished downlink transmission of 1 symbols in 0.229mS (rx to tx), 0.000mS (tx to tx)
[05:147372][I] (Frame 38): Finished uplink   reception    of 7 symbols in 0.072mS
[05:151349][I] (Frame 38): Finished uplink   transmission of 7 symbols in 3.977mS (rx to tx), 2.965mS (tx to tx)
[05:540152][I] (Frame 39): Finished downlink reception    of 1 symbols in 0.000mS
[05:540377][I] (Frame 39): Finished downlink transmission of 1 symbols in 0.225mS (rx to tx), 0.000mS (tx to tx)
[05:540540][I] (Frame 39): Finished uplink   reception    of 7 symbols in 0.062mS
[05:544599][I] (Frame 39): Finished uplink   transmission of 7 symbols in 4.059mS (rx to tx), 2.991mS (tx to tx)
^C[06:116831][I] Destroying channel simulator
Channel Simulator Exit
=================================
          CORE LIST SUMMARY
=================================
Total Number of Cores: 72 : 36
|| Core ID: 25 || Requested: 24 || ThreadType: Master           || ThreadId: 139981471638912
|| Core ID: 26 || Requested: 25 || ThreadType: TXRX             || ThreadId: 139980006893312
|| Core ID: 27 || Requested: 26 || ThreadType: TXRX             || ThreadId: 139979998500608
|| Core ID: 28 || Requested: 27 || ThreadType: Worker           || ThreadId: 139980180702976
|| Core ID: 29 || Requested: 28 || ThreadType: Worker           || ThreadId: 139980015286016
nnh2@falcon:/space/nhsiao/Agora_develop/Agora$ ./build/user --conf_file files/config/ci/chsim.json
[02:787882][I] PhyUe [frame 32 + 0.03 ms]: Completed encoding
[02:787885][I] PhyUe [frame 32 + 0.03 ms]: Completed iFFT
[02:787895][I] PhyUe [frame 32 + 0.04 ms]: Completed iFFT
[02:787898][I] PhyUe [frame 32 + 0.04 ms]: Completed modulation
[02:787912][I] PhyUe [frame 32 + 0.06 ms]: Completed iFFT
[02:787914][I] PhyUe [frame 32 + 0.06 ms]: Completed iFFT
[02:788020][I] PhyUe [frame 32 + 0.17 ms]: Completed TX
[03:181066][I] PhyUe [frame 33 + 393.21 ms since last frame]: Received first packet. Remaining packets in prev frame: 0
[03:181074][I] PhyUe [frame 33 + 0.01 ms]: Completed iFFT
[03:181110][I] PhyUe [frame 33 + 0.04 ms]: Completed iFFT
[03:181112][I] PhyUe [frame 33 + 0.05 ms]: Received all packets
[03:181124][I] PhyUe [frame 33 + 0.06 ms]: Completed encoding
[03:181128][I] PhyUe [frame 33 + 0.06 ms]: Completed modulation
[03:181135][I] PhyUe [frame 33 + 0.07 ms]: Completed iFFT
[03:181146][I] PhyUe [frame 33 + 0.08 ms]: Completed iFFT
[03:181202][I] PhyUe [frame 33 + 0.14 ms]: Completed TX
[03:574289][I] PhyUe [frame 34 + 393.22 ms since last frame]: Received first packet. Remaining packets in prev frame: 0
[03:574302][I] PhyUe [frame 34 + 0.02 ms]: Completed iFFT
[03:574305][I] PhyUe [frame 34 + 0.02 ms]: Completed iFFT
[03:574350][I] PhyUe [frame 34 + 0.06 ms]: Completed iFFT
[03:574400][I] PhyUe [frame 34 + 0.11 ms]: Received all packets
[03:574411][I] PhyUe [frame 34 + 0.12 ms]: Completed encoding
[03:574414][I] PhyUe [frame 34 + 0.13 ms]: Completed modulation
[03:574433][I] PhyUe [frame 34 + 0.15 ms]: Completed iFFT
[03:574471][I] PhyUe [frame 34 + 0.18 ms]: Completed TX
[03:967494][I] PhyUe [frame 35 + 393.21 ms since last frame]: Received first packet. Remaining packets in prev frame: 0
[03:967508][I] PhyUe [frame 35 + 0.01 ms]: Completed iFFT
[03:967513][I] PhyUe [frame 35 + 0.02 ms]: Completed iFFT
[03:967532][I] PhyUe [frame 35 + 0.04 ms]: Completed iFFT
[03:967606][I] PhyUe [frame 35 + 0.11 ms]: Received all packets
[03:967616][I] PhyUe [frame 35 + 0.12 ms]: Completed encoding
[03:967623][I] PhyUe [frame 35 + 0.13 ms]: Completed modulation
[03:967657][I] PhyUe [frame 35 + 0.16 ms]: Completed iFFT
[03:967710][I] PhyUe [frame 35 + 0.22 ms]: Completed TX
[04:360721][I] PhyUe [frame 36 + 393.23 ms since last frame]: Received first packet. Remaining packets in prev frame: 0
[04:360742][I] PhyUe [frame 36 + 0.02 ms]: Received all packets
[04:360748][I] PhyUe [frame 36 + 0.03 ms]: Completed iFFT
[04:360761][I] PhyUe [frame 36 + 0.04 ms]: Completed iFFT
[04:360763][I] PhyUe [frame 36 + 0.04 ms]: Completed encoding
[04:360764][I] PhyUe [frame 36 + 0.04 ms]: Completed modulation
[04:360766][I] PhyUe [frame 36 + 0.05 ms]: Completed iFFT
[04:360768][I] PhyUe [frame 36 + 0.05 ms]: Completed iFFT
[04:360879][I] PhyUe [frame 36 + 0.16 ms]: Completed TX
[04:753927][I] PhyUe [frame 37 + 393.21 ms since last frame]: Received first packet. Remaining packets in prev frame: 0
[04:753937][I] PhyUe [frame 37 + 0.01 ms]: Completed iFFT
[04:753973][I] PhyUe [frame 37 + 0.05 ms]: Received all packets
[04:753975][I] PhyUe [frame 37 + 0.05 ms]: Completed iFFT
[04:753977][I] PhyUe [frame 37 + 0.05 ms]: Completed encoding
[04:753978][I] PhyUe [frame 37 + 0.05 ms]: Completed iFFT
[04:753979][I] PhyUe [frame 37 + 0.05 ms]: Completed modulation
[04:753988][I] PhyUe [frame 37 + 0.06 ms]: Completed iFFT
[04:754081][I] PhyUe [frame 37 + 0.16 ms]: Completed TX
[05:147147][I] PhyUe [frame 38 + 393.22 ms since last frame]: Received first packet. Remaining packets in prev frame: 0
[05:147156][I] PhyUe [frame 38 + 0.01 ms]: Completed iFFT
[05:147163][I] PhyUe [frame 38 + 0.02 ms]: Completed iFFT
[05:147194][I] PhyUe [frame 38 + 0.05 ms]: Completed iFFT
[05:147258][I] PhyUe [frame 38 + 0.11 ms]: Received all packets
[05:147268][I] PhyUe [frame 38 + 0.12 ms]: Completed encoding
[05:147271][I] PhyUe [frame 38 + 0.12 ms]: Completed modulation
[05:147291][I] PhyUe [frame 38 + 0.14 ms]: Completed iFFT
[05:147323][I] PhyUe [frame 38 + 0.18 ms]: Completed TX
[05:540361][I] PhyUe [frame 39 + 393.22 ms since last frame]: Received first packet. Remaining packets in prev frame: 0
[05:540379][I] PhyUe [frame 39 + 0.02 ms]: Completed iFFT
[05:540381][I] PhyUe [frame 39 + 0.02 ms]: Completed iFFT
[05:540383][I] PhyUe [frame 39 + 0.02 ms]: Received all packets
[05:540390][I] PhyUe [frame 39 + 0.03 ms]: Completed encoding
[05:540396][I] PhyUe [frame 39 + 0.04 ms]: Completed modulation
[05:540399][I] PhyUe [frame 39 + 0.04 ms]: Completed iFFT
[05:540428][I] PhyUe [frame 39 + 0.07 ms]: Completed iFFT
[05:540502][I] PhyUe [frame 39 + 0.14 ms]: Completed TX
[05:540507][I] PhyUe: Stopping threads
[05:541641][I] Joining Phy worker: 0 : 2
[05:541648][I] Joining PhyUe worker 0
[05:541651][I] Joining Phy worker: 1 : 2
[05:541653][I] Joining PhyUe worker 1
[05:541665][I] UeWorker[0] Terminated
[05:541672][I] UeWorker[1] Terminated
=================================
          CORE LIST SUMMARY
=================================
Total Number of Cores: 72 : 36
|| Core ID:  2 || Requested:  1 || ThreadType: Master           || ThreadId: 139727907943872
|| Core ID:  3 || Requested:  2 || ThreadType: TXRX             || ThreadId: 139725178816256
|| Core ID:  4 || Requested:  3 || ThreadType: Worker           || ThreadId: 139725200516864
|| Core ID:  5 || Requested:  4 || ThreadType: Worker           || ThreadId: 139725191988992
=================================
asedlmayr commented 3 months ago

Develop has changed a bit, so we are reworking part of this feature.