[ndnSIM] problems in running cs-trace examples

yao930 at mail.ustc.edu.cn yao930 at mail.ustc.edu.cn
Mon Apr 25 03:18:19 PDT 2016

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?
     2.   in the visulizer during the simulation , I found the CS always has only one entrybut the cs size is supposed to be 100.
     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?

Many thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20160425/c353dc4f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: desc
Type: image/png
Size: 5770 bytes
Desc: desc
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20160425/c353dc4f/attachment.png>

More information about the ndnSIM mailing list