[ndnSIM] How to disable the CS cache?
Alex Afanasyev
alexander.afanasyev at ucla.edu
Wed Mar 6 16:05:11 PST 2013
Freshness would work only if you're using a CS version that honors content freshness (http://ndnsim.net/cs.html#content-stores-respecting-freshness-field-of-contentobjects)
If you want completely disable caching (not per specific packet), then you can set
ndnHelper.SetContentStore ("ns3::ndn::cs::Lru", "MaxSize", "1");
1 is the minimum value that you can set currently. Would it be sufficient? If not, it is possible to implement a non-caching "content store". Let me know.
--
Alex
On Mar 6, 2013, at 3:54 PM, Chengyu Fan <chengyu at cs.colostate.edu> wrote:
> Hi
>
> I want to do a experiment with no CS cache. For example, set the freshness as 0, so the routers would not cache this content.
> However, when I check the code, I found that setting the Freshness to 0 means unlimited freshness:
>
> producerHelper.SetAttribute ("Freshness", TimeValue (Seconds (0))); // unlimited freshness
>
> So is there a way to let routers not cache the content?
>
> Another question: does anyone know how many Attributes we can set? And what kind of format? Can we add new attributes?
>
> Thanks,
> Chengyu
> _______________________________________________
> 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/20130306/3bf05af6/attachment.html>
More information about the ndnSIM
mailing list