<html><head><meta http-equiv="Content-Type" content="text/html charset=GB2312"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Hi huyao,</div><div><br></div>The retransmission timeout is automatically calculated based on the observed RTT samples similar, but not exactly, like TCP is doing.  So, there is no direct control for that.<div><br></div><div>If you want a quick and dirty solution to disable retransmissions, you can comment out lines 310-313 in ndn-consumer.cc (<a href="https://github.com/NDN-Routing/ndnSIM/blob/master/apps/ndn-consumer.cc#L310">https://github.com/NDN-Routing/ndnSIM/blob/master/apps/ndn-consumer.cc#L310</a>).  This way, timeouts would happen, but no action will be triggered.<br><div><br></div><div>---</div><div>Alex</div><div><div><br><div><div>On Apr 22, 2013, at 4:57 PM, Smallcat <<a href="mailto:huyao0107@gmail.com">huyao0107@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div bgcolor="#FFFFFF"><div>Hi Alex,</div><div><br></div><div>Thanks for explanation. One more question about the timeout of an interest before retransmission?  How much is the time? Could I modify it easily in ndnsim?</div><div><br></div><div>Regards,</div><div>huyao<br><br><br></div><div><br>ÔÚ 2013-4-23£¬3:21£¬Alex Afanasyev <<a href="mailto:alexander.afanasyev@ucla.edu">alexander.afanasyev@ucla.edu</a>> Ð´µÀ£º<br><br></div><div></div><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"><div>Hi again,</div><div><br></div><div>If in your scenario you don't need retransmission at all, then you can write a simple requester app, similar to this one <a href="http://ndnsim.net/applications.html#dumb-requester">http://ndnsim.net/applications.html#dumb-requester</a>.  There is no way (at least as of right now) to disable retransmissions.</div><div><br></div><div>Packets column in rate tracer refers to estimated rate in terms of packets.  If you need actual number of packets within last period, then there is PacketsRaw column for that.</div><div><br></div><div>---</div><div>Alex</div><br><div><div>On Apr 20, 2013, at 5:09 AM, yao hu <<a href="mailto:huyao0107@gmail.com">huyao0107@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">Hi Alex,<div><br></div><div>Yes. In my scenario, the network configuration is the same as the example. I just applied my forwarding strategy into it making part of interests sent from face 0 and 1 simultaneously. So there is traffic on both interface 0 and 1. </div>
<div><br></div><div style="">Thanks for your explanation about L3RateTracer. Just now I also found that the more I print logging information (including self-written logging information), the less "Tx Packets" in visualizer or "PacketRaw" of "OutInterests" in L3RateTracer is. As you said before, the missing Interests are from the Interest retransmission which is also deemed as new Interests in "Cbr". So is there a way to decrease the Interest retransmission (at best to 0) from the time viewpoint? </div>
<div style=""><br></div><div style="">Another question is about the value of "Packets" column in rate-trace.txt. Why its value is not an integer? It refers to the layer 1 (or layer 2) packets which is not a ndn packet?</div>

<div><br></div><div>Thanks for your point-out for "<span style="font-family:arial,sans-serif;font-size:14px">DidSendOutInterest"</span>. I added m_outInterests() to my CustomStrategy::DidSendOutInterest. the <span style="font-family:arial,sans-serif;font-size:14px">OutInterests value works well. </span></div>
<div><span style="font-family:arial,sans-serif;font-size:14px"><br></span></div><div style=""><span style="font-family:arial,sans-serif;font-size:14px">Regards,</span></div><div style=""><span style="font-family:arial,sans-serif;font-size:14px">huyao</span></div>
<div style=""><span style="font-family:arial,sans-serif;font-size:14px"><br></span></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/4/20 Alex Afanasyev <span dir="ltr"><<a href="mailto:alexander.afanasyev@ucla.edu" target="_blank">alexander.afanasyev@ucla.edu</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div>Hi huyao,</div><div><br></div><div>I run the grid scenario in visualizer with displaying interface statistics and i got exactly 2000 for interface 0 and 0 for interface 1:</div>
<div><br></div><div><span><stats.png></span></div><div><br></div><div>Did you make any other modification to the scenario?  I really wonder how can you get any traffic on interface 1 in this scenario, as there should not be anything at all...</div>
<div><br></div><div>About L3RateTracer. The line "20<span style="white-space:pre-wrap">    </span>Node0<span style="white-space:pre-wrap">   </span>2<span style="white-space:pre-wrap">       </span>dev=local(2)<span style="white-space:pre-wrap">    </span>InInterests" tells you rate/number of interests that were received by NDN stack from the application face.  From the application point of view, these are outgoing interests, but from the NDN stack point of view (since L3 tracer presents NDN stack point of view), these are incoming.   I still don't really understand why do you have traffic on both interfaces... I suppose this is something that your custom forwarding strategy is doing?</div>
<div><br></div><div>Btw. If in your strategy you're not using "TrySendOutInterest" method of the base class, then to have proper L3 logging you need to call DidSendOutInterest after interest were successfully sent out.  Right now I see inconsistencies in numbers reported by L3RateTracer: line "20<span style="white-space:pre-wrap">      </span>Node0<span style="white-space:pre-wrap">   </span>0<span style="white-space:pre-wrap">       </span>dev[0]=net(0,0-1)<span style="white-space:pre-wrap">       </span>OutInterests<span style="white-space:pre-wrap">    </span>0<span style="white-space:pre-wrap">       </span>0<span style="white-space:pre-wrap">       </span>0<span style="white-space:pre-wrap">       </span>0" should be non-zero.</div>
<div><br></div><div>---</div><div>Alex</div><div><div class="h5"><div><br></div><div><div>On Apr 19, 2013, at 8:16 AM, yao hu <<a href="mailto:huyao0107@gmail.com" target="_blank">huyao0107@gmail.com</a>> wrote:</div>
<br><blockquote type="cite"><div dir="ltr">Hi Alex,<div><br></div><div>"Tx Packets" is from the "interface statistics" (right click the node from the ns3 visualizer) of the node0 which is the data requester in this grid scenario. Just now I tried it again by setting interest frequency as 100 (for 20 seconds), still the "Tx Packets" is 1805 (interface 0) and 22 (interface 1). The missing "Tx Packets" (around 200) are from the interest retransmission? I also used the L3RateTracer following your instruction (as follows).  The "PacketRaw" column of </div>

<div>20<span style="white-space:pre-wrap">        </span>Node0<span style="white-space:pre-wrap">   </span>2<span style="white-space:pre-wrap">       </span>dev=local(2)<span style="white-space:pre-wrap">    </span>InInterests </div>
<div>refers the number of outgoing interest packets? Then what is the difference between this "2000" and that "1805"?</div><div><br></div><div>Thanks very much for your time!</div><div>
<br></div><div><div>Time<span style="white-space:pre-wrap">     </span>Node<span style="white-space:pre-wrap">    </span>FaceId<span style="white-space:pre-wrap">  </span>FaceDescr<span style="white-space:pre-wrap">       </span>Type<span style="white-space:pre-wrap">    </span>Packets<span style="white-space:pre-wrap"> </span>Kilobytes<span style="white-space:pre-wrap">       </span>PacketRaw<span style="white-space:pre-wrap">       </span>KilobytesRaw</div>

<div>20<span style="white-space:pre-wrap">        </span>Node0<span style="white-space:pre-wrap">   </span>0<span style="white-space:pre-wrap">       </span>dev[0]=net(0,0-1)<span style="white-space:pre-wrap">       </span>InInterests<span style="white-space:pre-wrap">     </span>0<span style="white-space:pre-wrap">       </span>0<span style="white-space:pre-wrap">       </span>0<span style="white-space:pre-wrap">       </span>0</div>

<div>20<span style="white-space:pre-wrap">        </span>Node0<span style="white-space:pre-wrap">   </span>0<span style="white-space:pre-wrap">       </span>dev[0]=net(0,0-1)<span style="white-space:pre-wrap">       </span>OutInterests<span style="white-space:pre-wrap">    </span>0<span style="white-space:pre-wrap">       </span>0<span style="white-space:pre-wrap">       </span>0<span style="white-space:pre-wrap">       </span>0</div>

<div>20<span style="white-space:pre-wrap">        </span>Node0<span style="white-space:pre-wrap">   </span>0<span style="white-space:pre-wrap">       </span>dev[0]=net(0,0-1)<span style="white-space:pre-wrap">       </span>DropInterests<span style="white-space:pre-wrap">   </span>0<span style="white-space:pre-wrap">       </span>0<span style="white-space:pre-wrap">       </span>0<span style="white-space:pre-wrap">       </span>0</div>

<div>20<span style="white-space:pre-wrap">        </span>Node0<span style="white-space:pre-wrap">   </span>0<span style="white-space:pre-wrap">       </span>dev[0]=net(0,0-1)<span style="white-space:pre-wrap">       </span>InNacks<span style="white-space:pre-wrap"> </span>0<span style="white-space:pre-wrap">       </span>0<span style="white-space:pre-wrap">       </span>0<span style="white-space:pre-wrap">       </span>0</div>

<div>20<span style="white-space:pre-wrap">        </span>Node0<span style="white-space:pre-wrap">   </span>0<span style="white-space:pre-wrap">       </span>dev[0]=net(0,0-1)<span style="white-space:pre-wrap">       </span>OutNacks<span style="white-space:pre-wrap">        </span>0<span style="white-space:pre-wrap">       </span>0<span style="white-space:pre-wrap">       </span>0<span style="white-space:pre-wrap">       </span>0</div>

<div>20<span style="white-space:pre-wrap">        </span>Node0<span style="white-space:pre-wrap">   </span>0<span style="white-space:pre-wrap">       </span>dev[0]=net(0,0-1)<span style="white-space:pre-wrap">       </span>DropNacks<span style="white-space:pre-wrap">       </span>0<span style="white-space:pre-wrap">       </span>0<span style="white-space:pre-wrap">       </span>0<span style="white-space:pre-wrap">       </span>0</div>

<div>20<span style="white-space:pre-wrap">        </span>Node0<span style="white-space:pre-wrap">   </span>0<span style="white-space:pre-wrap">       </span>dev[0]=net(0,0-1)<span style="white-space:pre-wrap">       </span>InData<span style="white-space:pre-wrap">  </span>71.72<span style="white-space:pre-wrap">   </span>74.0581<span style="white-space:pre-wrap"> </span>1793<span style="white-space:pre-wrap">    </span>1851.45</div>

<div>20<span style="white-space:pre-wrap">        </span>Node0<span style="white-space:pre-wrap">   </span>0<span style="white-space:pre-wrap">       </span>dev[0]=net(0,0-1)<span style="white-space:pre-wrap">       </span>OutData<span style="white-space:pre-wrap"> </span>0<span style="white-space:pre-wrap">       </span>0<span style="white-space:pre-wrap">       </span>0<span style="white-space:pre-wrap">       </span>0</div>

<div>20<span style="white-space:pre-wrap">        </span>Node0<span style="white-space:pre-wrap">   </span>0<span style="white-space:pre-wrap">       </span>dev[0]=net(0,0-1)<span style="white-space:pre-wrap">       </span>DropData<span style="white-space:pre-wrap">        </span>0.12<span style="white-space:pre-wrap">    </span>0.12375<span style="white-space:pre-wrap"> </span>3<span style="white-space:pre-wrap">       </span>3.09375</div>

<div>20<span style="white-space:pre-wrap">        </span>Node0<span style="white-space:pre-wrap">   </span>1<span style="white-space:pre-wrap">       </span>dev[0]=net(1,0-3)<span style="white-space:pre-wrap">       </span>InInterests<span style="white-space:pre-wrap">     </span>0.04<span style="white-space:pre-wrap">    </span>0.00105469<span style="white-space:pre-wrap">      </span>1<span style="white-space:pre-wrap">       </span>0.0263672</div>

<div>20<span style="white-space:pre-wrap">        </span>Node0<span style="white-space:pre-wrap">   </span>1<span style="white-space:pre-wrap">       </span>dev[0]=net(1,0-3)<span style="white-space:pre-wrap">       </span>OutInterests<span style="white-space:pre-wrap">    </span>0<span style="white-space:pre-wrap">       </span>0<span style="white-space:pre-wrap">       </span>0<span style="white-space:pre-wrap">       </span>0</div>

<div>20<span style="white-space:pre-wrap">        </span>Node0<span style="white-space:pre-wrap">   </span>1<span style="white-space:pre-wrap">       </span>dev[0]=net(1,0-3)<span style="white-space:pre-wrap">       </span>DropInterests<span style="white-space:pre-wrap">   </span>0.04<span style="white-space:pre-wrap">    </span>0.00105469<span style="white-space:pre-wrap">      </span>1<span style="white-space:pre-wrap">       </span>0.0263672</div>

<div>20<span style="white-space:pre-wrap">        </span>Node0<span style="white-space:pre-wrap">   </span>1<span style="white-space:pre-wrap">       </span>dev[0]=net(1,0-3)<span style="white-space:pre-wrap">       </span>InNacks<span style="white-space:pre-wrap"> </span>0<span style="white-space:pre-wrap">       </span>0<span style="white-space:pre-wrap">       </span>0<span style="white-space:pre-wrap">       </span>0</div>

<div>20<span style="white-space:pre-wrap">        </span>Node0<span style="white-space:pre-wrap">   </span>1<span style="white-space:pre-wrap">       </span>dev[0]=net(1,0-3)<span style="white-space:pre-wrap">       </span>OutNacks<span style="white-space:pre-wrap">        </span>0<span style="white-space:pre-wrap">       </span>0<span style="white-space:pre-wrap">       </span>0<span style="white-space:pre-wrap">       </span>0</div>

<div>20<span style="white-space:pre-wrap">        </span>Node0<span style="white-space:pre-wrap">   </span>1<span style="white-space:pre-wrap">       </span>dev[0]=net(1,0-3)<span style="white-space:pre-wrap">       </span>DropNacks<span style="white-space:pre-wrap">       </span>0<span style="white-space:pre-wrap">       </span>0<span style="white-space:pre-wrap">       </span>0<span style="white-space:pre-wrap">       </span>0</div>

<div>20<span style="white-space:pre-wrap">        </span>Node0<span style="white-space:pre-wrap">   </span>1<span style="white-space:pre-wrap">       </span>dev[0]=net(1,0-3)<span style="white-space:pre-wrap">       </span>InData<span style="white-space:pre-wrap">  </span>0.84<span style="white-space:pre-wrap">    </span>0.865859<span style="white-space:pre-wrap">        </span>21<span style="white-space:pre-wrap">      </span>21.6465</div>

<div>20<span style="white-space:pre-wrap">        </span>Node0<span style="white-space:pre-wrap">   </span>1<span style="white-space:pre-wrap">       </span>dev[0]=net(1,0-3)<span style="white-space:pre-wrap">       </span>OutData<span style="white-space:pre-wrap"> </span>0.04<span style="white-space:pre-wrap">    </span>0.0412891<span style="white-space:pre-wrap">       </span>1<span style="white-space:pre-wrap">       </span>1.03223</div>

<div>20<span style="white-space:pre-wrap">        </span>Node0<span style="white-space:pre-wrap">   </span>1<span style="white-space:pre-wrap">       </span>dev[0]=net(1,0-3)<span style="white-space:pre-wrap">       </span>DropData<span style="white-space:pre-wrap">        </span>0.72<span style="white-space:pre-wrap">    </span>0.742109<span style="white-space:pre-wrap">        </span>18<span style="white-space:pre-wrap">      </span>18.5527</div>

<div>20<span style="white-space:pre-wrap">        </span>Node0<span style="white-space:pre-wrap">   </span>2<span style="white-space:pre-wrap">       </span>dev=local(2)<span style="white-space:pre-wrap">    </span>InInterests<span style="white-space:pre-wrap">     </span>80<span style="white-space:pre-wrap">      </span>2.12891<span style="white-space:pre-wrap"> </span>2000<span style="white-space:pre-wrap">    </span>53.2227</div>

<div>20<span style="white-space:pre-wrap">        </span>Node0<span style="white-space:pre-wrap">   </span>2<span style="white-space:pre-wrap">       </span>dev=local(2)<span style="white-space:pre-wrap">    </span>OutInterests<span style="white-space:pre-wrap">    </span>0<span style="white-space:pre-wrap">       </span>0<span style="white-space:pre-wrap">       </span>0<span style="white-space:pre-wrap">       </span>0</div>

<div>20<span style="white-space:pre-wrap">        </span>Node0<span style="white-space:pre-wrap">   </span>2<span style="white-space:pre-wrap">       </span>dev=local(2)<span style="white-space:pre-wrap">    </span>DropInterests<span style="white-space:pre-wrap">   </span>0.2<span style="white-space:pre-wrap">     </span>0.00507813<span style="white-space:pre-wrap">      </span>5<span style="white-space:pre-wrap">       </span>0.126953</div>

<div>20<span style="white-space:pre-wrap">        </span>Node0<span style="white-space:pre-wrap">   </span>2<span style="white-space:pre-wrap">       </span>dev=local(2)<span style="white-space:pre-wrap">    </span>InNacks<span style="white-space:pre-wrap"> </span>0<span style="white-space:pre-wrap">       </span>0<span style="white-space:pre-wrap">       </span>0<span style="white-space:pre-wrap">       </span>0</div>

<div>20<span style="white-space:pre-wrap">        </span>Node0<span style="white-space:pre-wrap">   </span>2<span style="white-space:pre-wrap">       </span>dev=local(2)<span style="white-space:pre-wrap">    </span>OutNacks<span style="white-space:pre-wrap">        </span>0<span style="white-space:pre-wrap">       </span>0<span style="white-space:pre-wrap">       </span>0<span style="white-space:pre-wrap">       </span>0</div>

<div>20<span style="white-space:pre-wrap">        </span>Node0<span style="white-space:pre-wrap">   </span>2<span style="white-space:pre-wrap">       </span>dev=local(2)<span style="white-space:pre-wrap">    </span>DropNacks<span style="white-space:pre-wrap">       </span>0<span style="white-space:pre-wrap">       </span>0<span style="white-space:pre-wrap">       </span>0<span style="white-space:pre-wrap">       </span>0</div>

<div>20<span style="white-space:pre-wrap">        </span>Node0<span style="white-space:pre-wrap">   </span>2<span style="white-space:pre-wrap">       </span>dev=local(2)<span style="white-space:pre-wrap">    </span>InData<span style="white-space:pre-wrap">  </span>0<span style="white-space:pre-wrap">       </span>0<span style="white-space:pre-wrap">       </span>0<span style="white-space:pre-wrap">       </span>0</div>

<div>20<span style="white-space:pre-wrap">        </span>Node0<span style="white-space:pre-wrap">   </span>2<span style="white-space:pre-wrap">       </span>dev=local(2)<span style="white-space:pre-wrap">    </span>OutData<span style="white-space:pre-wrap"> </span>71.72<span style="white-space:pre-wrap">   </span>74.0581<span style="white-space:pre-wrap"> </span>1793<span style="white-space:pre-wrap">    </span>1851.45</div>

<div>20<span style="white-space:pre-wrap">        </span>Node0<span style="white-space:pre-wrap">   </span>2<span style="white-space:pre-wrap">       </span>dev=local(2)<span style="white-space:pre-wrap">    </span>DropData<span style="white-space:pre-wrap">        </span>0<span style="white-space:pre-wrap">       </span>0<span style="white-space:pre-wrap">       </span>0<span style="white-space:pre-wrap">       </span>0</div>

</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/4/19 Alex Afanasyev <span dir="ltr"><<a href="mailto:alexander.afanasyev@ucla.edu" target="_blank">alexander.afanasyev@ucla.edu</a>></span><br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="word-wrap:break-word"><div>Hi huyao,</div><div>
<br></div>Hmm.  I just run ndn-grid scenario with frequency 10, 100, and 1000 and in all of the cases I see that the consumer send out exactly the theoretical amount of interests within 20 seconds (200, 2000, and 20000), though the same consumer has received different number of Data packets back due to buffer overflows (199, 1989, 2342).<div>

<br></div><div>How exactly did you measure number of Interests and I'm not very sure what is "Tx Packets" you were referring to?  I obtained my data using ndn::L3RateTracer.  I put the following before Simulation::Run() in ndn-grid scenario (assuming the total simulation time is 20 seconds):</div>

<div><br></div><div><div>boost::tuple< boost::shared_ptr<std::ostream>, std::list<Ptr<ndn::L3RateTracer> > ></div><div>    rateTracers = ndn::L3RateTracer::InstallAll ("rate-trace.txt", Seconds (19.99999999));</div>

</div><div><br></div><div>(don't forget to include the header file:</div><div>#include <ns3/ndnSIM/utils/tracers/ndn-l3-rate-tracer.h></div><div>)</div><div><br></div><div>---</div><div>Alex</div><div>
<div><br><div><div><div>On Apr 18, 2013, at 7:07 AM, yao hu <<a href="mailto:huyao0107@gmail.com" target="_blank">huyao0107@gmail.com</a>> wrote:</div><br><blockquote type="cite"><div dir="ltr">Hi Alex,<div>
<br></div><div>The scenario I tested in is just the 9-node grid topology. I think maybe it has something wrong with my modified algorithm, since it shows no problem with a certain interest frequency, while with larger interest frequency (generally speaking) , the missing interest packets become obvious. I will check it soon. Thanks for your reply about routingCost. I see. :)</div>


<div><br></div><div>Regards,</div><div>huyao</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/4/18 Alex Afanasyev <span dir="ltr"><<a href="mailto:alexander.afanasyev@ucla.edu" target="_blank">alexander.afanasyev@ucla.edu</a>></span><br>


<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="word-wrap:break-word">Can you send out scenario (or link to scenario), so I can try to debug the problem on my machine?<div>


<br></div><div>routingCost is basically an aggregated cost for the specific path.  If you're using globalRoutingController, it sums up all the specified metrics on the path.  For example, if you have this topology</div>


<div><br></div><div>node1 ------ node2 ------- node3 ------- node4</div><div><br></div><div>and all metrics for each link is 10, then routing cost on node1 to forward towards node4 using the only available face would be 30.</div>


<div><br></div><div>If you are using "EnableDefaultRoute" in ndn::StackHelper, then this value doesn't really mean anything and suggests only that this "default" is the least preferred option to forward interests.</div>


<div><br></div><div>---</div><div>Alex</div><div><br><div><div>On Apr 17, 2013, at 8:36 AM, yao hu <<a href="mailto:huyao0107@gmail.com" target="_blank">huyao0107@gmail.com</a>> wrote:</div><br>
<blockquote type="cite"><div dir="ltr">Hi Alex,<div><br></div><div>I did not specify any randomization using Randomize parameter. I am not sure whether all the interests are consumed at the first attempt, but if that is a reason, the retransmitted Interest packets are not counted into "Tx Packets"? Besides, I am not sure about the meaning of routingCost column <a href="tel:%282147483647" value="+12147483647" target="_blank">(2147483647</a>) in FIB. Does it has something different from the 'metric' which affects the forwarding strategy to select the BestRoute? Could I specify it somewhere?</div>



<div><br></div><div>Sorry for many questions. Thanks very much!</div><div><br></div><div>Regards,</div><div>huyao</div><div> </div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
2013/4/17 Alex Afanasyev <span dir="ltr"><<a href="mailto:alexander.afanasyev@ucla.edu" target="_blank">alexander.afanasyev@ucla.edu</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



Hi huyao,<br>
<br>
Did you specify any randomization for inter-interest gap using Randomize parameter (uniform, exponential)?  Though, by default there is no randomization.<br>
<br>
Btw. Do all your interest are getting satisfied from the first attempt?  If not, the difference can come from the interest retransmission, since those that needs to be retransmitted are sharing the same "cbr" constraints as new interests.<br>




<br>
---<br>
Alex<br>
<div><br>
On Apr 16, 2013, at 8:32 AM, yao hu <<a href="mailto:huyao0107@gmail.com" target="_blank">huyao0107@gmail.com</a>> wrote:<br>
<br>
> Hi Alex,<br>
><br>
> Just now, in order to verify my modification I used CustomerCbr to produce a certain number of Interest from a specific consumer, however, I found that there is a little difference between expectation and simulation result. For example, I set the Interest frequency as 10 (packets per second) for 20 seconds, the result is the number of sent packets is 200 which is the same as theoretic value. But if I set the Interest frequency as 100 for 20 seconds, the simulation result is the number of sent packets is 1805 which is less than the theoretic value 2000. What is the possible reason for this phenomenon? (No packets are sent from other faces)<br>




><br>
> Thanks for your reply!<br>
><br>
> Regards,<br>
> huyao<br>
</div>> _______________________________________________<br>
> ndnSIM mailing list<br>
> <a href="mailto:ndnSIM@lists.cs.ucla.edu" target="_blank">ndnSIM@lists.cs.ucla.edu</a><br>
> <a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br>
<br>
</blockquote></div><br></div>
_______________________________________________<br>ndnSIM mailing list<br><a href="mailto:ndnSIM@lists.cs.ucla.edu" target="_blank">ndnSIM@lists.cs.ucla.edu</a><br><a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br>


</blockquote></div><br></div></div></blockquote></div><br></div>
</blockquote></div><br></div></div></div></div></blockquote></div><br></div>
_______________________________________________<br>ndnSIM mailing list<br><a href="mailto:ndnSIM@lists.cs.ucla.edu" target="_blank">ndnSIM@lists.cs.ucla.edu</a><br><a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br>
</blockquote></div><br></div></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><a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br></blockquote></div><br></blockquote></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></div></div></body></html>