[ndnSIM] ndnSIM Digest, Vol 62, Issue 2

Shahid Md. Asif Iqbal asifcsep at gmail.com
Wed Jan 3 07:28:43 PST 2018


Dear All,Is it posssible to broadcast the Data or Content upon receiving an Interest. I want to avoid the PIT. 

Sent from Yahoo Mail on Android 
 
  On Wed, Jan 3, 2018 at 9:21 PM, ndnsim-request at lists.cs.ucla.edu<ndnsim-request at lists.cs.ucla.edu> wrote:   Send ndnSIM mailing list submissions to
    ndnsim at lists.cs.ucla.edu

To subscribe or unsubscribe via the World Wide Web, visit
    http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
or, via email, send a message with subject or body 'help' to
    ndnsim-request at lists.cs.ucla.edu

You can reach the person managing the list at
    ndnsim-owner at lists.cs.ucla.edu

When replying, please edit your Subject line so it is more specific
than "Re: Contents of ndnSIM digest..."


Today's Topics:

  1. Linking error (chavoosh ghasemi)
  2. Re: ndnSIM Digest, Vol 62, Issue 1 (Mortaza Nikzad)
  3. Re: Linking error (Spyridon (Spyros) Mastorakis)
  4. Re: ndnSIM Digest, Vol 62, Issue 1 (Spyridon (Spyros) Mastorakis)


----------------------------------------------------------------------

Message: 1
Date: Tue, 2 Jan 2018 14:46:51 -0700
From: chavoosh ghasemi <chavoosh.ghasemi.off at gmail.com>
To: ndnsim <ndnsim at lists.cs.ucla.edu>
Subject: [ndnSIM] Linking error
Message-ID:
    <CAGyRHp6AkXEHkTD9T3fw1TEDEg6Vo5KD5eh4rkgkRB+8nLs2uQ at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hi,

I'm trying to use RandomLoadBalancer strategy in an example; however,
apparently, there is a linking error. The example is located in the "
*examples*" directory. Do I need to add the name of this example to any
make/waf file?

BTW, in continue, you can find the error after trying to run ./waf command.


[3165/3179] Linking build/src/ndnSIM/examples/ns3-dev-icdn-simple-debug

src/ndnSIM/examples/icdn-simple.cpp.1.o: In function `void
ns3::ndn::StrategyChoiceHelper::Install<nfd::fw::RandomLoadBalancerStrategy>(ns3::Ptr<ns3::Node>,
ndn::Name const&)':
/home/vagrant/ndnSIM/ns-3/build/./ns3/ndnSIM/helper/ndn-strategy-choice-helper.hpp:119:
*undefined reference to
`nfd::fw::RandomLoadBalancerStrategy::getStrategyName()*'
/home/vagrant/ndnSIM/ns-3/build/./ns3/ndnSIM/helper/ndn-strategy-choice-helper.hpp:120:
undefined reference to
`nfd::fw::RandomLoadBalancerStrategy::getStrategyName()'
/home/vagrant/ndnSIM/ns-3/build/./ns3/ndnSIM/helper/ndn-strategy-choice-helper.hpp:123:
undefined reference to
`nfd::fw::RandomLoadBalancerStrategy::getStrategyName()'
src/ndnSIM/examples/icdn-simple.cpp.1.o: In function
`std::unique_ptr<nfd::fw::RandomLoadBalancerStrategy,
std::default_delete<nfd::fw::RandomLoadBalancerStrategy> >
ndn::make_unique<nfd::fw::RandomLoadBalancerStrategy, nfd::Forwarder&,
ndn::Name const&>(nfd::Forwarder&, ndn::Name const&)':
/home/vagrant/ndnSIM/ns-3/build/ns3/ndnSIM/ndn-cxx/util/backports.hpp:75:
undefined reference to
`nfd::fw::RandomLoadBalancerStrategy::RandomLoadBalancerStrategy(nfd::Forwarder&,
ndn::Name const&)'
collect2: error: ld returned 1 exit status

Thanks,
- *Chavoosh*
-- 
*Chavoosh Ghasemi*

Ph.D. Student in Computer Networking
University of Arizona - Computer Science Department
*Address: Gould-Simpson 721B, *
*1040 E. 4th Street,*


*                Tucson, AZ 85721"The quieter you become, the more you can
hear"*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20180102/ac161d69/attachment-0001.html>

------------------------------

Message: 2
Date: Wed, 3 Jan 2018 12:07:16 +0000 (UTC)
From: Mortaza Nikzad <mrtz_azad at yahoo.com>
To: <ndnsim at lists.cs.ucla.edu>
Subject: Re: [ndnSIM] ndnSIM Digest, Vol 62, Issue 1
Message-ID: <1591839532.8668047.1514981236006 at mail.yahoo.com>
Content-Type: text/plain; charset=UTF-8

hi again!
I found that the consumer window operation is correct but I don't now why the simulation unexpectedly stopped and do not continue to receive data packets until the inflight be lower than m_window? i put some cout in the code and it is the end lines of simulation output:

Data_Received    2.2153    /Prod11    178    1    0.511851    1    1.77156
Window: 117, InFlight: 1300
Data_Received    2.21616    /Prod11    876    1    0.503656    1    1.77243
TimeOut    2.22    /Prod11    210         1    0.496405
TimeOut    2.22    /Prod11    382         1    0.99281
TimeOut    2.22    /Prod11    270         1    1
TimeOut    2.22    /Prod11    627         1    1
TimeOut    2.22    /Prod11    171         1    1
Window: 101, InFlight: 1294
Data_Received    2.22138    /Prod11    391    1    1    1    1.77764
Window: 102, InFlight: 1293
Data_Received    2.22485    /Prod11    808    5    0.489999    1    1.75159
Window: 103, InFlight: 1292
Data_Received    2.22572    /Prod11    982    5    0.507043    1    1.75333
Window: 104, InFlight: 1291
Data_Received    2.22659    /Prod11    947    5    0.516196    1    1.76722
Window: 105, InFlight: 1290
Data_Received    2.22746    /Prod11    713    5    0.506182    1    1.76809
TimeOut    2.24    /Prod11    700         1    0.498148
TimeOut    2.78    /Prod11    380         1    0.996297
mortaza at mortaza:~/Desktop/ndnSIM/ns-3$ 

is anyone know the reason of unexpected simulation stop?
--------------------------------------------
On Tue, 1/2/18,  <ndnsim-request at lists.cs.ucla.edu> wrote:

 Subject: ndnSIM Digest, Vol 62, Issue 1
 To: ndnsim at lists.cs.ucla.edu
 Date: Tuesday, January 2, 2018, 11:30 PM
 
 Send ndnSIM mailing list submissions to
 ??? ndnsim at lists.cs.ucla.edu
 
 To subscribe or unsubscribe via the
 World Wide Web, visit
 ??? http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
 or, via email, send a message with
 subject or body 'help' to
 ??? ndnsim-request at lists.cs.ucla.edu
 
 You can reach the person managing the
 list at
 ??? ndnsim-owner at lists.cs.ucla.edu
 
 When replying, please edit your Subject
 line so it is more specific
 than "Re: Contents of ndnSIM
 digest..."
 
 
 Today's Topics:
 
 ?  1. Problem in Consumer Window
 app (Mortaza Nikzad)
 
 
 ----------------------------------------------------------------------
 
 Message: 1
 Date: Tue, 2 Jan 2018 18:42:07 +0000
 (UTC)
 From: Mortaza Nikzad <mrtz_azad at yahoo.com>
 To: <ndnsim at lists.cs.ucla.edu>
 Subject: [ndnSIM] Problem in Consumer
 Window app
 Message-ID: <1357850236.8199453.1514918527091 at mail.yahoo.com>
 Content-Type: text/plain;
 charset=UTF-8
 
 Hi everyone!
 I think that I have found a problem in
 Consumer-Window?s operation in ndnSim. I explain it by an
 example:
 Assume you have setted the m_seqMax
 (maximum number of packets which you want to receive) to
 1000 packets and initial window size is 20.
  Assume you send 800 packets without
 any time out event, therefore, the m_window and inflight
 variables both will be 820. Now, if a time out occur the
 m_window decreases to initial window size(20) and sending
 stopped until m_window reach to inflight. At this point,
 total inflight packets are 200 packets and if all of them
 received correctly, inflight decreases to 600 and m_window
 increases to 220. So, the next packet will neve be sent!!!!
 
 Is my argument correct?
 my regards
 
 
 ------------------------------
 
 Subject: Digest Footer
 
 _______________________________________________
 ndnSIM mailing list
 ndnSIM at lists.cs.ucla.edu
 http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
 
 
 ------------------------------
 
 End of ndnSIM Digest, Vol 62, Issue 1
 *************************************
 


------------------------------

Message: 3
Date: Wed, 3 Jan 2018 17:17:24 +0200
From: "Spyridon (Spyros) Mastorakis" <mastorakis at cs.ucla.edu>
To: chavoosh ghasemi <chavoosh.ghasemi.off at gmail.com>
Cc: ndnsim <ndnsim at lists.cs.ucla.edu>
Subject: Re: [ndnSIM] Linking error
Message-ID: <D353C754-E122-47BE-BA85-A43A58A7B51A at cs.ucla.edu>
Content-Type: text/plain; charset="us-ascii"

Hi,

have you included the appropriate header file in your example?

Thanks,

Spyridon (Spyros) Mastorakis
Personal Website: http://cs.ucla.edu/~mastorakis/ <http://cs.ucla.edu/~mastorakis/>
Internet Research Laboratory
Computer Science Department
UCLA

> On Jan 2, 2018, at 11:46 PM, chavoosh ghasemi <chavoosh.ghasemi.off at gmail.com> wrote:
> 
> Hi,
> 
> I'm trying to use RandomLoadBalancer strategy in an example; however, apparently, there is a linking error. The example is located in the "examples" directory. Do I need to add the name of this example to any make/waf file? 
> 
> BTW, in continue, you can find the error after trying to run ./waf command.
> 
> 
> [3165/3179] Linking build/src/ndnSIM/examples/ns3-dev-icdn-simple-debug
> 
> src/ndnSIM/examples/icdn-simple.cpp.1.o: In function `void ns3::ndn::StrategyChoiceHelper::Install<nfd::fw::RandomLoadBalancerStrategy>(ns3::Ptr<ns3::Node>, ndn::Name const&)':
> /home/vagrant/ndnSIM/ns-3/build/./ns3/ndnSIM/helper/ndn-strategy-choice-helper.hpp:119: undefined reference to `nfd::fw::RandomLoadBalancerStrategy::getStrategyName()'
> /home/vagrant/ndnSIM/ns-3/build/./ns3/ndnSIM/helper/ndn-strategy-choice-helper.hpp:120: undefined reference to `nfd::fw::RandomLoadBalancerStrategy::getStrategyName()'
> /home/vagrant/ndnSIM/ns-3/build/./ns3/ndnSIM/helper/ndn-strategy-choice-helper.hpp:123: undefined reference to `nfd::fw::RandomLoadBalancerStrategy::getStrategyName()'
> src/ndnSIM/examples/icdn-simple.cpp.1.o: In function `std::unique_ptr<nfd::fw::RandomLoadBalancerStrategy, std::default_delete<nfd::fw::RandomLoadBalancerStrategy> > ndn::make_unique<nfd::fw::RandomLoadBalancerStrategy, nfd::Forwarder&, ndn::Name const&>(nfd::Forwarder&, ndn::Name const&)':
> /home/vagrant/ndnSIM/ns-3/build/ns3/ndnSIM/ndn-cxx/util/backports.hpp:75: undefined reference to `nfd::fw::RandomLoadBalancerStrategy::RandomLoadBalancerStrategy(nfd::Forwarder&, ndn::Name const&)'
> collect2: error: ld returned 1 exit status
> 
> Thanks,
> - Chavoosh
> -- 
> Chavoosh Ghasemi

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20180103/a110cd95/attachment-0001.html>

------------------------------

Message: 4
Date: Wed, 3 Jan 2018 17:21:18 +0200
From: "Spyridon (Spyros) Mastorakis" <mastorakis at cs.ucla.edu>
To: Mortaza Nikzad <mrtz_azad at yahoo.com>
Cc: ndnsim at lists.cs.ucla.edu
Subject: Re: [ndnSIM] ndnSIM Digest, Vol 62, Issue 1
Message-ID: <AFD81A89-DD02-4446-B0E5-ABB8B037650D at cs.ucla.edu>
Content-Type: text/plain; charset="us-ascii"

Hi,

this is how this application works.

If the number of inflight Interests is greater than the size of the window, no more Interests will be sent until either one or more data packets come back or one or more Interest timeouts occur.

Thanks,

Spyridon (Spyros) Mastorakis
Personal Website: http://cs.ucla.edu/~mastorakis/ <http://cs.ucla.edu/~mastorakis/>
Internet Research Laboratory
Computer Science Department
UCLA

> On Jan 3, 2018, at 2:07 PM, Mortaza Nikzad <mrtz_azad at yahoo.com> wrote:
> 
> hi again!
> I found that the consumer window operation is correct but I don't now why the simulation unexpectedly stopped and do not continue to receive data packets until the inflight be lower than m_window? i put some cout in the code and it is the end lines of simulation output:
> 
> Data_Received    2.2153    /Prod11    178    1    0.511851    1    1.77156
> Window: 117, InFlight: 1300
> Data_Received    2.21616    /Prod11    876    1    0.503656    1    1.77243
> TimeOut    2.22    /Prod11    210         1    0.496405
> TimeOut    2.22    /Prod11    382         1    0.99281
> TimeOut    2.22    /Prod11    270         1    1
> TimeOut    2.22    /Prod11    627         1    1
> TimeOut    2.22    /Prod11    171         1    1
> Window: 101, InFlight: 1294
> Data_Received    2.22138    /Prod11    391    1    1    1    1.77764
> Window: 102, InFlight: 1293
> Data_Received    2.22485    /Prod11    808    5    0.489999    1    1.75159
> Window: 103, InFlight: 1292
> Data_Received    2.22572    /Prod11    982    5    0.507043    1    1.75333
> Window: 104, InFlight: 1291
> Data_Received    2.22659    /Prod11    947    5    0.516196    1    1.76722
> Window: 105, InFlight: 1290
> Data_Received    2.22746    /Prod11    713    5    0.506182    1    1.76809
> TimeOut    2.24    /Prod11    700         1    0.498148
> TimeOut    2.78    /Prod11    380         1    0.996297
> mortaza at mortaza:~/Desktop/ndnSIM/ns-3$ 
> 
> is anyone know the reason of unexpected simulation stop?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20180103/faea46d5/attachment.html>

------------------------------

Subject: Digest Footer

_______________________________________________
ndnSIM mailing list
ndnSIM at lists.cs.ucla.edu
http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim


------------------------------

End of ndnSIM Digest, Vol 62, Issue 2
*************************************
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20180103/70eea149/attachment-0001.html>


More information about the ndnSIM mailing list