<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body>
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p>1) I think the experiment from paper was run on real testbed which would explain the outliers in the RTT.</p>
<p><br>
</p>
<p>2) The experiment for blue line is not correct as it also a failure experiment. The difference is the number of faces.</p>
<p>For blue line the experiment would be the same as the red line except you would run mini-NDN with option --faces 0 (i.e. multipath). For the red line you would run with --faces 1 (i.e. single path).</p>
<p><br>
</p>
<p>Blue line:</p>
<p>sudo minindn --experiment=failureExp --faces 0</p>
<p><br>
</p>
<p>Red line:</p>
<p><span style="font-family: Calibri, Arial, Helvetica, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;">sudo minindn --experiment=failureExp<b> </b>--faces 1</span><br>
</p>
<p><br>
</p>
<p>3) I am not sure about the density but the figure on the paper should not have more than 200 pings. Maybe the small size of the figure and different point size is leading to more observed density.</p>
<p>Another case could be that there are some timeouts in your experiment that are not represented on the graphs?</p>
<p><br>
</p>
<p>Ashlesh</p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Mini-NDN <mini-ndn-bounces@lists.cs.ucla.edu> on behalf of sepehr abdous <sepehrabdous1375@gmail.com><br>
<b>Sent:</b> Wednesday, November 23, 2016 4:06:01 PM<br>
<b>To:</b> mini-ndn@lists.cs.ucla.edu<br>
<b>Subject:</b> Re: [Mini-NDN] topology result</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div>
<div>also my experiments codes are:<br>
</div>
for blue points:<br>
<br>
<br>
from ndn.experiments.experiment import Experiment<br>
from ndn.nlsr import Nlsr<br>
<br>
import time<br>
<br>
class pingallreg(Experiment):<br>
<br>
    def __init__(self, args):<br>
        args["nPings"] = 200000<br>
        Experiment.__init__(self, args)<br>
<br>
    def run(self):<br>
        self.startPctPings()<br>
        time.sleep(200)<br>
<br>
Experiment.register("wofail", pingallreg)<br>
<br>
</div>
and for red points which involve failure:<br>
<br>
from ndn.experiments.experiment import Experiment<br>
from ndn.nlsr import Nlsr<br>
<br>
import time<br>
<br>
class fail(Experiment):<br>
<br>
    def __init__(self, args):<br>
        args["nPings"] = 140000<br>
        Experiment.__init__(self, args)<br>
<br>
        self.PING_COLLECTION_TIME_BEFORE_FAILURE = 60<br>
        self.PING_COLLECTION_TIME_AFTER_RECOVERY = 20<br>
<br>
    def run(self):<br>
        self.startPctPings()<br>
<br>
        # After the pings are scheduled, collect pings for 1 minute<br>
        time.sleep(self.PING_COLLECTION_TIME_BEFORE_FAILURE)<br>
<br>
        # Bring down CSU<br>
        for host in self.net.hosts:<br>
            if <a href="http://host.name">host.name</a> == "node4":<br>
                self.failNode(host)<br>
                break<br>
<br>
        # CSU is down for 2 minutes<br>
        time.sleep(120)<br>
<br>
        # Bring CSU back up<br>
        for host in self.net.hosts:<br>
            if <a href="http://host.name">host.name</a> == "node4":<br>
                self.recoverNode(host)<br>
<br>
                for other in self.net.hosts:<br>
                    if <a href="http://host.name">host.name</a> != <a href="http://other.name">
other.name</a>:<br>
                        self.ping(host, other, self.PING_COLLECTION_TIME_AFTER_RECOVERY)<br>
<br>
        # Collect pings for more seconds after CSU is up<br>
        time.sleep(self.PING_COLLECTION_TIME_AFTER_RECOVERY)<br>
<br>
Experiment.register("failone", fail)<br>
<br>
<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Thu, Nov 24, 2016 at 1:31 AM, sepehr abdous <span dir="ltr">
<<a href="mailto:sepehrabdous1375@gmail.com" target="_blank">sepehrabdous1375@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div>Hello all,<br>
</div>
I'm new to mini-ndn and I'm trying to implement the following topology<br>
<span style="color:rgb(0,0,255)"></span><br>
<div>
<div>
<div>
<div class="m_4757294222532849767gmail_signature">
<div dir="ltr">
<div><img alt="Inline image 2" width="440" height="156" src="cid:ii_158932da9c2d60d3"><br>
</div>
<div>I implemented it with the following information:<br>
<img alt="Inline image 3" width="411" height="273" src="cid:ii_158932ed452ab46e"><br>
</div>
<div>and based on the paper the expected results on ping is :<br>
<img alt="Inline image 4" width="411" height="263" src="cid:ii_158932f69cd7cd68"><br>
</div>
<div>but when I implement it I get the following image<br>
<br>
<img alt="Inline image 5" width="411" height="231" src="cid:ii_1589330c32fb3f4d"><br>
</div>
<div>and as you can see there are some problems:<br>
</div>
<div>(1) the values on the y-axis is much higher than in the paper, I figured out that It's caused by the delay, I set the delay for every link to 20ms so the values are around 80ms but when I set the delay to 0ms the values are around 10ms but the swing of
 values become more and values are not united like when the delay is 20ms<br>
</div>
<div>(2) as you can see when node4 fails we have some values that shows something happened:<br>
<img alt="Inline image 6" width="304" height="234" src="cid:ii_15893345029ab5d2"><br>
</div>
<div>but this values doesn't exist in my figure.<br>
</div>
<div>(3) the density of red points in my figure isn't the same in all aspects.<br>
</div>
<div>can you please help me with this problems.<br>
</div>
<div>Thank you<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
<div class="gmail_signature" data-smartmail="gmail_signature">
<div dir="ltr">
<div>
<div><span style="color:rgb(0,0,255)">Sepehr Abdous<br>
</span></div>
<span style="color:rgb(0,0,255)">Faculty: <a href="mailto:abdous@ce.sharif.edu" target="_blank">
abdous@ce.sharif.edu</a><br>
</span></div>
<div><span style="color:rgb(0,0,255)">Yahoo mail: <a href="mailto:sepehrabdous@yahoo.com" target="_blank">
sepehrabdous@yahoo.com</a><br>
</span></div>
<div><span style="color:rgb(0,0,255)">Cellphone:+989194030591<br>
</span></div>
<div><span style="color:rgb(0,0,255)">School of computer engineering<br>
</span></div>
<div><span style="color:rgb(0,0,255)">Sharif University of Technology<br>
</span></div>
<div><span style="color:rgb(0,0,255)">Tehran, Iran</span><br>
</div>
</div>
</div>
</div>
</div>
</body>
</html>