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

mdparamartha95 at students.itb.ac.id mdparamartha95 at students.itb.ac.id
Sat Mar 30 06:48:21 PDT 2019

Hi Junxiao, 
Thank you for the reply and information,

So iterator could be moved from first list into secondary list?

And we could do it on cs-replacement-policy?

is that right?

Thank you,

Best Regards,
Adi Paramartha

----- Original Message -----
From: Junxiao Shi <shijunxiao at email.arizona.edu>
To: mdparamartha95 at students.itb.ac.id
Cc: ndnsim <ndnsim at lists.cs.ucla.edu>
Sent: Sat, 30 Mar 2019 18:59:18 +0700 (WIB)
Subject: Re: [ndnSIM] How to Change Interest name in m_table on Cs.cpp NFD

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

More information about the ndnSIM mailing list