[ndnSIM] Error regarding Freshness in ndnSIM
Alex Afanasyev
alexander.afanasyev at ucla.edu
Thu Jul 4 09:50:12 PDT 2013
Hi Saran,
Thank you for noticing and reporting the bug!
After debugging I realized there is a small bug, that basically invalidated the logic of the policy policy. I have pushed the fix and policy should work as expected, including your scenario not failing the assert anymore.
---
Alex
On Jul 4, 2013, at 3:05 AM, Saran Tarnoi <sarantarnoi at gmail.com> wrote:
> Hello Alex,
>
> I found an error when I was playing with a modified scenario of ndn-simple-with-content-freshness.cc.
> ---
> assert failed. cond="tAbsolute >= TimeStep (m_currentTs)", file=../src/core/model/default-simulator-impl.cc, line=227
> terminate called without an active exception
> ---
> It seems to me that something went wrong about replacement policy and Freshness value.
> The problem occurs when there are 2 producers with Freshness > 0 and the number of cached content objects reaches the cache size.
>
> My scenario file is attached to this email.
> If your have some time, please try it.
> Thank you so much for your time.
>
> Regards,
> Saran Tarnoi
> <ndn-selective-cache.cc>
More information about the ndnSIM
mailing list