<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:DengXian;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"\@DengXian";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style></head><body lang=EN-US link=blue vlink="#954F72"><div class=WordSection1><p class=MsoNormal>Hi John</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>ndnSIM 2.1 uses a fork of NFD 0.3.4 release, which contains a ContentStore policy API, and it is somewhat flexible. NFD 0.3.4 offers a priority-fifo policy and a LRU policy, implemented with this policy API. See <a href="http://named-data.net/publications/techreports/ndn-0021-7-nfd-developer-guide/">NFD developer guide</a> for more information.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I saw the incorrect statement on <a href="http://ndnsim.net/2.1/cs.html">http://ndnsim.net/2.1/cs.html</a> . I have reported <a href="https://redmine.named-data.net/issues/3827">ndnSIM Bug 3827</a>, so that ndnSIM developers can correct that statement in the next release.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Yours, Junxiao</p><p class=MsoNormal><o:p> </o:p></p><div style='mso-element:para-border-div;border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal style='border:none;padding:0in'><b>From: </b><a href="mailto:jpbaugh@umich.edu">John Baugh</a><br><b>Sent: </b>Sunday, October 23, 2016 10:56<br><b>To: </b><a href="mailto:shijunxiao@email.arizona.edu">Junxiao Shi</a><br><b>Subject: </b>Re: [ndnSIM] Creating a custom cache-replacement policy in CS?</p></div><p class=MsoNormal><o:p> </o:p></p><p>The documentation and tutorials say that NFD has a hard coded cache replacement policy and is not flexible.  Then it describes that this is why the ndnSIM 1.0 CS has been ported into 2.0.</p><div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>On Oct 23, 2016 11:16 AM, "Junxiao Shi" <<a href="mailto:shijunxiao@email.arizona.edu">shijunxiao@email.arizona.edu</a>> wrote:</p><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in'><div><p class=MsoNormal>Hi John</p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Can you elaborate on this statement? Exactly what is missing in NFD 0.3.4's ContentStore policy API that is present in ndnSIM 1.0 ContentStore API?</p></div><div><p class=MsoNormal>Your answer to this can allow NFD designers to either point out your misunderstand and help you use NFD ContentStore policy API to achieve what you need to do, or improve future versions of NFD so that it becomes more flexible with cache replacement policies.</p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Yours, Junxiao</p><div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>On Sat, Oct 22, 2016 at 7:51 PM, John Baugh <<a href="mailto:jpbaugh@umich.edu" target="_blank">jpbaugh@umich.edu</a>> wrote:</p><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in'><div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Since the NFD Content Store appears to not be flexible with cache replacement policies, I am going to steer away from it.</p></div></div></blockquote></div></div></div></div></blockquote></div></div><p class=MsoNormal style='margin-left:9.6pt'><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>