[ndnSIM] Caching probability issue
g.sanchez148 at gmail.com
Mon Jun 2 21:37:21 PDT 2014
Firstly, I'm quite new with ndnSim, so sorry if my questions may seem too
I am trying to implement scenarios with caching probability, i.e. each node
has a probability X to cache the content or not. As far as I know, this is
done by using the following function inside the .cc scenario:
before installing the ndnHelper on the nodes.
I have tried it with 2 scenarios, the tree scenario with cs tracers, and
the ndn simple scenario (adding the same cs tracer). Then I check the cs
tracer output (CacheHits/Misses), to see if the behaviour is as expected.
In the tree scenario, it works correctly, depending on the probability, we
have a number or another of CacheHits, but in the ndn simple scenario,
everything is missed (no CacheHits), even if probability is set to 1.0,
offering the same results no matter which probability is used. The rest of
the code has remained untouched.
Does the simple scenario have something special that the tree one doesn't
for this situation? Should I add something else in the code? Something
different? Is it a bug?
Thank you all for your time and help.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ndnSIM