[ndnSIM] leaky bucket start time

Yaogong Wang ywang15 at ncsu.edu
Wed Feb 13 10:39:37 PST 2013


It doesn't seem to make much sense. The bucket anyway starts out as empty.
Leaking won't really happen until someone calls BorrowLimit().

Yaogong

On Wed, Feb 13, 2013 at 1:17 PM, Alex Afanasyev <
alexander.afanasyev at ucla.edu> wrote:

> Hi!
>
> 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.
>
> ---
> Alex
>
>
> On Feb 13, 2013, at 9:45 AM, Yaogong Wang <ywang15 at ncsu.edu> wrote:
>
> > Hi,
> >
> > 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?
> >
> > Thanks,
> > Yaogong
>



-- 
============================
Yaogong Wang, PhD Candidate
Department of Computer Science
North Carolina State University
http://www4.ncsu.edu/~ywang15/
============================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20130213/39867616/attachment.html>


More information about the ndnSIM mailing list