<div dir="ltr">Thanks you Junxiao,<div>That is correct. Though  I have a really silly question regarding the correct syntax. </div><div>I am trying to override default value for freshness. I spent good amount of time figuring this out, but no luck.<br>I am getting search results for ndnSim, but not for mini-ndn.</div><div>I made changes in /usr/local/etc/ndn/nfd.conf file<br><br>Is this the way I write it? Additionally , how do I set interestLifetime as well?</div><div><br></div><div><br></div><div><div><i>; The tables section configures the CS, PIT, FIB, Strategy Choice, and Measurements </i><i>tables</i></div><div><i>{</i></div><div><i>  ; ContentStore size limit in number of packets</i></div><div><i>  ; default is 65536, about 500MB with 8KB packet size</i></div><div><i>  cs_max_packets 65000</i></div><div><i>  //FreshnessPeriod 10000mS     //WHAT is correct syntax?</i></div><div><i>  //FreshnessPeriod=11000mS</i></div><div><br></div><div>I am new to mini-ndn. I appreciate your time and help. </div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Nov 24, 2017 at 9:35 AM, Junxiao Shi <span dir="ltr"><<a href="mailto:shijunxiao@email.arizona.edu" target="_blank">shijunxiao@email.arizona.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Aman<br><div class="gmail_extra"><div class="gmail_quote"><span class=""><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>I am trying to see if I request 2 interest packets with the same name back to back, the second interest should be satisfied at the requesting node itself.</div></div></blockquote></span><div>Yes, but only if the cached Data satisfies the Interest selectors.</div><span class=""><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><b>Steps followed :</b></div><div>> sudo minindn</div><div>mini-ndn> d ndnpingserver /ndn/d-site/d &</div><div>mini-ndn> a ndnping /ndn/d-site/d -c1 -n 55555<br></div></div></blockquote></span><div>ndnpingserver is invoked with default settings: FreshnessPeriod of the Data packet is 1000ms. </div><span class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><br><b>host A get the contents back . with RTT 45ms apprx.</b></div><div>cs::Insert() adds the content to the CS.</div></div></blockquote></span><div>According to screenshot, this occurs at 1511480463.948688.</div><span class=""><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><br></div><div>Now I immediately execute the same request again, keeping sequence number same.</div><div> mini-ndn> a ndnpin /ndn/d-site/d -c1 -n 55555<br></div></div></blockquote></span><div> ndnping is invoked with default settings: Interest carries MustBeFresh selector. </div><span class=""><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Now I see in Content store log, the cs::Find() does not finds entry in CS. (I believe it should be already there)</div></div></blockquote></span><div>The cached Data has become stale at 1511480464.948688. When processing the Interest at 1511480467.711965, the Data does not satisfy the Interest because it violates MustBeFresh selector. Hence, the CS rightfully returns "no-match".</div><span class=""><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>The packet goes all the way to host D, and again <b>when data packet is returned to host A, cs::insert() is called on host A</b>.</div><div><br></div><div><b>Expected outcome</b>.</div><div>second interest should be satisfied by cs::Find() at host A itself with very small RTT. <br><br>Attaching log screenshot.</div><div><br></div><div><img src="cid:ii_15feb48a7ca88329" alt="Inline image 1" width="560" height="130" style="margin-right:0px"><br></div></div></blockquote></span><div>Next time paste the log as text, not screenshot or attachment.</div><span class=""><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div></div><br>Any idea if I am doing something wrong? Thank you in advance.<span class="m_8091213137238938122gmail-HOEnZb"><font color="#888888"><br clear="all"><div><br></div></font></span></div></blockquote><div><br></div></span><div>Yours, Junxiao</div></div></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><b><font size="2">Regards,</font></b><font size="2"><b><i><br></i><font size="4"><span style="color:rgb(0,102,0)"><span style="background-color:rgb(255,255,255)">M<span></span>r. Maldar Aman M.</span></span></font></b></font><font size="4"><b><span style="color:rgb(0,102,0)"><span style="background-color:rgb(255,255,255)"><span></span><span></span></span></span></b></font><br><b>University of Massachusetts, Lowell</b><br></div></div></div></div>
</div>