<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"><base href="x-msg://1852/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">L2Tracer (there is no ndn namespace) shows number of packets dropped due to queue overflows.  In many cases of normal NDN communication, number of incoming interests is not equal to number of outgoing interests (same for data), as NDN router (in general) performing much more operations than just forwarding packets.<div><div><br></div><div>For example, if the same data piece is requested from two different neighbors, only the first interest will be forwarded, the second one will be either "collapsed" or satisfied from caches.   When Data packet comes, if there is no corresponding PIT entry (or entries), Data packet will be dropped (without L2Tracer knowing it).  If there is a PIT entry with multiple incoming faces (or multiple PIT entries), then more than one Data packet will be forwarded out.<br><div><br></div><div>At the same time, if you have a simple simulation where consumers requests unique pieces of content, then your formula should be correct, unless you're using forwarding strategy that enforces interest limits (e.g., PerOutFaceLimits).  How big is the number discrepancy?</div><div><br></div><div>---</div><div>Alex</div><div><br><div><div>On Mar 18, 2013, at 2:41 AM, Hovaidi Ardestani Mohammad <<a href="mailto:mohammad.hovaidi.ardestani@aalto.fi">mohammad.hovaidi.ardestani@aalto.fi</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div lang="EN-GB" link="#0563C1" vlink="#954F72" style="font-family: Monaco; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div class="WordSection1" style="page: WordSection1; "><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">Hello everybody!<o:p></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">I am thinking that the following formula should give us the number of dropped packets.<o:p></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">Number of Dropped packets = (Number of received interests + number of received data packets) - (Number of sent interests + number of sent data packets).<o:p></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">If above formula is correct, then why on earth number of dropped packets shown by ndn::L2RateTracer is not equal with that?<o:p></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">Thank you for your response in advance!<o:p></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">-Mohammad<span><o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><o:p> </o:p></div></div>_______________________________________________<br>ndnSIM mailing list<br><a href="mailto:ndnSIM@lists.cs.ucla.edu" style="color: rgb(149, 79, 114); text-decoration: underline; ">ndnSIM@lists.cs.ucla.edu</a><br><a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" style="color: rgb(149, 79, 114); text-decoration: underline; ">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br></div></blockquote></div><br></div></div></div></body></html>