<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hi Fabrizio,<div><br></div><div>This could have been related to the bug that I recently fixed.  Can you try again with the most recent version of ndnSIM and see if the problem still exists.</div><div><br></div><div>Also, do you have a specific reason to use SerializedSize policy?</div><div><br></div><div>---</div><div>Alex</div><div><br><div><div>On Dec 8, 2013, at 8:38 AM, fabrizio saponaro <<a href="mailto:fab.batta@gmail.com">fab.batta@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">I hope someone can help me!</div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/12/2 fabrizio saponaro <span dir="ltr"><<a href="mailto:fab.batta@gmail.com" target="_blank">fab.batta@gmail.com</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,<div>I would to know the size of the PIT memory occupied, I saw the topic at this link (<a href="http://www.lists.cs.ucla.edu/pipermail/ndnsim/2013-February/000070.html" target="_blank">http://www.lists.cs.ucla.edu/pipermail/ndnsim/2013-February/000070.html</a>) and so now I'm using the SerializedSize policy, but I've a doubt.</div>

<div>According to documentation the MaxSize parameter would be in bytes, but, why if I put a number as 10, 10000, or 0.001 my result it's always the same?</div><div><br></div><div>In my network the only consumer is a ConsumerCbr with frequency at 10000 interest per second, I want to know the usage memory of the pit of the first router on the path of the Interest toward the producer and for now, if set different pit size and I try to print the pitstats for this router, my result is always:</div>

<div><div>1<span style="white-space:pre-wrap">             </span>5<span style="white-space:pre-wrap">        </span>rtr-2<span style="white-space:pre-wrap">   </span>10280</div><div>2.15462<span style="white-space:pre-wrap">     </span>5<span style="white-space:pre-wrap">       </span>rtr-2<span style="white-space:pre-wrap">   </span>20233</div>

3.30924<span style="white-space:pre-wrap">      </span>5<span style="white-space:pre-wrap">       </span>rtr-2<span style="white-space:pre-wrap">   </span>20000</div>4.28132<span style="white-space:pre-wrap">        </span>5<span style="white-space:pre-wrap">       </span>rtr-2<span style="white-space:pre-wrap">   </span>20000<div>

...</div><div><br></div><div>So, how is it possible that if the size pit is in bytes I got more of 20000 entries with a size of 10 bytes, and why I cannot get the amount of bytes occupied?</div><div><br></div><div>Best regards,</div>

<div>Fabrizio</div></div>
</blockquote></div><br></div>
_______________________________________________<br>ndnSIM mailing list<br><a href="mailto:ndnSIM@lists.cs.ucla.edu">ndnSIM@lists.cs.ucla.edu</a><br>http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim<br></blockquote></div><br></div></body></html>