<div dir="ltr"><div><div><div><div><div><div><div><div><div>Dear Alex,<br><br></div>Thanks a lot for your contribution.<br></div>As you mention, by using the enable NACKs the result is improved.<br></div>We have to do some tuning of consumerWindows app for better result as TCP.<br>
</div>In this sense, some sample model such as limit-window, rtt-estimator, rtt-deviation, etc are required to improve.<br></div>This just my thinking about it and I am not quite sure.<br></div>Could you advice me what I am missing or mis-understanding.<br>
</div>Thanks again.<br><br></div>Rgds<br></div>TUN<br><div><div><div><div><div><div><div><div><br><br></div></div></div></div></div></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jul 22, 2013 at 2:39 AM,  <span dir="ltr"><<a href="mailto:ndnsim-request@lists.cs.ucla.edu" target="_blank">ndnsim-request@lists.cs.ucla.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send ndnSIM mailing list submissions to<br>
        <a href="mailto:ndnsim@lists.cs.ucla.edu">ndnsim@lists.cs.ucla.edu</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:ndnsim-request@lists.cs.ucla.edu">ndnsim-request@lists.cs.ucla.edu</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:ndnsim-owner@lists.cs.ucla.edu">ndnsim-owner@lists.cs.ucla.edu</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of ndnSIM digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. ConsumerWindow and Congestion (Tun Tun Oo)<br>
   2. Re: ConsumerWindow and Congestion (Alex Afanasyev)<br>
   3. CcnxGlobalRouting (Saeid Montazeri)<br>
   4. Re: CcnxGlobalRouting (Alex Afanasyev)<br>
   5. Cache according to hopcount (???)<br>
   6. Re: Cache according to hopcount (Alex Afanasyev)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Thu, 18 Jul 2013 00:07:49 +0900<br>
From: Tun Tun Oo <<a href="mailto:htunhtunu@gmail.com">htunhtunu@gmail.com</a>><br>
To: <a href="mailto:ndnsim@lists.cs.ucla.edu">ndnsim@lists.cs.ucla.edu</a><br>
Subject: [ndnSIM] ConsumerWindow and Congestion<br>
Message-ID:<br>
        <CAE5bac9Q3Yh==+<a href="mailto:CQwmXYoXMwLhxv3oUuzOHeQg%2Bi3Co2Whx8-g@mail.gmail.com">CQwmXYoXMwLhxv3oUuzOHeQg+i3Co2Whx8-g@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Dear Alex<br>
<br>
I did an experiment using the 8-node bottleneck scenario with<br>
ConsumerWindows application. As topology, I arranged as similar to the<br>
6-node bottleneck scenario.<br>
C1\                                                        /P1<br>
     \                                                    /<br>
     /-------R1---------R2---------R3-------R4 \<br>
   /                                                     \<br>
C2                                                        P2<br>
<br>
All the access link are 10 Mbps/10 ms  and all routers are 1 Mpbs/10 ms.<br>
I set the Size Attribute of ConsumerWindow as 2 Mbyte and other setting as<br>
default.<br>
I found the some strange behaviors from graph-output<br>
 First 3 sec simulation two consumers are working as usual.<br>
Next 20 sec only one consumer (c1)can send and receive.<br>
After 20 sec two consumers can send and receive.<br>
>From 23 sec to end of simulation (40 sec) only one consumer (c2) is sending<br>
and receiving.<br>
<br>
I would like to know your advice of what  is wrong in this experiment?<br>
Thanks in advance.<br>
<br>
Regards<br>
<br>
TUN<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20130718/1f2129b7/attachment-0001.html" target="_blank">http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20130718/1f2129b7/attachment-0001.html</a>><br>

<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Thu, 18 Jul 2013 08:34:53 -0700<br>
From: Alex Afanasyev <<a href="mailto:alexander.afanasyev@ucla.edu">alexander.afanasyev@ucla.edu</a>><br>
To: Tun Tun Oo <<a href="mailto:htunhtunu@gmail.com">htunhtunu@gmail.com</a>><br>
Cc: <a href="mailto:ndnsim@lists.cs.ucla.edu">ndnsim@lists.cs.ucla.edu</a><br>
Subject: Re: [ndnSIM] ConsumerWindow and Congestion<br>
Message-ID: <<a href="mailto:46F071A0-EBBA-4B68-83C8-D66FA0B29035@ucla.edu">46F071A0-EBBA-4B68-83C8-D66FA0B29035@ucla.edu</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Hi Tun,<br>
<br>
The behavior you're observing is probably not wrong, it just that ConsumerWindow is not equal to TCP.  ConsumerWindow has very simplistic congestion-related logic implemented, so it causes such an oscillations and weirdnesses.  You may want to consider implementing a more aggressive and more TCP-like consumer, or you can also enable NACKs (EnableNACKs parameter for the forwarding strategy), which may improve (but probably not going to completely solve) your problem.<br>

<br>
---<br>
Alex<br>
<br>
On Jul 17, 2013, at 8:07 AM, Tun Tun Oo <<a href="mailto:htunhtunu@gmail.com">htunhtunu@gmail.com</a>> wrote:<br>
<br>
> Dear Alex<br>
><br>
> I did an experiment using the 8-node bottleneck scenario with ConsumerWindows application. As topology, I arranged as similar to the 6-node bottleneck scenario.<br>
> C1\                                                        /P1<br>
>      \                                                    /<br>
>      /-------R1---------R2---------R3-------R4 \<br>
>    /                                                     \<br>
> C2                                                        P2<br>
><br>
> All the access link are 10 Mbps/10 ms  and all routers are 1 Mpbs/10 ms.<br>
> I set the Size Attribute of ConsumerWindow as 2 Mbyte and other setting as default.<br>
> I found the some strange behaviors from graph-output<br>
>  First 3 sec simulation two consumers are working as usual.<br>
> Next 20 sec only one consumer (c1)can send and receive.<br>
> After 20 sec two consumers can send and receive.<br>
> From 23 sec to end of simulation (40 sec) only one consumer (c2) is sending and receiving.<br>
><br>
> I would like to know your advice of what  is wrong in this experiment?<br>
> Thanks in advance.<br>
><br>
> Regards<br>
><br>
> TUN<br>
><br>
><br>
><br>
><br>
><br>
><br>
> _______________________________________________<br>
> ndnSIM mailing list<br>
> <a href="mailto:ndnSIM@lists.cs.ucla.edu">ndnSIM@lists.cs.ucla.edu</a><br>
> <a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20130718/d86f4e8a/attachment-0001.html" target="_blank">http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20130718/d86f4e8a/attachment-0001.html</a>><br>

<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Fri, 19 Jul 2013 22:23:41 +0800<br>
From: Saeid Montazeri <<a href="mailto:saeid.montazeri@gmail.com">saeid.montazeri@gmail.com</a>><br>
To: <a href="mailto:ndnsim@lists.cs.ucla.edu">ndnsim@lists.cs.ucla.edu</a><br>
Subject: [ndnSIM] CcnxGlobalRouting<br>
Message-ID:<br>
        <CAM9UYj4HEWON8z8UHuUUc8=Esx6+xzurAd-EnYn6=<a href="mailto:JSHnAcvFg@mail.gmail.com">JSHnAcvFg@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
All dears,<br>
<br>
My question is about CcnxGlobalRouting. Does it calculate the routes based<br>
on shortest path?<br>
Regarding CalculateRoutes function, it is also mentioned that<br>
"Implementation of route calculation is heavily based on Boost Graph<br>
Library". What kind of dependency is implied?<br>
<br>
Best Regards,<br>
Saeid<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20130719/53a6c4a0/attachment-0001.html" target="_blank">http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20130719/53a6c4a0/attachment-0001.html</a>><br>

<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Fri, 19 Jul 2013 07:29:01 -0700<br>
From: Alex Afanasyev <<a href="mailto:alexander.afanasyev@ucla.edu">alexander.afanasyev@ucla.edu</a>><br>
To: Saeid Montazeri <<a href="mailto:saeid.montazeri@gmail.com">saeid.montazeri@gmail.com</a>><br>
Cc: <a href="mailto:ndnsim@lists.cs.ucla.edu">ndnsim@lists.cs.ucla.edu</a><br>
Subject: Re: [ndnSIM] CcnxGlobalRouting<br>
Message-ID: <<a href="mailto:4BE6ECA1-7F58-443B-A00B-9C1659E17922@ucla.edu">4BE6ECA1-7F58-443B-A00B-9C1659E17922@ucla.edu</a>><br>
Content-Type: text/plain; charset=iso-8859-1<br>
<br>
Hi Saeid,<br>
<br>
ndn::GlobalRouting uses Dijkstra algorithm for shortest (in terms of configured metric) route calculation.  What I meant by boost library dependency is that instead of reimplementing Dijkstra from scratch, ndn::GlobalRouting uses boost's implementation of the algorithm.<br>

<br>
Btw. Currently, there are two versions of route calculations in ndn::GlobalRouting.  One version (CalculateRoutes) calculate just one shortest route (to each globally registered prefix), and another version calculate "neighbor-independent" set routes (i.e., if destination can be reached through the face if the face was the only one working, this face will be added to FIB).<br>

<br>
---<br>
Alex<br>
<br>
On Jul 19, 2013, at 7:23 AM, Saeid Montazeri <<a href="mailto:saeid.montazeri@gmail.com">saeid.montazeri@gmail.com</a>> wrote:<br>
<br>
> All dears,<br>
><br>
> My question is about CcnxGlobalRouting. Does it calculate the routes based on shortest path?<br>
> Regarding CalculateRoutes function, it is also mentioned that "Implementation of route calculation is heavily based on Boost Graph Library". What kind of dependency is implied?<br>
><br>
> Best Regards,<br>
> Saeid<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 5<br>
Date: Sun, 21 Jul 2013 17:19:11 +0800 (CST)<br>
From: ??? <<a href="mailto:blindeafer@163.com">blindeafer@163.com</a>><br>
To: ndnsim <<a href="mailto:ndnsim@lists.cs.ucla.edu">ndnsim@lists.cs.ucla.edu</a>><br>
Subject: [ndnSIM] Cache according to hopcount<br>
Message-ID: <<a href="mailto:3a1c1cdb.21f1.140008686b1.Coremail.blindeafer@163.com">3a1c1cdb.21f1.140008686b1.Coremail.blindeafer@163.com</a>><br>
Content-Type: text/plain; charset="gbk"<br>
<br>
Hi All,<br>
I would like to implement a hopcount-based cache policy,it is that each node will cache a content with a particular hopcount number,such as 3.Before a content is going to be sent,the hopcount of a content will be set to be 0 if it is cached,<br>

If I would modify the OnData() function?How can I implement the policy?<br>
Thank you<br>
<br>
<br>
Beat regards.<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20130721/eb76b763/attachment-0001.html" target="_blank">http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20130721/eb76b763/attachment-0001.html</a>><br>

<br>
------------------------------<br>
<br>
Message: 6<br>
Date: Sun, 21 Jul 2013 10:39:24 -0700<br>
From: Alex Afanasyev <<a href="mailto:alexander.afanasyev@ucla.edu">alexander.afanasyev@ucla.edu</a>><br>
To: ??? <<a href="mailto:blindeafer@163.com">blindeafer@163.com</a>><br>
Cc: ndnsim <<a href="mailto:ndnsim@lists.cs.ucla.edu">ndnsim@lists.cs.ucla.edu</a>><br>
Subject: Re: [ndnSIM] Cache according to hopcount<br>
Message-ID: <<a href="mailto:E04E1757-8EC4-467C-B8DF-A8F370B4414F@ucla.edu">E04E1757-8EC4-467C-B8DF-A8F370B4414F@ucla.edu</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi!<br>
<br>
ndnSIM tracks the hop count in complimentary packet tag structure FwHopCountTag.  To create a policy, you will need to create a new "policy" header file (e.g., similar to lru-policy) and in insert method put something like this:<br>

<br>
<br>
...<br>
<br>
      inline bool<br>
      insert (typename parent_trie::iterator item)<br>
      {<br>
        Ptr<const Packet> pkt = item->payload ()->GetPacket ();<br>
        FwHopCountTag tag;<br>
        pkt->PeekPacketTag (tag);<br>
<br>
        if (tag.Get () == 3)<br>
          {<br>
            policy_container::push_back (*item);<br>
            return true;<br>
          }<br>
        else<br>
          {<br>
            return false;<br>
          }<br>
<br>
      }<br>
<br>
...<br>
<br>
---<br>
Alex<br>
<br>
On Jul 21, 2013, at 2:19 AM, ??? <<a href="mailto:blindeafer@163.com">blindeafer@163.com</a>> wrote:<br>
<br>
> Hi All,<br>
> I would like to implement a hopcount-based cache policy,it is that each node will cache a content with a particular hopcount number,such as 3.Before a content is going to be sent,the hopcount of a content will be set to be 0 if it is cached,<br>

> If I would modify the OnData() function?How can I implement the policy?<br>
> Thank you<br>
><br>
> Beat regards.<br>
><br>
><br>
> _______________________________________________<br>
> ndnSIM mailing list<br>
> <a href="mailto:ndnSIM@lists.cs.ucla.edu">ndnSIM@lists.cs.ucla.edu</a><br>
> <a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20130721/f4d45cf7/attachment.html" target="_blank">http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20130721/f4d45cf7/attachment.html</a>><br>

<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
ndnSIM mailing list<br>
<a href="mailto:ndnSIM@lists.cs.ucla.edu">ndnSIM@lists.cs.ucla.edu</a><br>
<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br>
<br>
<br>
------------------------------<br>
<br>
End of ndnSIM Digest, Vol 8, Issue 17<br>
*************************************<br>
</blockquote></div><br></div>