On Friday, 15 February 2013 14:16:18 UTC+1, mohit shah wrote:
Hi Rudolf,
Thanks for letting me know of this. Kindly answer this one question of mine related to the same parameter:
When we say endToendDelay of the application/message, does it measure the difference between the time the message was created at the application layer of the source minus the time the message reaches the application layer of the destination i.e. endToendDelay is sum of [processing delay at source + network transmission delay]
Yes except, the other way: currentTime - messageCreationTime (messageAge(rcvdPk) is actually doing this calculation. See src/base/ResultFilters.cc). It is calculated on the received packet emitted. Obviously this is an application level packet if we are speaking about the endToEdnDelay of the application module.
OR
it its the difference between time the message was sent from the physical layer of source and time it reaches the lowest layer of the destination i.e. endToendDelay is just the network transmission delay?
No, the creation time of the physical layer message (i.e. when the message was put out to the physical medium) is available only inside the physical layer message. Once you decapsulate the content of the message (i.e. pass the content up to the network layer) that information is lost. When the packet is delivered to the TcpApplication it is excatly the same packet that was originally created in the source at the application level.
Be careful with the messageAge() function in statistics, though: some applications (notably the ICMP echo service) tend to send back the same message that was received. This means that the endToEndDelay measured in a ping application is actually the WHOLE roundtrip time.