[ndnSIM] ndn cache replace policy
John Baugh
jpbaugh at umich.edu
Thu Dec 22 23:27:26 PST 2016
Greetings,
By no means do I claim to be an expert in this simulator (yet!), but I have
been taking and trying to organize notes about using it.
Please see page 9 in the PDF on my Google Drive:
*https://drive.google.com/open?id=0By9ufeKqmJYYTnZVYnBlNktvMHc
<https://drive.google.com/open?id=0By9ufeKqmJYYTnZVYnBlNktvMHc>*
I hope to eventually more fully organize this document after adding a
significant amount more, adding a table of contents, etc.
But hopefully this helps some people even in its current, very unedited and
minimal state.
Thanks,
John
On Fri, Dec 23, 2016 at 2:23 AM, John Baugh <jpbaugh at umich.edu> wrote:
> Greetings,
>
> By no means do I claim to be an expert in this simulator (yet!), but I
> have been taking and trying to organize notes about using it.
>
> Please see page 9 in the attached PDF. I hope to eventually more fully
> organize this document after adding a significant amount more, adding a
> table of contents, etc.
>
> But hopefully this helps some people even in its current, very unedited
> and minimal state.
>
> Thanks,
>
> John
>
> On Fri, Dec 23, 2016 at 2:02 AM, Spyridon (Spyros) Mastorakis <
> mastorakis at cs.ucla.edu> wrote:
>
>> Hi,
>>
>> personally, I feel it would be easier for you to use the CS of NFD.
>>
>> You will have to create your own class that will derive from the Policy
>> class of NFD.
>>
>> Hope that this helps.
>>
>> Spyridon (Spyros) Mastorakis
>> Personal Website: http://cs.ucla.edu/~mastorakis/
>> Internet Research Laboratory
>> Computer Science Department
>> UCLA
>>
>>
>> On Dec 22, 2016, at 5:20 PM, gc199211 <gc199211 at mail.ustc.edu.cn> wrote:
>>
>>
>> Hello :
>> I am trying to realize a cache replacement policy on ndnSIM .The new
>> policy is based on lfu policy. According to the api document I found that
>> 1) The ns3::ndn::ContentStore has realized lfu policy , but the code is
>> quite complex,including trie.hpp、tire-with-policy.hpp、lfu-policy.hpp and
>> so on
>> 2) The nfd::cs::Cs hasn't realized lfu policy,but the code seems easier.
>> So which kind of contentstore is easier to realize my policy,
>> ns3::ndn::ContentStore or nfd::cs::Cs ?And how to realize a cache
>> replacement policy,Think you very much!
>>
>> 2016-12-22
>> ------------------------------
>> gc199211
>>
>>
>>
>> _______________________________________________
>> ndnSIM mailing list
>> ndnSIM at lists.cs.ucla.edu
>> http://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/20161223/da785b09/attachment.html>
More information about the ndnSIM
mailing list