[ndnSIM] set different cs size in different node
Leanna Vidya
leanna.vidya at gmail.com
Wed Sep 27 14:07:12 PDT 2017
Please help..
I want to set different CS size for different node in ndnSIM. I've write
this code,
Ptr<Node> nodes[3] = {Names::Find<Node>("node1"),
Names::Find<Node>("node2"), Names::Find<Node>("node3")};
ndnHelper.SetOldContentStore("ns3::ndn::cs::Lru", "MaxSize","100");
ndnHelper.Install(nodes[0]);
ndnHelper.SetOldContentStore("ns3::ndn::cs::Lru", "MaxSize","50");
ndnHelper.Install(nodes[1]);
ndnHelper.SetOldContentStore("ns3::ndn::cs::Lru", "MaxSize","10");
ndnHelper.Install(nodes[2]);
But the simulator was gave me this warning :
Command ['/home/bima/ndnSIM/ns-3/build/scratch/simulasi_2'] terminated with
signal SIGSEGV. Run it under a debugger to get more information (./waf
--run <program> --command-template="gdb --args %s <args>")
please help me...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20170928/e2981854/attachment.html>
More information about the ndnSIM
mailing list