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

Sonia zohanoor67 at gmail.com
Tue Dec 29 21:12:07 PST 2020


Dear Junxiao

Thank you. It worked for me. I appreciate it.

Regards
Sonia



On Tue, Dec 29, 2020 at 10:49 PM Junxiao Shi <shijunxiao at email.arizona.edu>
wrote:

> 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/20201230/87292536/attachment.html>


More information about the ndnSIM mailing list