<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-7">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div id="appendonsend" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Mini-NDN <mini-ndn-bounces@lists.cs.ucla.edu> on behalf of Lan Wang (lanwang) <lanwang@memphis.edu><br>
<b>Sent:</b> Thursday, June 10, 2021 9:38 AM<br>
<b>To:</b> Junxiao Shi via Mini-NDN <mini-ndn@lists.cs.ucla.edu><br>
<b>Subject:</b> [Mini-NDN] Topology angles and radius & Interest-Data Packets' metrics</font>
<div> </div>
</div>
<div class="" style="word-wrap:break-word; line-break:after-white-space"><span class="" style="color:rgb(127,127,127)"><b class="">From:
</b></span><span class="" style="">Αστεριος Παρλιτσης <<a href="mailto:asteparl@ee.duth.gr" class="">asteparl@ee.duth.gr</a>></span><br class="">
<div class="" style="margin-top:0px; margin-right:0px; margin-bottom:0px; margin-left:0px">
<span class="" style="color:rgba(127,127,127,1.0)"><b class="">Subject: </b></span><span class="" style=""><b class="">Topology angles and radius & Interest-Data Packets' metrics</b><br class="">
</span></div>
<div class="" style="margin-top:0px; margin-right:0px; margin-bottom:0px; margin-left:0px">
<span class="" style="color:rgba(127,127,127,1.0)"><b class="">Date: </b></span><span class="" style="">June 10, 2021 at 6:39:43 AM CDT<br class="">
</span></div>
<div class="" style="margin-top:0px; margin-right:0px; margin-bottom:0px; margin-left:0px">
<span class="" style="color:rgba(127,127,127,1.0)"><b class="">To: </b></span><span class="" style=""><a href="mailto:mini-ndn@lists.cs.ucla.edu" class="">mini-ndn@lists.cs.ucla.edu</a><br class="">
</span></div>
<br class="">
<br class="">
<div class="" style="font-family:Arial; font-size:14px">
<p class="">Hello, I am new to Mini-NDN and I have two issues with my experiments:<br class="">
<br class="">
1) I want to run some instances of simple topologies with 20+ nodes but don't really get the hyperbolic coordinates' function and how to produce them for my own topologies. Is it possible or usefull in my case to disable the radius and angle parameters since
I don't use hyperbolic routing strategies?</p>
<p class=""><br>
</p>
<p class=""><span style="font-family: Cambria, Georgia, serif;">- You really don't have to use hyperbolic topology unless you are doing experiments with hyperbolic routing. And yes, you can remove radius and angles from the current example
</span><a href="https://github.com/named-data/mini-ndn/tree/master/topologies" title="https://github.com/named-data/mini-ndn/tree/master/topologies"><span style="font-family: Cambria, Georgia, serif;">topologies</span></a><span style="font-family: Cambria, Georgia, serif;">.
Your topology can have the following structure without hyperbolic coordinates.</span><br>
<br>
</p>
<div class="" style="margin-top: 0px; margin-bottom: 0px;">
<div class="highlight-default notranslate" style="box-sizing:border-box;border:1px solid rgb(225, 228, 229);overflow-x:auto;margin:1px 0px 24px;color:rgb(64, 64, 64);font-family:Lato, proxima-nova, "Helvetica Neue", Arial, sans-serif;font-size:16px;background-color:rgb(252, 252, 252)">
<div class="highlight" style="box-sizing:border-box;background:rgb(248, 248, 248);border:none;overflow-x:auto;margin:0px">
<pre style="box-sizing:border-box;font-family:SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", Courier, monospace;font-size:12px;margin:0px;padding:12px;display:block;overflow:auto;line-height:1.4"><span class="p" style="box-sizing:border-box">[</span><span class="n" style="box-sizing:border-box">nodes</span><span class="p" style="box-sizing:border-box">]</span>
<span class="n" style="box-sizing:border-box">a</span><span class="p" style="box-sizing:border-box">:</span>
<span class="n" style="box-sizing:border-box">b</span><span class="p" style="box-sizing:border-box">:</span>
<span class="p" style="box-sizing:border-box">[</span><span class="n" style="box-sizing:border-box">links</span><span class="p" style="box-sizing:border-box">]</span>
<span class="n" style="box-sizing:border-box">a</span><span class="p" style="box-sizing:border-box">:</span><span class="n" style="box-sizing:border-box">b</span> <span class="n" style="box-sizing:border-box">delay</span><span class="o" style="box-sizing:border-box;color:rgb(102, 102, 102)">=</span><span class="mi" style="box-sizing:border-box;color:rgb(102, 102, 102)">10</span><span class="n" style="box-sizing:border-box">ms</span></pre>
</div>
</div>
</div>
<p class=""><br>
</p>
<p class="">2) I have assigned to some nodes the roles of consumers and producers by running the examples provided by the ndn-cxx libraries on each one of them. What I need is a way to measure the delay of the Data Packet from the moment a node requests a packet
by sending an Interest. I have already tried placing timers in the consumer.cpp but somehow the output is smaller than the link's delay so I got that wrong.</p>
<p class=""><br>
</p>
<p class=""><span style="font-family: cambria, georgia, serif; font-size: 10.5pt; color: rgb(50, 49, 48); background-color: rgba(0, 0, 0, 0);">- If packet retrieval time is smaller than the link delay, it is highly likely that the packet might have been serverd
from the local nfd's cache</span><span style="font-family: cambria, georgia, serif; font-size: 10.5pt; color: rgb(50, 49, 48); background-color: rgba(0, 0, 0, 0);">. </span><span style="color: rgb(50, 49, 48); font-family: cambria, georgia, serif; font-size: 10.5pt; background-color: rgba(0, 0, 0, 0);">Please
enable the nfd-logs, look at the consumer's log specifically, and see if local nfd is sending back the cached dat</span><span style="font-size: 10.5pt; font-family: cambria, georgia, serif; color: rgb(50, 49, 48); background-color: rgba(0, 0, 0, 0);">a or
not. </span></p>
<p class=""><span style="font-size: 10.5pt; font-family: arial; color: rgb(50, 49, 48); background-color: rgba(0, 0, 0, 0);"><br>
</span></p>
<p class=""><span style="font-size: 10.5pt; font-family: arial; color: rgb(50, 49, 48); background-color: rgba(0, 0, 0, 0);"><span style="margin: 0px; font-size: 10.5pt; font-family: cambria, georgia, serif; color: rgb(50, 49, 48); background-color: rgba(0, 0, 0, 0);">To
set debug nfd log from the experiment: "</span><span style="margin: 0px; font-size: 10.5pt; font-family: cambria, georgia, serif; color: rgb(50, 49, 48); background-color: rgba(0, 0, 0, 0);">AppManager(self.ndn, self.ndn.net.hosts, Nfd,</span><span style="margin: 0px; font-size: 12pt; font-family: Calibri, Arial, Helvetica, sans-serif; color: black; background-color: rgb(255, 255, 255);"><span style="font-family: cambria, georgia, serif; font-size: 10.5pt; color: rgb(50, 49, 48); background-color: rgba(0, 0, 0, 0);"> </span></span></span><span style="font-size: 10.5pt; font-family: cambria, georgia, serif; color: rgb(50, 49, 48); background-color: rgba(0, 0, 0, 0);">logLevel='DEBUG</span><span style="font-size: 10.5pt; font-family: arial; color: rgb(50, 49, 48); background-color: rgba(0, 0, 0, 0);"><span style="margin: 0px; font-size: 10.5pt; font-family: cambria, georgia, serif; color: rgb(50, 49, 48); background-color: rgba(0, 0, 0, 0);">')" </span></span></p>
<div class="" style="font-family:Arial; font-size:14px"><br>
</div>
<br class="">
Thanks a lot, <br class="">
Sergio
<p></p>
</div>
<div class="" style="word-wrap:break-word; line-break:after-white-space"><br>
</div>
<div class="" style="word-wrap:break-word; line-break:after-white-space"><br>
</div>
<br class="">
<br class="">
</div>
</body>
</html>