[Nfd-dev] [Ndn-interest] content_store

Junxiao Shi shijunxiao at email.arizona.edu
Tue Dec 26 05:41:15 PST 2017


Hi Guiseppe

Does it mean that the data is deleted from the CS after the FreshnessPeriod
> is over?
>

No. Data that has stayed longer than FreshnessPeriod cannot satisfy
Interest with MustBeFresh selector, but can still satisfy Interest without
MustBeFresh selector.
It is unnecessary to delete them.


> It seems that I store so many data packets on the content store that NFD
> is not able to work in a good way anymore.
>

The default "priority fifo" CS replacement policy evicts stale Data (those
stayed longer than FreshnessPeriod) first, before evicting non-stale Data.
The overall capacity of the CS can be adjusted in nfd.conf at
tables.cs_max_packets attribute.


> I get some data packets which are incomplete: sniffing the packet I have
> "INCOMPLETE-PACKET".
>

This is a limitation of ndndump. Use NDN dissector for Wireshark
<https://github.com/named-data/ndn-tools/tree/master/tools/dissect-wireshark>
instead.


> I think it is caused by the CS which is in overflow.
>

No. CS has a replacement policy and can never overflow.


> There are some policies to manage the CS, but I think that the replace
> policy is done automatically by NFD.
>


Yours, Junxiao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/nfd-dev/attachments/20171226/799564d5/attachment.html>


More information about the Nfd-dev mailing list