[Mini-NDN] SLEEP_TIME in nfdc
Philipp Moll
philipp.moll at itec.aau.at
Thu Apr 9 21:48:58 PDT 2020
Hi Saurab,
thanks for your response. I thought that the node.cmd(...) call waits
until the execution of the called command is finished. Or is the
nfdc-command finishing before the actual configuration of NFD happened?
Thanks
Philipp
On 4/9/20 5:05 PM, Saurab Dulal (sdulal) wrote:
> Hi Philipp,
>
> The sleep time is just to make sure the completion of nfdc command.
> You can definitely configure to make it small, depending on how fast
> your machine is to process the command.
>
> Regards,
> Saurab Dulal
>
>
> ------------------------------------------------------------------------
> *From:* Mini-NDN <mini-ndn-bounces at lists.cs.ucla.edu> on behalf of
> Philipp Moll <philipp.moll at itec.aau.at>
> *Sent:* Thursday, April 9, 2020 11:16 AM
> *To:* mini-ndn at lists.cs.ucla.edu <mini-ndn at lists.cs.ucla.edu>
> *Subject:* [Mini-NDN] SLEEP_TIME in nfdc
> Hi everyone,
>
> I was just looking for a way to speed-up the NDNRoutingHelper of
> MiniNDN. While doing this, I found that MiniNDN sleeps after every
> nfdc-command for 200ms (e.g.:
> https://github.com/named-data/mini-ndn/blob/f48424a4a7d0fe5799a7adf7387490e26bdaae51/minindn/helpers/nfdc.py#L69).
>
> I was curious what would happen if I reduce the sleep time to zero, and
> everything still seems to work.
>
> Is there any reason for the 200ms sleep after every nfdc command?
>
> Thanks,
> Philipp
>
> _______________________________________________
> Mini-NDN mailing list
> Mini-NDN at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/mini-ndn
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/mini-ndn/attachments/20200410/259ef92d/attachment.html>
More information about the Mini-NDN
mailing list