[ndnSIM] Delay PIT and CS deletion

Gustavo Gonzalez gonzalezcga at gmail.com
Sun Aug 23 01:31:12 PDT 2015

Hello Spyros.

Thank you very much for the answer. It helped me a lot.

I have two more questions.

1. Is it possible to modify the pit expiration time but only to one node in
the Simulation? If it does, how could this be done?

2. I have tried to implement probabilistic:lru caching but the result is
the same as in lru. I have seen that probability attributes (0-No cache /
1-Cache) have to be set up in the nodes where this caching strategy has to
be implemented. I have done this but the results were not what I expected.
I appreciate any hint to solve this.

Am 23.08.2015 06:24 schrieb "Spyridon (Spyros) Mastorakis" <
spiros.mastorakis at gmail.com>:

> > I have been trying to run the code after having modified the time but I
> got an error (./src/ndnSIM/NFD/daemon/table/pit-face-record.cpp:45:33:
> error: conversion from ‘double’ to non-scalar type
> ‘boost::chrono::milliseconds {aka boost::chrono::duration<long long int,
> boost::ratio<1ll, 1000ll> >}’ requested) I just made equal the lifetime
> value to 250. Probably I am doing it wrong and that's why the mistake.
> Could that just be changed by an integer value in order to be modified the
> PIT duration?
> The lifetime has to be of type time::milliseconds. So, something like
> time::milliseconds lifetime = time::milliseconds(250) should work.
> > Another question that I wanted to make is about the total length of the
> ndn packet on the wire. The publisher sets the payload size but how much
> this could be increased? If it is go large, then fragmentation of the data
> message takes place before to be put on the wire?
> There is no fragmentation on the ndnSIM side (and I believe there is no
> fragmentation taking place on the NS3 side as well).
> --
> Spyridon (Spyros) Mastorakis
> Personal Website: http://cs.ucla.edu/~mastorakis/
> Internet Research Laboratory
> PhD Computer Science
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20150823/c04eb056/attachment.html>

More information about the ndnSIM mailing list