Packet level delay in 5G toolbox

10 views (last 30 days)
laha_M
laha_M on 2 Sep 2022
Answered: Sudarsanan A K on 9 Oct 2023
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 Comments
Nadezda
Nadezda on 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 on 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.

Sign in to comment.

Answers (1)

Sudarsanan A K
Sudarsanan A K on 9 Oct 2023
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.

Categories

Find more on Graphics Performance in Help Center and File Exchange

Tags

Products


Release

R2022a

Community Treasure Hunt

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

Start Hunting!