<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"><base href="x-msg://5088/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Mahammad,<div><br></div><div>Can you try adding the following line</div><div><br></div><div><div>  Simulator::Cancel (m_retxEvent);</div><div><br></div><div>into ndn-consumer.cc, just after the line 161 and check again?  I have a suspicion that the Stop command didn't fully work in the consumer and it kept sending requests.</div><div><br></div><div>---</div><div>Alex</div><div><br></div><div><div>On Aug 31, 2013, at 10:12 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: Menlo; 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; ">  Dear Alex<o:p></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">I have a scenario in which NDN requesters sends their Interests with dynamic rate. I have put several functions to set the rates to achieve this goal. My problem is that number of OutInterests shows a cumulative numbers during the simulation. For Instance in first interval the sending rate is 300 packets per seconds and the next time interval the rate is double, but OutInterests rate shows almost triple at the end. I am just wondering whether this additional numbers are due to the retransmission of delayed Interests or there is another reason of which I am not aware.<o:p></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "> <o:p></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">BTW, I used the following to stop sending rate at the end of every time interval:<o:p></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><o:p> </o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">      ApplicationContainer allconsumers = consumerHelper.Install(consumers[i]);<o:p></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">      allconsumers.Stop(Seconds (4));<o:p></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><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<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></body></html>