<div dir="ltr"><div><div><div><div><div><div><div>I changed the cpu of the machine and the figure became like:<br><img src="cid:ii_158826f488cf317b" alt="Inline image 1" width="402" height="226"><br></div>as you can see the swap is ok<br></div>now I've got a question about the number of pings?<br></div>how can I write the experiment to have the maximum number of pings in 200 seconds.<br></div>my current experiment is :<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"] = 99999999<br>        Experiment.__init__(self, args)<br><br>    def run(self):<br>        self.startPctPings()<br>        time.sleep(200)<br><br>Experiment.register("wofail", pingallreg)<br></div><br></div>which the number 99999999 is to have as many pings as possible,<br></div>how can I get the maximum pings possible?<br><div><div><div><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Nov 20, 2016 at 5:34 PM, 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>the delay is zero<br></div>the topology file is:<br>[nodes]<br>node4: _ hyperbolic-state=off radius=0.0 angle=0.0 network=/ndn router=/%C1.Router/cs/node4 site=/edu/site nlsr-log-level=NONE max-faces-per-prefix=0 nfd-log-level=NONE <br>node1: _ hyperbolic-state=off radius=0.0 angle=0.0 network=/ndn router=/%C1.Router/cs/node1 site=/edu/site nlsr-log-level=NONE max-faces-per-prefix=0 nfd-log-level=NONE <br>node5: _ hyperbolic-state=off radius=0.0 angle=0.0 network=/ndn router=/%C1.Router/cs/node5 site=/edu/site nlsr-log-level=NONE max-faces-per-prefix=0 nfd-log-level=NONE <br>node3: _ hyperbolic-state=off radius=0.0 angle=0.0 network=/ndn router=/%C1.Router/cs/node3 site=/edu/site nlsr-log-level=NONE max-faces-per-prefix=0 nfd-log-level=NONE <br>node2: _ hyperbolic-state=off radius=0.0 angle=0.0 network=/ndn router=/%C1.Router/cs/node2 site=/edu/site nlsr-log-level=NONE max-faces-per-prefix=0 nfd-log-level=NONE <br>node6: _ hyperbolic-state=off radius=0.0 angle=0.0 network=/ndn router=/%C1.Router/cs/node6 site=/edu/site nlsr-log-level=NONE max-faces-per-prefix=0 nfd-log-level=NONE <br>[switches]<br>[links]<br>node1:node2 <br>node1:node3 <br>node3:node5 <br>node5:node6 <br>node6:node4 <br>node4:node2 <br>node4:node3 <br>node3:node6 <br><br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Nov 19, 2016 at 5:27 PM, Ashlesh Gawande (agawande) <span dir="ltr"><<a href="mailto:agawande@memphis.edu" target="_blank">agawande@memphis.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div>

<div id="m_1849810668381939519m_6671776342309163625divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif" dir="ltr">
<p>No, the figure of the paper should be possible to achieve. The CPU is the bottleneck because one has to run 6 NFD, 6 NLSR instances on a single machine. I have run a 10 node pingall experiment on a VBox VM with 2.5GB RAM and 2 CPUs without so much variation.</p>
<p><br>
</p>
<p>To turn off the logs:</p>
<p>Change DEBUG to NONE here:</p>
<p><a href="https://github.com/named-data/mini-ndn/blob/master/ndn/nlsr.py#L123" class="m_1849810668381939519m_6671776342309163625OWAAutoLink" id="m_1849810668381939519m_6671776342309163625LPlnk703886" target="_blank">https://github.com/named-data/<wbr>mini-ndn/blob/master/ndn/nlsr.<wbr>py#L123</a><br>
</p>
<p><br>
</p>
<p>and make sure that this also set to NONE:</p>
<p><a href="https://github.com/named-data/mini-ndn/blob/master/ndn/nfd.py#L34" class="m_1849810668381939519m_6671776342309163625OWAAutoLink" id="m_1849810668381939519m_6671776342309163625LPlnk80158" target="_blank">https://github.com/named-data/<wbr>mini-ndn/blob/master/ndn/nfd.p<wbr>y#L34</a><br>
</p>
<p><br>
</p>
<p>Then reinstall Mini-NDN, sudo ./install.sh -i</p>
<p><br>
</p>
<p>Also make sure that in your topology file all the log levels are set to NONE if there is such an option after the nodes.</p>
<p><br>
</p>
<p>Then try to run the experiment again (If possible turn off the GUI in VM, i.e. login in to command line and run the experiment from there - just to free up some more CPU).</p>
<p><br>
</p>
<p><span style="font-size:12pt">In your graph the y-axis is the RTT in ms? What are the delays you have set on the links of the topology?</span><br>
</p>
<p><span style="font-size:12pt">(If possible, can you share the topology file?)</span></p>
<p><br>
</p>
<p>Ashlesh</p>
</div>
<hr style="display:inline-block;width:98%">
<div id="m_1849810668381939519m_6671776342309163625divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>From:</b> sepehr abdous <<a href="mailto:sepehrabdous1375@gmail.com" target="_blank">sepehrabdous1375@gmail.com</a>><br>
<b>Sent:</b> Saturday, November 19, 2016 12:48:23 AM<br>
<b>To:</b> Ashlesh Gawande (agawande)<br>
<b>Cc:</b> <a href="mailto:mini-ndn@lists.cs.ucla.edu" target="_blank">mini-ndn@lists.cs.ucla.edu</a><br>
<b>Subject:</b> Re: [Mini-NDN] result of a topology</font>
<div> </div>
</div><div><div class="m_1849810668381939519h5">
<div>
<div dir="ltr">
<div>
<div>Hello,<br>
</div>
no there aren't any timeouts and what you see there is not a zero it is 10^0 which is equal to 1.<br>
</div>
I'm running my linux on a vmware virtual machine with the configurations bellow:<br>
<img alt="Inline image 1" src="cid:ii_1587b57a26b4856e" width="471" height="265"><br>
so you're saying that this results which I've got in my figure is reasonable for the topology and it shouldn't exactly be like the figure in the paper?<br>
Thank you<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Fri, Nov 18, 2016 at 4:53 PM, Ashlesh Gawande (agawande)
<span dir="ltr"><<a href="mailto:agawande@memphis.edu" target="_blank">agawande@memphis.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div id="m_1849810668381939519m_6671776342309163625m_5099194512119180820divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif" dir="ltr">
<p>Have you verified that the ping data is correctly depicted on your figure?</p>
<p>Are there any timeouts in there? Because I see some zeros.</p>
<p><br>
</p>
<p>RTT can be have variation in Mini-NDN because of multiple NFDs are running on the same machine.</p>
<p></p>
<p style="font-family:Calibri,Arial,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px">
What is your current machine configuration?</p>
<p style="font-family:Calibri,Arial,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px">
Usually for such a small topology it should not be a problem.</p>
<p></p>
<p><br>
</p>
<p>One thing you can try is that if you are collecting NFD, NLSR, or any other logs, turn them off.</p>
<p>That is turn off all the logs except the ping data.</p>
<p><br>
</p>
<p>Other thing to try is to use a machine with more CPU power. </p>
<p></p>
<p><br>
</p>
<p>Ashlesh</p>
</div>
<hr style="display:inline-block;width:98%">
<div id="m_1849810668381939519m_6671776342309163625m_5099194512119180820divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>From:</b> Mini-NDN <<a href="mailto:mini-ndn-bounces@lists.cs.ucla.edu" target="_blank">mini-ndn-bounces@lists.cs.ucl<wbr>a.edu</a>>
 on behalf of sepehr abdous <<a href="mailto:sepehrabdous1375@gmail.com" target="_blank">sepehrabdous1375@gmail.com</a>><br>
<b>Sent:</b> Friday, November 18, 2016 6:48:35 AM<br>
<b>To:</b> <a href="mailto:mini-ndn@lists.cs.ucla.edu" target="_blank">mini-ndn@lists.cs.ucla.edu</a><br>
<b>Subject:</b> [Mini-NDN] result of a topology</font>
<div> </div>
</div>
<div>
<div class="m_1849810668381939519m_6671776342309163625h5">
<div>
<div dir="ltr">
<div>Hello all, <br>
</div>
<div>I'm new to mini-ndn and I'm trying to implement the following topology:<br>
<img alt="Inline image 1" src="cid:ii_15876715860b1e3d" width="395" height="140"><br>
</div>
<div>so I use minindnedit to implement it with the following information:<br>
<img alt="Inline image 2" src="cid:ii_15876728fa4e0582" width="395" height="262"><br>
</div>
<div>and based on the paper which represents this topology it is expected to get this figure from it's information:<br>
<img alt="Inline image 3" src="cid:ii_158767407cf733b8" width="395" height="252"><br>
</div>
<div>which the blue "+" represents the ping-data in the case that no node fails, but when I try to implement it using pingall experiment my figure will come out like this:<br>
<img alt="Inline image 4" src="cid:ii_158767b561fe7208" width="471" height="265"><br>
</div>
<div>as you can see there is more swing in the blue '+'s than it is expected, any idea why it is happening?<br>
</div>
thank you<br clear="all">
<br>
-- <br>
<div class="m_1849810668381939519m_6671776342309163625m_5099194512119180820gmail_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>
</div>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
<div class="m_1849810668381939519m_6671776342309163625gmail_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>
</div></div></div>

</blockquote></div><br><br clear="all"><br>-- <br><div class="m_1849810668381939519gmail_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></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>