[ndnSIM] set individual cache sizes

qhsong ndn at sqh.me
Sat Apr 9 06:25:12 PDT 2016


Hi,

How to checks  CS entries?I find I can't checks CS entries via --vis
tools?And how to check it?

And to set difference content store size,maybe you can try this:
http://ndnsim.net/2.1/cs.html

qhsong

2016-04-09 10:52 GMT+08:00 NDIKUMANA ANSELME <anselme333 at gmail.com>:

> Hi,
>
> I am trying to set individual cache sizes in some nodes based
> on ndn-simple-with-different-sizes-content-store.cc example, and when i
> checked CS entries in these nodes, there are no entries. Any hint on how
> to fix this, will be appreciated.
>
> ndn::StackHelper ndnHelper;
>  ndnHelper.SetOldContentStore("ns3::ndn::cs::Freshness::Lru");
>   ndnHelper.InstallAll()
>  //set individual cache sizes on nodes
>   Config::Set ("/NodeList/9/$ns3::ndn::ContentStore/MaxSize",
> UintegerValue(100000));
>   Config::Set ("/NodeList/11/$ns3::ndn::ContentStore/MaxSize",
> UintegerValue(100000));
>   Config::Set ("/NodeList/12/$ns3::ndn::ContentStore/MaxSize",
> UintegerValue(100000));
>   Config::Set ("/NodeList/1/$ns3::ndn::ContentStore/MaxSize",
> UintegerValue(10000));
>   Config::Set ("/NodeList/3/$ns3::ndn::ContentStore/MaxSize",
> UintegerValue(10000));
>   Config::Set ("/NodeList/4/$ns3::ndn::ContentStore/MaxSize",
> UintegerValue(10000));
>   //Config::Set ("/NodeList/CRouter4/$ns3::ndn::ContentStore/MaxSize",
> UintegerValue (10000));
>   //Config::Set
> ("/NodeList/node->GetId(CRouter4)/$ns3::ndn::ContentStore/MaxSize",
> UintegerValue (10000));
>
>
> With Regards,
>
> Anselme N.
>
> _______________________________________________
> 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/20160409/7af28b32/attachment.html>


More information about the ndnSIM mailing list