<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Short answer: The expiration time of a PIT entry is equal to the lifetime of the corresponding Interest.<div class=""><br class=""></div><div class="">Longer answer: Take a look at this piece of code: <a href="https://github.com/named-data/NFD/blob/4f8dd96fbff60a80e34dbe4a8d470e5273b75ccb/daemon/table/pit-face-record.cpp#L45-L49" class="">https://github.com/named-data/NFD/blob/4f8dd96fbff60a80e34dbe4a8d470e5273b75ccb/daemon/table/pit-face-record.cpp#L45-L49</a></div><div class=""><br class=""></div><div class="">You can change the expiration time of a PIT entry through this file (e.g., make it independent of the Interest lifetime).</div><div class=""><br class=""></div><div class="">Also, for wireless scenarios you need to deal with collisions (adding a random timer for Interest transmission should work).</div><div class=""><br class=""></div><div class="">Thanks,</div><div class=""><br class=""><div class="">
<div class=""><div class=""><div class=""><span class="" style="float: none; display: inline !important;">Spyridon (Spyros) Mastorakis</span><br class=""><span class="" style="float: none; display: inline !important;">Personal Website: </span><a href="http://cs.ucla.edu/~mastorakis/" class="">http://cs.ucla.edu/~mastorakis/</a><br class=""><span class="" style="float: none; display: inline !important;">Internet Research Laboratory</span><br class=""><span class="" style="float: none; display: inline !important;">Computer Science Department</span><br class=""><span class="" style="float: none; display: inline !important;">UCLA</span></div></div></div>
</div>
<div><br class=""><blockquote type="cite" class=""><div class="">On Dec 30, 2018, at 7:23 PM, Jack Baldasso <<a href="mailto:jackbaldasso@gmail.com" class="">jackbaldasso@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div dir="ltr" class="">Hi,<div class=""><br class=""></div><div class="">On older versions of the simulator, we could prevent duplicate Interests from being propagated by doing something like </div><div class="">`Config::SetDefault ("ns3::ndn::Pit::PitEntryPruningTimout", StringValue ("1s"));` for ndnSIM 1.0, or `<span style="white-space: pre-wrap;" class="">ndnHelper.SetPit ("ns3::ndn::pit::Lru","PitEntryPruningTimout","1");` for newer versions, but that call is gone from the newer version.</span></div><div class=""><span style="white-space: pre-wrap;" class=""><br class=""></span></div><div class=""><span style="white-space: pre-wrap;" class="">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?</span></div><div class=""><span style="white-space: pre-wrap;" class=""><br class=""></span></div><div class=""><span style="white-space: pre-wrap;" class="">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. </span></div><div class=""><span style="white-space: pre-wrap;" class="">Example: one node is requesting the same Interest 15 times in a 50 ms span.</span></div><div class=""><span style="white-space: pre-wrap;" class="">Application timeout is the default 2s.</span></div><div class=""><br class=""></div><div class=""><span style="white-space: pre-wrap;" class=""><br class=""></span></div><div class=""><span style="white-space: pre-wrap;" class=""><br class=""></span></div><div class=""><span style="white-space: pre-wrap;" class="">Thanks</span></div><div class=""><span style="white-space: pre-wrap;" class=""><br class=""></span></div><div class=""><br class=""></div></div></div></div></blockquote></div><br class=""></div></body></html>