[Nfd-dev] Interest lifetime for NFD command interests

Burke, Jeff jburke at remap.ucla.edu
Mon Apr 28 18:07:48 PDT 2014


Most of the redmine issue referenced by Alex deals with timeouts in the case of an unavailable remote node, failed dns lookup, etc., but in a successful registration—such as the one taking 1200ms on the PI— what are the dominant time components?

Jeff

From: "Thompson, Jeff" <jefft0 at remap.ucla.edu<mailto:jefft0 at remap.ucla.edu>>
Date: Tue, 29 Apr 2014 00:58:44 +0000
To: Alex Afanasyev <alexander.afanasyev at ucla.edu<mailto:alexander.afanasyev at ucla.edu>>
Cc: nfd-dev <nfd-dev at lists.cs.ucla.edu<mailto:nfd-dev at lists.cs.ucla.edu>>
Subject: Re: [Nfd-dev] Interest lifetime for NFD command interests

Hi Alex,

Fair enough.  But I just tested on the Raspberry Pi, and it takes NFD 1200 seconds to answer a prefix registration.  For use on the Pi, we increased the command interest lifetime to 2000 milliseconds.

- Jeff T

From: Alex Afansyev <alexander.afanasyev at ucla.edu<mailto:alexander.afanasyev at ucla.edu>>
Date: Friday, April 18, 2014 2:10 PM
To: Jeff Thompson <jefft0 at remap.ucla.edu<mailto:jefft0 at remap.ucla.edu>>
Cc: nfd-dev <nfd-dev at lists.cs.ucla.edu<mailto:nfd-dev at lists.cs.ucla.edu>>
Subject: Re: [Nfd-dev] Interest lifetime for NFD command interests

Hi Jeff,

I agree completely with this for prefix registration commands.  I would say, there is no much value/reason to make the lifetime longer than, say, a second.  Could be shorter, but on some extremely busy systems (like our Jenkins slave), even a simple registration may take some time.

For face creation, lifetime should be longer that 4 seconds since it can take some time to create some tunnels (e.g., TCP).  We even have a redmine issue for that (http://redmine.named-data.net/issues/1455)

---
Alex

On Apr 18, 2014, at 11:51 AM, Thompson, Jeff <jefft0 at remap.ucla.edu<mailto:jefft0 at remap.ucla.edu>> wrote:

For a command interest to NFD/NRD, is there a recommended InterestLifetime (used as a timeout)?  Since it goes to the local host, can it safely be shorter than 4000 milliseconds?

Thank you,
- Jeff T
_______________________________________________ Nfd-dev mailing list Nfd-dev at lists.cs.ucla.edu<mailto:Nfd-dev at lists.cs.ucla.edu> http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/nfd-dev/attachments/20140429/e829c9e2/attachment.html>


More information about the Nfd-dev mailing list