[ndnSIM] How to disable the CS cache?
Chengyu Fan
chengyu at cs.colostate.edu
Wed Mar 6 19:00:51 PST 2013
On Wed, Mar 6, 2013 at 5:05 PM, Alex Afanasyev <alexander.afanasyev at ucla.edu
> wrote:
> 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.
>
For now, I can generate the required result without setting the content
freshness.
But I may need it someday. Could you please tell me which file implements
the caching behavior?
Thanks,
Chengyu
>
> --
> 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/584fc303/attachment.html>
More information about the ndnSIM
mailing list