[ndnSIM] problems in running cs-trace examples

Alex Afanasyev aa at CS.UCLA.EDU
Sun Jun 26 21:46:37 PDT 2016

> On Apr 25, 2016, at 3:18 AM, yao930 at mail.ustc.edu.cn wrote:
> Dear ndnsim users,
> I am new to ndnSIM and want to use it to realize some cache policy,and while running cs-trace examples,I encouter a few problems and questions.
>  in the output file cs-trace.txt, we can see the numbers of cachehits and cachemisses in every node are only 10, but the consumer we set is supposed to send 100 interest per second, why the nodes hit/miss so much less packets than the sent interest?
Is your CS tracer configured to output every second or every 0.1 seconds?  If former, I'm not sure why it is not showing 100...

>      2.   in the visulizer during the simulation , I found the CS always has only one entry<desc.png>but the cs size is supposed to be 100.

That's strange. I was able to reproduce the problem if I select "old" style of the content store.  As of right now, there is a broken enumeration of the content store entries in the python bindings when the old style is used.  We'll try to fix it soon.

>      3.  when the cs replacement policy is changed to "random",in this way,
> ndnHelper.SetOldContentStore("ns3::ndn::cs::Random", "MaxSize",  "100");
> an error comes out as follows:
> msg="Attribute name=Min could not be set for this object: tid=ns3::UniformRandomVariable", file=../src/core/model/object-base.cc, line=206
> terminate called without an active exception
> how can I fix this?

There is some strange issue with NS-3.  I've made a workaround that will be pushed to master branch as soon as CI tests finish. You can check the code here: https://gerrit.named-data.net/#/c/2902/ <https://gerrit.named-data.net/#/c/2902/>

Thanks for pointing to the problems!


> Many thanks!
> Chen.
> _______________________________________________
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20160626/16cbe6f7/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20160626/16cbe6f7/attachment.bin>

More information about the ndnSIM mailing list