On Saturday, October 19, 2013 3:16:42 PM UTC+1, khc...@siswa.um.edu.my wrote:Hi Konstantinos,
I am trying to get the delay values for LTE X2 Handover procedure. I used an approach similar to approach (1) you mentioned to get the delay for packet. I used trace source to get the time (with the command Simulator::Now()) when Handover procedure starts and another trace source to get the time (with the command Simulator::Now()) when Handover procedure ends. Then i minus to calculate the delay value.
However, the delay values for all the Handover procedures I calculated are the same although I changed to use different parameters, which I think is weird.
Do you have any idea/suggestion on how can correct it?
I do not have any experience with what the 'expected' delay for handover should be. Perhaps your scenario is 'small', not too much traffic that would cause notable delays or you do not consider the assumptions for the X2 interfaces that LTE has made (ideal signalling channels). I would recommend to study the NS-3 documentation on the LTE module more carefully.Also note that in NS-3 there is no consideration of processing delay. If an event is scheduled at the same time then you wouldn't see delays. For example if after the HO starts and event to make this HO is at the same time, without any queueing etc, then the end of the HO would be at the same time.
Or do you know how do the program compute the time values returned by the Simulator::Now() command?
Simulator::Now() returns the current simulation time. What do you mean how it computes it? It is from the internal timer that NS-3 has to keep time.
Config::SetDefault ("ns3::EpcHelper::X2LinkDelay", TimeValue (MilliSeconds(100)));
I noticed that the difference between time T1 and T2 (the delay) has increased. But again the delay obtained is constant for all HO that occurred. So, I thought that perhaps the program might have some method to determine what time values to return depending on the parameters we set?
In my scenario, I am expecting to see changes in delay values with different speed of User Equipment movement.
void OnOffApplication::SendPacket (). The UdpSocketFactory you say, just creates a socket, it does not send the packet.
Hi Konstantinos,
I am trying to get the delay values for LTE X2 Handover procedure. I used an approach similar to approach (1) you mentioned to get the delay for packet. I used trace source to get the time (with the command Simulator::Now()) when Handover procedure starts and another trace source to get the time (with the command Simulator::Now()) when Handover procedure ends. Then i minus to calculate the delay value.
However, the delay values for all the Handover procedures I calculated are the same although I changed to use different parameters, which I think is weird.
Do you have any idea/suggestion on how can correct it?
Or do you know how do the program compute the time values returned by the Simulator::Now() command?
Any comment is appreciated.
Next time please also read and follow the posting guidelines.
https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
These will help you ask good questions, provide all the information needed to give you helpful answers, and enable others to learn from the discussion by keeping one topic per thread.
Good luck,
Peter