[ndnSIM] Counting total individual Interest packets

Spyridon Mastorakis smastorakis at unomaha.edu
Tue Oct 27 19:16:25 PDT 2020


Hi,

You can modify the consumer application to create a vector of the names of the Interests that your consumer sends over time. Then for every new interest, you can check whether the name is in this vector. If so, this interest is a retransmission. If not, it is a new interest. Then for every new interest you can increment a counter and print this counter at the end of your simulation.

Thanks,

Spyridon (Spyros) Mastorakis
Assistant Professor
Computer Science Department
University of Nebraska, Omaha
Peter Kiewit Institute Room 175A
https://sites.google.com/site/spyridonmastorakis

On Oct 20, 2020, at 4:29 PM, Pawan Subedi via ndnSIM <ndnsim at lists.cs.ucla.edu<mailto:ndnsim at lists.cs.ucla.edu>> wrote:

Dear Team,

I have a simple 3*3 grid scenario, with two far-ends nodes as Producer and Consumer respectively. Moreover, the consumer (using ConsumerCbr) is set to send out Interest every 5 seconds, and also the lifetime of the Interest packet is set to 4 seconds (with RetxTimer set to 4.5 seconds). The simulation is running for 59 seconds.
With this scenario, I could see that the consumer is retransmitting Interest for some packet (I was able to verify this based on AppDelay traces as there were different values for lastDelay and Full Delay for 3 sequence numbers, and also from L3RateTraces, where the consumer node is showing 3 InTimedOutInterest at AppFace).  My concern in this setup is as follows:
In L3RateTraces, for consumer node, the count of appFace InInterest is 12 but I was expecting it to be 15 with 12 regular Interests and 3 retransmissions. Moreover, the sequence numbers in App delay traces range from 0 to 8 (inclusive) only.
Could you please explain what could have caused this? At the same time, how should I count the total Interest packets (excluding retransmissions) sent out by the consumer, at present I was using simulation time/frequency, which I think isn't working here.

Thank you!

Sincerely,
Pawan Subedi
_______________________________________________
ndnSIM mailing list
ndnSIM at lists.cs.ucla.edu<mailto:ndnSIM at lists.cs.ucla.edu>
https://urldefense.proofpoint.com/v2/url?u=http-3A__www.lists.cs.ucla.edu_mailman_listinfo_ndnsim&d=DwICAg&c=Cu5g146wZdoqVuKpTNsYHeFX_rg6kWhlkLF8Eft-wwo&r=eI5Bh74ovG-uIXQ5ksQETSPgRFzmJXjIZXneCqw580E&m=4SSdzDdGPX33o-2jsc2PpP5l-x3sC-WkboGSCMda1yA&s=aCrSQgLbSjOv0U24W0vmx8H7H9t43Ka8SUIwRObFQE8&e=

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


More information about the ndnSIM mailing list