<div dir="ltr"><div>Hi, Junxiao. Thanks for replying. To limit the PIT I put the following line code in onInconmingInterest at forwarder.cpp: <br></div><div><br></div><div>if (m_pit.size() <= MAX_PIT_SIZE) {</div><div>  // Do the Interest pipeline process <br></div><div>  ...<br></div><div>} else</div><div>return;  // Drop interest</div><div><br></div><div>Is that a "correct" way to achieve a PIT limitation?</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-12-04 11:37 GMT-03:00 Junxiao Shi <span dir="ltr"><<a href="mailto:shijunxiao@email.arizona.edu" target="_blank">shijunxiao@email.arizona.edu</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Mateus<div><br><div class="gmail_extra"><div class="gmail_quote"><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>can someone tell me how can I set the default PIT size (1) and the entry lifetime (2)? </div></div></blockquote><div><br></div></span><div>NFD does not limit PIT size. It crashes when running out memory.</div><div><a href="https://redmine.named-data.net/issues/1301" target="_blank">https://redmine.named-data.<wbr>net/issues/1301</a> aims at limiting table size when memory becomes scarce. However, it's never assigned or worked on.</div><div><br></div><div>PIT entry lifetime is set according to InterestLifetime received from downstream, among other factors such as strategy.</div><div>You may influence PIT entry lifetime by increasing or decreasing InterestLifetime set at consumer.</div><div><br></div><div>Yours, Junxiao</div></div></div></div></div>
</blockquote></div><br></div>