[ndnSIM] How to calculate RTT in ndnSIM

Spyridon (Spyros) Mastorakis mastorakis at cs.ucla.edu
Fri Jul 13 19:02:18 PDT 2018


Hi,

I would suggest you implement a queue of outstanding Interests on your own. Every time you send out an Interest, you record the name and the timestamp. When a data packet comes back, you find the corresponding Interest name in this queue and you calculate the RTT of each Interest/Data exchange. The overall RTT can be the average of the RTT of all the Interest/Data exchanges (or you can use some sort of moving average if you want).

Thanks,

Spyridon (Spyros) Mastorakis
Personal Website: http://cs.ucla.edu/~mastorakis/ <http://cs.ucla.edu/~mastorakis/>
Internet Research Laboratory
Computer Science Department
UCLA

> On Jul 13, 2018, at 8:56 AM, madhurima buragohain <madhurimajya at gmail.com> wrote:
> 
> Hi All, 
> 
> Could anyone can help me how to calculate RTT using ndn-rtt-estimator.cpp file? or any other alternative solution.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20180713/39c03721/attachment.html>


More information about the ndnSIM mailing list