<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Hi Saran,</div><div><br></div><div>How many nodes are in your simulation?  I just checked memory overhead for different replacement policies and they are about the same (with Lfu taking a little bit more).    As for numbers, one CS entry in the current implementation corresponds to about 708 bytes memory footprint with Lfu policy (with freshness) and about 650 bytes with Lru policy.  (I haven't yet had time to investigate why so much, as I was expecting about 10 times smaller footprint.)   </div><div><br></div><div>You can get commit 41684ab625b165, which gives an example of how to evaluate memory footprint (ndn-simple-with-cs-lfu.cc)</div><div><br></div><div>---</div><div>Alex</div><br><div><div>On Feb 19, 2013, at 5:02 AM, Saran Tarnoi <<a href="mailto:sarantarnoi@gmail.com">sarantarnoi@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">To Alex and everyone,<div><br></div><div>I conducted a simulation to see how <b>Lfu</b> performs.</div><div>Content number is set as "100,000."</div><div>It appeared that the simulator consumed memory more than that my laptop can provide (RAM 4GB), then my laptop stopped working. </div>
<div>The problem did not appear when I used the other replacement policies (Lru, Random) for Content Store.</div><div><div>Would you kindly give me some ideas?</div><div><br></div><div>Thanks,</div><div>Saran</div></div></blockquote></div></body></html>