[ndnSIM] How to Change Interest name in m_table on Cs.cpp NFD

Junxiao Shi shijunxiao at email.arizona.edu
Sat Mar 30 04:59:18 PDT 2019

Hi Adi

If you are looking to implement something like Adaptive Replacement Cache
(ARC) algorithm: don’t attempt to create a “secondary CS”. Instead, create
a single cs::Policy that has multiple lists, and move CS entry iterators
among these lists.
Lookup would not work otherwise.
Read Priority FIFO policy code for example.

Yours, Junxiao

On Fri, Mar 29, 2019 at 07:27 <mdparamartha95 at students.itb.ac.id> wrote:

> Hi Junxiao,
> Thank you for the explanation,
> So NDN router which not instaled as consumer or producer, (only NDN stack
> helper for cs) cannot change the data name?
> I'm just wondering how to store 5 recent removed data into secondary
> Content Store instead of the primary,
> and the lookup process is still working for secondary cache.
> I try to modify the cs-policy, but when lookup process for secondary
> cache, the iterator still refer to the primary cache which is already
> deleted when moved into the secondary cache,
> That's why I wonder change the m_table for the specific iterator.
> Best Regards,
> Adi Paramartha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20190330/15abeac8/attachment.html>

More information about the ndnSIM mailing list