[ndnSIM] New cache replacement policy: least frequently used

Alex Afanasyev alexander.afanasyev at ucla.edu
Thu Jan 24 13:28:20 PST 2013


Hi everybody,

I have one announcement and one question.  

First, I want to announce that there is now an experimental implementation of least-frequently-used (LFU) replacement policy for packet buffers/content stores.  You can enable and configure it the same way as other policies (http://ndnsim.net/cs.html):
... 
ndnHelper.SetContentStore ("ns3::ndn::cs::Lfu", "MaxSize", "10000");  // or
ndnHelper.SetContentStore ("ns3::ndn::cs::Stats::Lfu", "MaxSize", "10000"); // or
ndnHelper.SetContentStore ("ns3::ndn::cs::Freshness::Lfu", "MaxSize", "10000");

The question I have is that which other cache replacement policies you would like to see in ndnSIM?

Sincerely,
Alex Afanasyev
---
Internet Research Laboratory
University of California, Los Angeles
http://lasr.cs.ucla.edu/afanasyev/index.html





More information about the ndnSIM mailing list