<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
At the NFD call today, it was suggested that I try our experiments with a different, quicker signing method for NFD’s management modules.
<div class=""><br class="">
</div>
<div class="">I ran the following three tests:</div>
<div class=""><br class="">
</div>
<div class="">1.) Unmodified NFD to get baseline results</div>
<div class="">2.) NFD with management modules using KeyChain::signWithSha256 for control responses</div>
<div class="">3.) Test 2 + modified ndn::nfd::Controller in ndn-cxx so control commands are signed using KeyChain::signWithSha256</div>
<div class=""><br class="">
</div>
<div class="">The results I collected suggest that signing is largely the cause of the RTT jumps.
<div class="">
<div class="">
<div class=""><br class="">
</div>
<div class="">1. ) Unchanged NFD using KeyChain::sign():</div>
<div class=""><br class="">
</div>
<div class="">
<div class=""><font face="Menlo" class="">20150506T220013.546312 - Content From /ndn/edu/orange - Ping Reference = 358723384  <span class="Apple-tab-span" style="white-space:pre">
</span>- Round Trip Time = 7.54174 ms</font></div>
<div class=""><font face="Menlo" class="">20150506T220014.545910 - Content From /ndn/edu/orange - Ping Reference = 358723385  <span class="Apple-tab-span" style="white-space:pre">
</span>- Round Trip Time = 7.35931 ms</font></div>
<div class=""><font face="Menlo" class="">20150506T220015.549327 - Content From /ndn/edu/orange - Ping Reference = 358723386  <span class="Apple-tab-span" style="white-space:pre">
</span>- Round Trip Time = 10.755 ms</font></div>
<div class=""><font face="Menlo" class="">20150506T220016.569095 - Content From /ndn/edu/orange - Ping Reference = 358723387  <span class="Apple-tab-span" style="white-space:pre">
</span>- Round Trip Time = 26.909 ms</font></div>
<div class=""><font face="Menlo" class="">20150506T220017.554450 - Content From /ndn/edu/orange - Ping Reference = 358723388  <span class="Apple-tab-span" style="white-space:pre">
</span>- Round Trip Time = 15.8414 ms</font></div>
<div class=""><font face="Menlo" class="">20150506T220018.550272 - Content From /ndn/edu/orange - Ping Reference = 358723389  <span class="Apple-tab-span" style="white-space:pre">
</span>- Round Trip Time = 11.7576 ms</font></div>
<div class=""><font face="Menlo" class="">20150506T220019.594078 - Content From /ndn/edu/orange - Ping Reference = 358723390  <span class="Apple-tab-span" style="white-space:pre">
</span>- Round Trip Time = 52.0413 ms</font></div>
<div class=""><font face="Menlo" class="">20150506T220020.572899 - Content From /ndn/edu/orange - Ping Reference = 358723391  <span class="Apple-tab-span" style="white-space:pre">
</span>- Round Trip Time = 31.8473 ms</font></div>
<div class=""><font face="Menlo" class="">20150506T220021.568606 - Content From /ndn/edu/orange - Ping Reference = 358723392  <span class="Apple-tab-span" style="white-space:pre">
</span>- Round Trip Time = 29.9206 ms</font></div>
<div class=""><font face="Menlo" class="">20150506T220022.545620 - Content From /ndn/edu/orange - Ping Reference = 358723393  <span class="Apple-tab-span" style="white-space:pre">
</span>- Round Trip Time = 7.09895 ms</font></div>
<div class=""><font face="Menlo" class="">20150506T220023.551988 - Content From /ndn/edu/orange - Ping Reference = 358723394  <span class="Apple-tab-span" style="white-space:pre">
</span>- Round Trip Time = 13.4654 ms</font></div>
<div class=""><font face="Menlo" class="">20150506T220024.564711 - Content From /ndn/edu/orange - Ping Reference = 358723395  <span class="Apple-tab-span" style="white-space:pre">
</span>- Round Trip Time = 26.1983 ms</font></div>
<div class=""><font face="Menlo" class="">20150506T220025.590458 - Content From /ndn/edu/orange - Ping Reference = 358723396  <span class="Apple-tab-span" style="white-space:pre">
</span>- Round Trip Time = 51.8421 ms</font></div>
<div class=""><font face="Menlo" class="">20150506T220026.547079 - Content From /ndn/edu/orange - Ping Reference = 358723397  <span class="Apple-tab-span" style="white-space:pre">
</span>- Round Trip Time = 8.38067 ms</font></div>
<div class=""><font face="Menlo" class="">20150506T220027.546382 - Content From /ndn/edu/orange - Ping Reference = 358723398  <span class="Apple-tab-span" style="white-space:pre">
</span>- Round Trip Time = 7.7887 ms</font></div>
<div class=""><br class="">
</div>
<div class="">2.) NFD Management using KeyChain::signWithSha256() for control responses:</div>
<div class=""><br class="">
</div>
<div class="">
<div class=""><font face="Menlo" class="">20150506T220832.990110 - Content From /ndn/edu/orange - Ping Reference = 481750786  <span class="Apple-tab-span" style="white-space:pre">
</span>- Round Trip Time = 8.12952 ms</font></div>
<div class=""><font face="Menlo" class="">20150506T220833.989616 - Content From /ndn/edu/orange - Ping Reference = 481750787  <span class="Apple-tab-span" style="white-space:pre">
</span>- Round Trip Time = 7.27718 ms</font></div>
<div class=""><font face="Menlo" class="">20150506T220835.000043 - Content From /ndn/edu/orange - Ping Reference = 481750788  <span class="Apple-tab-span" style="white-space:pre">
</span>- Round Trip Time = 17.7199 ms</font></div>
<div class=""><font face="Menlo" class="">20150506T220835.997854 - Content From /ndn/edu/orange - Ping Reference = 481750789  <span class="Apple-tab-span" style="white-space:pre">
</span>- Round Trip Time = 15.8593 ms</font></div>
<div class=""><font face="Menlo" class="">20150506T220836.990831 - Content From /ndn/edu/orange - Ping Reference = 481750790  <span class="Apple-tab-span" style="white-space:pre">
</span>- Round Trip Time = 8.84247 ms</font></div>
<div class=""><font face="Menlo" class="">20150506T220838.011070 - Content From /ndn/edu/orange - Ping Reference = 481750791  <span class="Apple-tab-span" style="white-space:pre">
</span>- Round Trip Time = 17.0122 ms</font></div>
<div class=""><font face="Menlo" class="">20150506T220839.022594 - Content From /ndn/edu/orange - Ping Reference = 481750792  <span class="Apple-tab-span" style="white-space:pre">
</span>- Round Trip Time = 40.5401 ms</font></div>
<div class=""><font face="Menlo" class="">20150506T220839.996497 - Content From /ndn/edu/orange - Ping Reference = 481750793  <span class="Apple-tab-span" style="white-space:pre">
</span>- Round Trip Time = 13.9247 ms</font></div>
<div class=""><font face="Menlo" class="">20150506T220841.000317 - Content From /ndn/edu/orange - Ping Reference = 481750794  <span class="Apple-tab-span" style="white-space:pre">
</span>- Round Trip Time = 18.0118 ms</font></div>
<div class=""><font face="Menlo" class="">20150506T220841.990391 - Content From /ndn/edu/orange - Ping Reference = 481750795  <span class="Apple-tab-span" style="white-space:pre">
</span>- Round Trip Time = 8.36782 ms</font></div>
<div class=""><font face="Menlo" class="">20150506T220842.989631 - Content From /ndn/edu/orange - Ping Reference = 481750796  <span class="Apple-tab-span" style="white-space:pre">
</span>- Round Trip Time = 7.57163 ms</font></div>
<div class=""><font face="Menlo" class="">20150506T220843.990083 - Content From /ndn/edu/orange - Ping Reference = 481750797  <span class="Apple-tab-span" style="white-space:pre">
</span>- Round Trip Time = 7.9309 ms</font></div>
</div>
<div class=""><br class="">
</div>
<div class="">3.) NFD Management using KeyChain::signWithSha256() and ndn::nfd::Controller::start() using KeyChain::signWithSha256:</div>
<div class=""><br class="">
</div>
<div class="">
<div class=""><font face="Menlo" class="">20150506T224746.920419 - Content From /ndn/edu/orange - Ping Reference = 432571709  <span class="Apple-tab-span" style="white-space:pre">
</span>- Round Trip Time = 7.74707 ms</font></div>
<div class=""><font face="Menlo" class="">20150506T224747.920684 - Content From /ndn/edu/orange - Ping Reference = 432571710  <span class="Apple-tab-span" style="white-space:pre">
</span>- Round Trip Time = 8.08427 ms</font></div>
<div class=""><font face="Menlo" class="">20150506T224748.921073 - Content From /ndn/edu/orange - Ping Reference = 432571711  <span class="Apple-tab-span" style="white-space:pre">
</span>- Round Trip Time = 7.95967 ms</font></div>
<div class=""><font face="Menlo" class="">20150506T224749.920619 - Content From /ndn/edu/orange - Ping Reference = 432571712  <span class="Apple-tab-span" style="white-space:pre">
</span>- Round Trip Time = 7.78507 ms</font></div>
<div class=""><font face="Menlo" class="">20150506T224750.923189 - Content From /ndn/edu/orange - Ping Reference = 432571713  <span class="Apple-tab-span" style="white-space:pre">
</span>- Round Trip Time = 10.5592 ms</font></div>
<div class=""><font face="Menlo" class="">20150506T224751.920660 - Content From /ndn/edu/orange - Ping Reference = 432571714  <span class="Apple-tab-span" style="white-space:pre">
</span>- Round Trip Time = 7.73255 ms</font></div>
<div class=""><font face="Menlo" class="">20150506T224752.920939 - Content From /ndn/edu/orange - Ping Reference = 432571715  <span class="Apple-tab-span" style="white-space:pre">
</span>- Round Trip Time = 8.24211 ms</font></div>
<div class=""><font face="Menlo" class="">20150506T224753.923819 - Content From /ndn/edu/orange - Ping Reference = 432571716  <span class="Apple-tab-span" style="white-space:pre">
</span>- Round Trip Time = 9.19251 ms</font></div>
<div class=""><font face="Menlo" class="">20150506T224754.921798 - Content From /ndn/edu/orange - Ping Reference = 432571717  <span class="Apple-tab-span" style="white-space:pre">
</span>- Round Trip Time = 8.94248 ms</font></div>
<div class=""><font face="Menlo" class="">20150506T224755.924729 - Content From /ndn/edu/orange - Ping Reference = 432571718  <span class="Apple-tab-span" style="white-space:pre">
</span>- Round Trip Time = 12.0222 ms</font></div>
<div class=""><font face="Menlo" class="">20150506T224756.920302 - Content From /ndn/edu/orange - Ping Reference = 432571719  <span class="Apple-tab-span" style="white-space:pre">
</span>- Round Trip Time = 7.75629 ms</font></div>
</div>
<div class=""><br class="">
</div>
<div class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica;  font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; direction: ltr;" class="">
<br class="Apple-interchange-newline">
--</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; direction: ltr;" class="">
Vince Lehman</div>
</div>
</div>
</div>
<br class="">
<div>
<blockquote type="cite" class="">
<div class="">On May 5, 2015, at 8:37 AM, Vince Lehman (vslehman) <<a href="mailto:vslehman@memphis.edu" class="">vslehman@memphis.edu</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Hi Junxiao,
<div class=""><br class="">
</div>
<div class="">A registration for a new UDP face causes the RTT to increase slightly, ~2ms above the previous experiment:</div>
<div class=""><br class="">
</div>
<div class="">Content From /ndn - Ping Reference = 477477776  <span class="Apple-tab-span" style="white-space:pre">
</span>- Round Trip Time = 0.778 ms<br class="">
Content From /ndn - Ping Reference = 477477777  <span class="Apple-tab-span" style="white-space:pre">
</span>- Round Trip Time = 0.649 ms<br class="">
Content From /ndn - Ping Reference = 477477778  <span class="Apple-tab-span" style="white-space:pre">
</span>- Round Trip Time = 16.614 ms<br class="">
Content From /ndn - Ping Reference = 477477779  <span class="Apple-tab-span" style="white-space:pre">
</span>- Round Trip Time = 0.982 ms</div>
<div class=""><br class="">
</div>
<div class="">A registration for a non-existent face ID causes a large increase in the RTT:</div>
<div class=""><br class="">
</div>
<div class="">Content From /ndn - Ping Reference = 479746716  <span class="Apple-tab-span" style="white-space:pre">
</span>- Round Trip Time = 0.77 ms<br class="">
Content From /ndn - Ping Reference = 479746717  <span class="Apple-tab-span" style="white-space:pre">
</span>- Round Trip Time = 0.695 ms<br class="">
Content From /ndn - Ping Reference = 479746718  <span class="Apple-tab-span" style="white-space:pre">
</span>- Round Trip Time = 52.996 ms<br class="">
Content From /ndn - Ping Reference = 479746719  <span class="Apple-tab-span" style="white-space:pre">
</span>- Round Trip Time = 0.808 ms<br class="">
<div class=""><br class="webkit-block-placeholder">
</div>
<div apple-content-edited="true" class="">
<div style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; direction: ltr;" class="">
Since we simply want to update the expiration time for a particular namespace in the RIB, would there be any use for a protocol extension that allows for the expiration time for a namespace to be updated with one RIB command?<br class="Apple-interchange-newline">
--</div>
<div style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; direction: ltr;" class="">
Vince Lehman</div>
</div>
</div>
</div>
<br class="">
<div class="">
<blockquote type="cite" class="">
<div class="">On Apr 24, 2015, at 1:38 PM, Junxiao Shi <<a href="mailto:shijunxiao@email.arizona.edu" class="">shijunxiao@email.arizona.edu</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">Hi Lan
<div class=""><br class="">
</div>
<div class="">Before I can suggest any code patches, additional experiment is needed to confirm or reject the hypothesis in <a href="http://www.lists.cs.ucla.edu/pipermail/nfd-dev/2015-April/001049.html" class="">http://www.lists.cs.ucla.edu/pipermail/nfd-dev/2015-April/001049.html</a>
 .</div>
<div class=""><br class="">
</div>
<div class="">If you want to measure RTT changes due to route changes, one possible way is to increase the link delay.<br class="">
</div>
<div class="">When the link delay is 10ms, a 10ms RTT change is 50% and appears significant.</div>
<div class="">When the link delay is 500ms, a 10ms RTT change is 1% and appears negligible.</div>
<div class=""><br class="">
</div>
<div class="">Yours, Junxiao<br class="">
<div class="gmail_extra"><br class="">
<div class="gmail_quote">On Fri, Apr 24, 2015 at 11:33 AM, Lan Wang (lanwang) <span dir="ltr" class="">
<<a href="mailto:lanwang@memphis.edu" target="_blank" class="">lanwang@memphis.edu</a>></span> wrote:<br class="">
<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" class="">Basically, we saw a large jump in ndnping results between two nodes even though there was no path change for the path between those two nodes.  We found that it was because those nodes (or the intermediate ones) were
 busy updating their FIB (for other routes) -- each registration and unregistration of a route obviously took ~10ms for NRD/NFD to process.  
<div class=""><br class="">
</div>
<div class="">We were interested in RTT changes due to route changes, so the extra delay caused by the route registrations is an undesirable side effect we'd like to remove (thus Vince's email).  So any suggestions on how to deal with this in our experiments
 are highly appreciated.</div>
<div class=""><br class="">
</div>
<div class="">In the long term, we do need to address the problem of high processing delays of route registrations.</div>
<span class=""><font color="#888888" class=""></font></span>
<div class=""><span class=""><font color="#888888" class="">
<div class="">
<div style="font-family: Helvetica; font-size: inherit; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;" class="">
<div style="font-family: Helvetica; font-size: inherit; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;" class="">
<span style="border-collapse:separate;border-spacing:0px" class="">
<div style="word-wrap:break-word" class=""><br class="">
Lan</div>
</span></div>
</div>
</div>
</font></span>
<div class="">
<div class="h5"><br class="">
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
_______________________________________________<br class="">
Nfd-dev mailing list<br class="">
<a href="mailto:Nfd-dev@lists.cs.ucla.edu" class="">Nfd-dev@lists.cs.ucla.edu</a><br class="">
http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev<br class="">
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</div>
</div>
</body>
</html>