<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="">
<blockquote type="cite" class="">
<div dir="ltr" class="">
<div class="">This shows a correlation between signing algorithm and max RTT, but the variance is much larger compared to the logs from Apr 23.</div>
<div class="">Are you using a different machine?</div>
</div>
</blockquote>
<div class=""><br class="">
</div>
Yes, I should have been more clear. The results in the previous email are from our routing experiments where we originally encountered the problem.
<div class=""><br class="">
</div>
<div class="">
<blockquote type="cite" class="">
<div dir="ltr" class="">
<div class="">How many CPU cores does this machine have? There shouldn't be much difference between 2 and 3 on a quad-core machine.</div>
</div>
</blockquote>
<br class="">
</div>
<div class="">The machine has 4 cores. The difference between tests 2 and 3 are due to the change in the library which would also affect NLSR. When NLSR sends the RIB registration commands, they are also signed using signWithSha256.</div>
<div class=""><br class="">
</div>
<div class="">
<blockquote type="cite" class="">
<div dir="ltr" class="">
<div class="">Also, please confirm you have changed ".sign(" to ".signWithSha256(" in all these files for "NFD Management":</div>
<div class="">
<ul class="">
<li class="">NFD/core/segment-publisher.hpp (for answering face query; unnecessary if nfdc is using a FaceId)</li><li class="">NFD/core/notification-stream.hpp (for generating face status change notifications)</li><li class="">NFD/daemon/mgmt/manager-base.cpp (for answering commands)</li></ul>
</div>
</div>
</blockquote>
<div class="">Yes, I have modified each of these files for tests 2 and 3.</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 6, 2015, at 7:04 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 Vince
<div class=""><br class="">
</div>
<div class="">Summary from your logs:<br class="">
</div>
<div class="">
<ol class="">
<li class="">NFD=RSA, ndn::nfd::Controller=RSA: min 7.098ms, max 52.041ms<br class="">
</li><li class="">NFD=SHA256, ndn::nfd::Controller=RSA: min 7.277ms, max 40.540ms<br class="">
</li><li class="">NFD=SHA256, ndn::nfd::Controller=SHA256: min 7.732ms, max 12.022ms<br class="">
</li></ol>
</div>
<div class="">This shows a correlation between signing algorithm and max RTT, but the variance is much larger compared to the logs from Apr 23.</div>
<div class="">Are you using a different machine?</div>
<div class="">How many CPU cores does this machine have? There shouldn't be much difference between 2 and 3 on a quad-core machine.</div>
<div class=""><br class="">
</div>
<div class="">Also, please confirm you have changed ".sign(" to ".signWithSha256(" in all these files for "NFD Management":</div>
<div class="">
<ul class="">
<li class="">NFD/core/segment-publisher.hpp (for answering face query; unnecessary if nfdc is using a FaceId)</li><li class="">NFD/core/notification-stream.hpp (for generating face status change notifications)</li><li class="">NFD/daemon/mgmt/manager-base.cpp (for answering commands)</li></ul>
</div>
<div class=""><br class="">
</div>
<div class="">Yours, Junxiao<br class="">
<div class="gmail_extra"><br class="">
<div class="gmail_quote">On Wed, May 6, 2015 at 4:04 PM, Vince Lehman (vslehman) <span dir="ltr" class="">
<<a href="mailto:vslehman@memphis.edu" target="_blank" class="">vslehman@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="">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 style="white-space:pre-wrap" class="">
</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 style="white-space:pre-wrap" class="">
</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 style="white-space:pre-wrap" class="">
</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 style="white-space:pre-wrap" class="">
</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 style="white-space:pre-wrap" class="">
</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 style="white-space:pre-wrap" class="">
</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 style="white-space:pre-wrap" class="">
</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 style="white-space:pre-wrap" class="">
</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 style="white-space:pre-wrap" class="">
</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 style="white-space:pre-wrap" class="">
</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 style="white-space:pre-wrap" class="">
</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 style="white-space:pre-wrap" class="">
</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 style="white-space:pre-wrap" class="">
</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 style="white-space:pre-wrap" class="">
</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 style="white-space:pre-wrap" class="">
</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 style="white-space:pre-wrap" class="">
</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 style="white-space:pre-wrap" class="">
</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 style="white-space:pre-wrap" class="">
</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 style="white-space:pre-wrap" class="">
</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 style="white-space:pre-wrap" class="">
</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 style="white-space:pre-wrap" class="">
</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 style="white-space:pre-wrap" class="">
</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 style="white-space:pre-wrap" class="">
</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 style="white-space:pre-wrap" class="">
</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 style="white-space:pre-wrap" class="">
</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 style="white-space:pre-wrap" class="">
</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 style="white-space:pre-wrap" class="">
</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 style="white-space:pre-wrap" class="">
</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 style="white-space:pre-wrap" class="">
</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 style="white-space:pre-wrap" class="">
</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 style="white-space:pre-wrap" class="">
</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 style="white-space:pre-wrap" class="">
</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 style="white-space:pre-wrap" class="">
</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 style="white-space:pre-wrap" class="">
</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 style="white-space:pre-wrap" class="">
</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 style="white-space:pre-wrap" class="">
</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 style="white-space:pre-wrap" class="">
</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 style="white-space:pre-wrap" class="">
</span>- Round Trip Time = 7.75629 ms</font></div>
</div>
<div class=""><br class="">
</div>
<div class="">
<div style="font-family: Helvetica; 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-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-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; direction: ltr;" class="">
<br class="">
--</div>
<div style="font-family: Helvetica; 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; direction: ltr;" class="">
Vince Lehman</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>