[ndnSIM] [EXT] How to completely disable caching in ndnSIM 2.6 and later

Junxiao Shi shijunxiao at email.arizona.edu
Tue Dec 29 05:49:02 PST 2020


Hi Sonia

If your NFD version has these functions, they will disable caching.
You can use just one, or both.

cs.enableAdmit(false); // nothing will be inserted to CS, but lookups may
still occur
cs.enableServe(false); // lookups will always return miss, but insertion
may still occur

Yours, Junxiao


On Tue, Dec 29, 2020, 01:14 Sonia via ndnSIM <ndnsim at lists.cs.ucla.edu>
wrote:

> *External Email*
> Hi,
>
> It seems like the
> method ndnHelper.SetOldContentStore("ns3::ndn::cs::Nocache"); is not
> working in ndnSIM 2.6 and later version.
>
> The method ndnHelper.setCsSize(1) still set content store size of 1 data
> packet. So it doesn't what I want.
> I want to completely disable caching on all nodes.
> Your help is much appreciated.
>
> Thank you
>
> Best Regards
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20201229/a9069598/attachment.html>


More information about the ndnSIM mailing list