[ndnSIM] Consumer without predefined interest rate

Ahmed Sadek don1559 at gmail.com
Mon Apr 4 13:30:02 PDT 2016

On Mon, Apr 4, 2016 at 10:22 AM, Ahmed Sadek <don1559 at gmail.com> wrote:

> Thank you for the helpful replies. I have used the *[consumer window
> + best-route-strategy2.]* which allowed me to generate a lot of interests
> and once the link is over loaded (data packets dropped) the strategy try to
> re transmit interests on the next available interfaces in nexthops,
> maximizing the utilization of the available links. But since there is no
> congestion control the traffic is spiky. (window=1000, size=20).
> I still don't understand the logic behind the (m_inFlight and m_window)
> parameters in ConsumerWindow. so I appreciate any clarification.
> Does it mean that we start by a certain window and keep increasing by *one
> *each time we receive a data packet and return to window value when we
> have interest time out. Also, if we have a window = 1000 and payload = 1040
> Byte , does this mean our initial data rate is (1000*1040 Byte) and keep
> increasing ?

> Also, would adopting a similar approach to tcp slow start and congestion
> avoidance, would result in more stable stream of data ?

> Thanks!
> Ahmed
> On Fri, Apr 1, 2016 at 7:28 PM, Spyridon (Spyros) Mastorakis <
> mastorakis at cs.ucla.edu> wrote:
>> Hi guys,
>> just to add something to Sabet’s response:
>> The way to achieve that (i.e., full link utilization) can partially be
>> through your application (in the sense that your application should send
>> enough Interests to retrieve enough data), but one should also consider the
>> forwarding strategy.
>> As far as the application is concerned, one can use some of the
>> alternative applications and retrieval models that come with ndnSIM (zipf,
>> batches etc.) or write their own retrieval models.
>> As far as the strategy is concerned, it should estimate the link
>> bandwidth and expand Interest forwarding to alternative links when the
>> current link is fully utilized. To achieve that, one should write their own
>> strategy.
>> However, a quick and dirty way to fully utilize a topology link in ndnSIM
>> (given that one knows the link capacities in advance) is through the
>> application by selecting the appropriate Interest expression rate.
>> Hope that this helps.
>> Spyridon (Spyros) Mastorakis
>> Personal Website: http://cs.ucla.edu/~mastorakis/
>> Internet Research Laboratory
>> Computer Science Department
>> On Apr 1, 2016, at 10:08 AM, Muhammad Hosain Abdollahi Sabet <
>> M.AbdollahiSabet at mail.sbu.ac.ir> wrote:
>> Hi Ahmed,
>> I suggest you take a look at this:
>> http://ndnsim.net/2.1/doxygen/classns3_1_1ndn_1_1ConsumerWindow.html
>> It's worth a try.
>> Thanks,
>> Sabet
>> ---------- Forwarded message ----------
>> From: Ahmed Sadek <don1559 at gmail.com>
>> Date: Fri, Apr 1, 2016 at 8:46 PM
>> Subject: [ndnSIM] Consumer without predefined interest rate
>> To: ndnsim <ndnsim at lists.cs.ucla.edu>
>> Hi All,
>> I was wondering if there is a consumer that generate interests without
>> predefined rate from the start of simulation and try to take advantage of
>> the link bandwidth as much as available, similar to file download with
>> TCP.
>> If not then any hints on the design of such app.
>> Thanks and have a nice weekend!
>> Ahmed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20160404/3016a4a7/attachment.html>

More information about the ndnSIM mailing list