<div dir="ltr">Hi Jeff<div><br></div><div><a href="http://yoursunny.com/p/ndn6/reachability/">http://yoursunny.com/p/ndn6/reachability/</a> is a multi-HUB test.<br></div><div>Both programs have the same drawback: measured delay includes not only the delay between HUBs, but also the delay from laptop to connected HUB.</div>

<div><br></div><div>In making this multi-HUB reachability test, I have the following experience:</div><div><ul><li>Do not send ping as first Interest, because its measured delay may contain the time spent to establish WebSocket connection. Instead, send a dummy Interest (eg. "ndn:/"), and send the first ping after the dummy Interest is satisfied or timed out.</li>

<li>Do not send too many Interests at the same time. Delay is significantly increased if rate is more than 5 Interests/second, due to CPU bottleneck (on a Windows 7 laptop). Chrome's CPU usage should be kept under 2% for measured delay to be accurate.</li>

<li>ndnpingserver must use RSA signature. SHA256 digest signatures cannot be decoded by ndn-js (<a href="http://redmine.named-data.net/issues/1851">Feature #1851</a>).</li></ul></div><div><br></div><div><div class="gmail_extra">

Yours, Junxiao<br><br><div class="gmail_quote">On Mon, Aug 18, 2014 at 7:10 PM, Burke, Jeff <span dir="ltr"><<a href="mailto:jburke@remap.ucla.edu" target="_blank">jburke@remap.ucla.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">





<div style="word-wrap:break-word;color:rgb(0,0,0);font-size:14px;font-family:Calibri,sans-serif">
<div><br>
</div>
<div>Also, in case it's helpful, I've updated (hastily) the ndn-ping example in ndn-js to work with the current ping server and NFD. </div>
<div><a href="https://github.com/named-data/ndn-js/tree/master/examples/ndnping" target="_blank">https://github.com/named-data/ndn-js/tree/master/examples/ndnping</a></div>
<div><br>
</div>
<div>A live version is here:</div>
<div>
<div><a href="http://named-data.net/apps/live/ndn-ping.html" target="_blank">http://named-data.net/apps/live/ndn-ping.html</a></div>
<div><br>
</div>
</div>
<div>This only connects to a single hub, but perhaps it would be useful in building a multi-hub test, though the code is not all that well written (sorry). </div>
<div><br>
</div>
<div>Jeff</div>
<div><br></div></div></blockquote></div></div></div></div>