[ndnSIM] [EXT] SetOldContentStore

Asim ALHIMSYA asim.alhimsya at gmail.com
Thu Jun 29 09:57:21 PDT 2023


Actually, I didn't find LFU in NFD ContentStore. There is only LRU and
Priority_Fifo as cache replacement policy in the following directory:
*ndnSIM/ns-3/src/ndnSIM/NFD/daemon/table.*
How can I use LFU, pure FIFO, and Random, please?

On Thu, Jun 29, 2023 at 6:46 PM Junxiao Shi <shijunxiao at arizona.edu> wrote:

> Hi Asim
>
> SetOldContentStore feature is removed since ndnSIM 2.8.
> Use the NFD ContentStore instead.
>
> Yours, Junxiao
>
>
> On Thu, Jun 29, 2023, 11:42 Asim ALHIMSYA via ndnSIM <
> ndnsim at lists.cs.ucla.edu> wrote:
>
>> *External Email*
>> Dear Colleagues,
>> When I run the following line of code:
>> ndnHelper.SetOldContentStore("ns3::ndn::cs::Lfu");
>>
>> I get the following error message:
>>
>> Waf: Entering directory `/home/asim/ndnSIM/ns-3/build'
>> [2826/3276] Compiling src/ndnSIM/examples/ndn-tree-tracers.cpp
>> [3234/3276] Linking
>> build/src/ndnSIM/examples/ns3-dev-ndn-tree-tracers-debug
>> Waf: Leaving directory `/home/asim/ndnSIM/ns-3/build'
>> Build commands will be stored in build/compile_commands.json
>> 'build' finished successfully (9.395s)
>> *assert failed. cond="uid != 0", msg="Assert in TypeId::LookupByName:
>> ns3::ndn::cs::Lfu not found", file=../src/core/model/type-id.cc,
>> line=828terminate called without an active exception*
>> Command
>> ['/home/asim/ndnSIM/ns-3/build/src/ndnSIM/examples/ns3-dev-ndn-tree-tracers-debug']
>> terminated with signal SIGIOT. Run it under a debugger to get more
>> information (./waf --run <program> --command-template="gdb --args %s
>> <args>").
>>
>> How can I solve this problem?
>> Best regards
>>
>> _______________________________________________
>> ndnSIM mailing list
>> ndnSIM at lists.cs.ucla.edu
>> https://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/20230629/34b5fb6e/attachment.html>


More information about the ndnSIM mailing list