<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Hi Pan,</div><div><br></div><div>You probably want to try to play with simulation parameters.  First, run simulation for way more than just 60 seconds, since in 60 seconds you most likely does not get enough interest packets that form Zipf distribution.</div><div><br></div><div>Other parameters to play with: try to increase content store size gradually and see what will change.  Another thing is to see how ConsumerZipfMandelbrot parameters affect the result.   </div><div><br></div><div>There is a small chance that there are "too many" popular items and Lru fails to keep all of them in cache, however I would mostly suspect short simulation time.</div><div><br></div><div>---</div><div>Alex</div><br><div><div>On Jul 2, 2013, at 6:43 PM, Pan <<a href="mailto:ihenrypan@163.com">ihenrypan@163.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="line-height: 1.7; font-size: 14px; font-family: arial; ">Hi All,<div><br></div><div>I did some experiments on replacement policy and the results were weird.</div><div><br></div><div>The <span style="font-family: Helvetica, 'Microsoft Yahei', verdana; line-height: 1.7;">scenario just based on the ndn-simple.cc.</span><span style="font-family: Helvetica, 'Microsoft Yahei', verdana; line-height: 1.7;"> The configuration information </span><span style="font-family: Helvetica, 'Microsoft Yahei', verdana; line-height: 1.7;">as follows:</span></div><div><span style="font-family: Helvetica, 'Microsoft Yahei', verdana; line-height: 1.7;">The network topology:</span></div><div><div style="font-family: Helvetica, 'Microsoft Yahei', verdana; line-height: 1.7;"><span style="line-height: 1.7;">    +----------+     1Mbps      +--------+     1Mbps      +----------+</span></div><div style="font-family: Helvetica, 'Microsoft Yahei', verdana; line-height: 1.7;">  | consumer | <------------> | router | <------------> | producer |</div><div style="font-family: Helvetica, 'Microsoft Yahei', verdana; line-height: 1.7;">    +----------+         10ms    +--------+          10ms   +----------+</div><div><font face="Helvetica, Microsoft Yahei, verdana"> The consumer is </font>ConsumerZipfMandelbrot model. NumberOfContents set to 1000.<font color="#4070a0" face="Helvetica, Microsoft Yahei, verdana"><span style="font-size: 12px; line-height: 14px; white-space: pre-wrap;"><span style=""></span></span></font></div></div><div>ContentStore size is 100.</div><div>Simulation time is 60s.</div><div><br></div><div>Now, I test exsiting replacement policy(Lru, Fifo and Random) by using the ndn::CsTracer to statis the cache hit rate.</div><div>The cache hit rate of policy are:</div><div>Lru: 26.7%</div><div>Fifo: 23.8%</div><div>Random: 33.2%</div><div>Random policy's hit rate is greatest in every experiments. Random policy's hit rate should be least in the theory. It's weird.</div><div><span style="line-height: 1.7;"><br></span></div><div><span style="line-height: 1.7;">Is the </span><span style="line-height: 1.7; font-family: Helvetica, 'Microsoft Yahei', verdana;">scenario</span><span style="line-height: 1.7; font-family: Helvetica, 'Microsoft Yahei', verdana;"> has problems?</span></div><div><span style="font-family: Helvetica, 'Microsoft Yahei', verdana; line-height: 1.7;">Could you explain the results for me?</span></div><div><span style="font-family: Helvetica, 'Microsoft Yahei', verdana; line-height: 1.7;">Thank you in advance.</span></div><div><span style="font-family: Helvetica, 'Microsoft Yahei', verdana; line-height: 1.7;"><br></span></div><div><span style="font-family: Helvetica, 'Microsoft Yahei', verdana; line-height: 1.7;">---</span></div><div><span style="font-family: Helvetica, 'Microsoft Yahei', verdana; line-height: 1.7;">Pan</span></div></div></blockquote></div><br></body></html>