[ndnSIM] How to change PIT Entry Timeout on ndnSIM 2.6

Spyridon (Spyros) Mastorakis mastorakis at cs.ucla.edu
Sun Dec 30 09:52:02 PST 2018


Short answer: The expiration time of a PIT entry is equal to the lifetime of the corresponding Interest.

Longer answer: Take a look at this piece of code: https://github.com/named-data/NFD/blob/4f8dd96fbff60a80e34dbe4a8d470e5273b75ccb/daemon/table/pit-face-record.cpp#L45-L49 <https://github.com/named-data/NFD/blob/4f8dd96fbff60a80e34dbe4a8d470e5273b75ccb/daemon/table/pit-face-record.cpp#L45-L49>

You can change the expiration time of a PIT entry through this file (e.g., make it independent of the Interest lifetime).

Also, for wireless scenarios you need to deal with collisions (adding a random timer for Interest transmission should work).

Thanks,

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

> On Dec 30, 2018, at 7:23 PM, Jack Baldasso <jackbaldasso at gmail.com> wrote:
> 
> Hi,
> 
> On older versions of the simulator, we could prevent duplicate Interests from being propagated by doing something like 
> `Config::SetDefault ("ns3::ndn::Pit::PitEntryPruningTimout", StringValue ("1s"));` for ndnSIM 1.0, or `ndnHelper.SetPit ("ns3::ndn::pit::Lru","PitEntryPruningTimout","1");` for newer versions, but that call is gone from the newer version.
> 
> I couldn't find it in the docs nor in recent mailing list posts. Is there a way to perform this custom setting? Do I have to change the NFD > PIT settings?
> 
> The reason for this is that I'm simulating a wireless network and I'm seeing nodes requesting the same Interest dozens of times in a very short period, despite the fact that I set my request rate to be 0.1 Int/sec. 
> Example: one node is requesting the same Interest 15 times in a 50 ms span.
> Application timeout is the default 2s.
> 
> 
> 
> Thanks
> 
> 

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


More information about the ndnSIM mailing list