Packet level delay in 5G toolbox

Is it possible to measure packet level delay (delay faced by individual packets) in the 5G toolbox? If so, how?
I want to implement an uplink scenario where the UEs upload traffic to the gNB (following the existing standards in 5G). I need to measure the delay faced by individual packets. Any suggestions?

2 Kommentare

Nadezda
Nadezda am 9 Jun. 2023
Yes, I am actually facing the same problem. It would be nice to get some informantion on how we can track it.
laha_M
laha_M am 10 Jun. 2023
Hi. No, I have not. It seemed to me MATLAB 5G toolbox is only considering like a byte stream rather than packets. I also needed more flexibility from upper layers, which were not there on MATLAB. So, I switched to Simu5G on OMNET++. Not sure, if they have built anything new after that.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Sudarsanan A K
Sudarsanan A K am 9 Okt. 2023

0 Stimmen

Hello Laha,
I understand that you are trying to measure the delay faced by individual packets in a 5G uplink scenario using the 5G Toolbox.
As of now, there is no feature that allows user to directly achieve this. However, there are indirect ways in which you can accomplish the same. Here are some suggestions for measuring packet-level delay:
  • Use the logging features at the desired layer, provided by the 5G Toolbox, to capture the timestamps of packet transmission and reception.
  • Calculate the delay for each packet by subtracting the transmission timestamp from the reception timestamp.
  • Store the delay values in an array or a log file for further analysis.
Note that the specific implementation details may vary depending on your simulation setup and requirements.
Please refer to the answer provided in the MATLAB Answer for a similar query.
I hope this helps you to have an example where you could compute the delay incurred by individual packets by following the steps mentioned above and in the answer of the related question.

Kategorien

Mehr zu System-Level Simulation finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2022a

Tags

Gefragt:

am 2 Sep. 2022

Beantwortet:

am 9 Okt. 2023

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by