<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">True. But if two guys receive a packet at the same time (can happen in some simple topologies), they would start leaking at the same time, resulting in synchronized decision, which may lead to unexpected results (I had them with simplistic topologies).<div><br></div><div>---</div><div>Alex</div><div><br><div><div>On Feb 13, 2013, at 10:39 AM, Yaogong Wang <<a href="mailto:ywang15@ncsu.edu">ywang15@ncsu.edu</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">It doesn't seem to make much sense. The bucket anyway starts out as empty. Leaking won't really happen until someone calls BorrowLimit().<div><br></div><div>Yaogong<br><br><div class="gmail_quote">On Wed, Feb 13, 2013 at 1:17 PM, Alex Afanasyev <span dir="ltr"><<a href="mailto:alexander.afanasyev@ucla.edu" target="_blank">alexander.afanasyev@ucla.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi!<br>
<br>
I've put it there to ensure that nodes don't make a synchronized leaks of buckets, which impossible in real life, but could happen in some cases in the simulations.<br>
<br>
---<br>
Alex<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
On Feb 13, 2013, at 9:45 AM, Yaogong Wang <<a href="mailto:ywang15@ncsu.edu">ywang15@ncsu.edu</a>> wrote:<br>
<br>
> Hi,<br>
><br>
> I'm curious why do we randomize the leak start time in LimitsRate::NotifyNewAggregate() under untils/ndn-limits-rate.cc. Why can't we just start leaking at 0.0?<br>
><br>
> Thanks,<br>
> Yaogong<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>============================<br>Yaogong Wang, PhD Candidate<br>Department of Computer Science<br>North Carolina State University<br><a href="http://www4.ncsu.edu/~ywang15/" target="_blank">http://www4.ncsu.edu/~ywang15/</a><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>