<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; " class="">Thanks Saeid!  <div class=""><br class=""></div><div class="">Yes, if it is acceptable in your simulations, you could simply set MaxSize to 1, which will effectively disable caching.  However, I decided to make a trivial implementation of content store that does not incur additional overhead if caching really needs to be disabled.  If you get the latest update from github, you can start using <b>ns3::ndn::cs::Nocache</b> content store, which basically does nothing.  For an example usage, you can refer to examples/ndn-simple-with-cs-lfu.cc.</div><div class=""><div class=""><br class=""></div><div class="">---</div><div class="">Alex</div><div class=""><br class=""><div><div class="">On Jun 4, 2013, at 3:21 AM, Saeid Montazeri <<a href="mailto:saeid.montazeri@gmail.com">saeid.montazeri@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Dear Alex,<div class=""><br class=""></div><div class="">You can set the content store size to 1. If the number of total packets in your network is very large compare to the number of nodes with cache size equal to 1, the effect of cache size equals 1 is negligible and it is similar to CS with size zero. CS size equals to 0 was interpreted as unlimited cache size as far as I know. </div>

<div class=""><br class=""></div><div class="">But if you need to disable CS in total, you should write a new cache policy which disables the cache. You can see how the LRU, FIFO, ... policies have been implemented and follows the implementation style.</div>

<div class=""><br class=""></div><div class="">Best Regards,</div><div class="">Saeid</div><div class=""><br class=""><div class="gmail_quote">On Tue, Jun 4, 2013 at 5:38 PM, Axel Pinto <span dir="ltr" class=""><<a href="mailto:pinto2304@gmail.com" target="_blank" class="">pinto2304@gmail.com</a>></span> wrote:<br class="">

<blockquote style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; position: static; z-index: auto; " class="gmail_quote"><div dir="ltr" class="">Hi,<div class="">I want to test the different policies of the caching and for that I want to disable the caching from all the routers except one. I do not find how to do this. Can you help me, please ?</div>

<div class="">
Best Ragrds.</div><span class=""><font color="#888888" class="">Axel Pinto.</font></span></div>
</blockquote></div></div></blockquote></div><br class=""></div></div></body></html>