[ndnSIM] How packet loss is recovered?

Spyridon (Spyros) Mastorakis mastorakis at cs.ucla.edu
Mon May 21 19:04:41 PDT 2018


I am not sure I understand what you meant about “flooding an Interest”. How exactly an Interest will be forwarded has to do with the forwarding strategy, which is on an entirely different layer than the application.

In any case, yes, the consumer maintains some sort of list of sent Interests. You can take a look at the base class consumer code:

https://github.com/named-data-ndnSIM/ndnSIM/blob/master/apps/ndn-consumer.hpp <https://github.com/named-data-ndnSIM/ndnSIM/blob/master/apps/ndn-consumer.hpp>
https://github.com/named-data-ndnSIM/ndnSIM/blob/master/apps/ndn-consumer.cpp <https://github.com/named-data-ndnSIM/ndnSIM/blob/master/apps/ndn-consumer.cpp>

Thanks,

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

> On May 21, 2018, at 10:38 AM, Mudasir Qazi <mudasirqazi00 at gmail.com> wrote:
> 
> So the consumer keeps a list of unsatisfied interests? and next time it is flooding an interest it will first look into this list, if any interest is pending then it will be flooded first?
> 
> On Mon, 21 May 2018 at 22:35, Spyridon (Spyros) Mastorakis <mastorakis at cs.ucla.edu <mailto:mastorakis at cs.ucla.edu>> wrote:
> Hi Mudasir,
> 
> the default mechanism for recovering lost packets has been implemented on the consumer-end, and is based on RTT estimations. The consumer estimates the RTT to the producer, if a data packet is not received within this amount of time, then the consumer will retransmit.
> 
> There is another mechanism that can is performed on layer 2 by NFD, which is a hop-by-hop best effort loss recovery scheme and has to be separately enabled in the simulations.
> 
> Thanks,
> 
> Spyridon (Spyros) Mastorakis
> Personal Website: http://cs.ucla.edu/~mastorakis/ <http://cs.ucla.edu/~mastorakis/>
> Internet Research Laboratory
> Computer Science Department
> UCLA
> 
> 
> 
> 
>> On May 21, 2018, at 10:14 AM, Mudasir Qazi <mudasirqazi00 at gmail.com <mailto:mudasirqazi00 at gmail.com>> wrote:
>> 
>> Hi,
>> 
>> I have a general question about the recovery of a lost packet in ndnSIM 2.3. Let's say, we have a consumer (ndn-consumer.cpp) which has requested packets ( '/prefix/%FE%00', '/prefix/%FE%01' and '/prefix/%FE%02' ) in a sequence. The producer (ndn-producer.cpp) replied with the data packets. Let's say some how, data reply of '/prefix/%FE%01' is lost and never received at consumer. How the consumer will get those lost data packets? Would it send request for next packet i.e., '/prefix/%FE%03' or it will send request of '/prefix/%FE%01' again? What phenomenon is used in ndnSIM 2.3.
>> 
>> (please answer with the code file name and methods which are called to recover a lost packet)
>> 
>> -- 
>> Regards,
>> Mudasir Qazi
> 
> 
> 
> -- 
> Regards,
> Mudasir Qazi

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


More information about the ndnSIM mailing list