[ndnSIM] [EXT] Help with outgoing queues of nodes.

Junxiao Shi shijunxiao at email.arizona.edu
Mon Jun 14 06:38:59 PDT 2021


Hi Prajjwal

Congestion control algorithm accesses TX queue length via
Transport::getSendQueueLength function.
The implementation relevant to ns-3 is here:
https://github.com/named-data-ndnSIM/ndnSIM/blob/28da73c868ad7444dba7a754fb77a41f6ca7cb07/model/ndn-net-device-transport.cpp#L85-L96

You cannot introduce delays in a queue.
Instead:
If you want to create an interval between transmitting two packets, set the
PointToPointNetDevice/DataRate attribute. This enforces a packet sending
speed, such that the NetDevice would not dequeue faster than that.
If you want to create a delay between transmitting a packet and its
receipt, set a link delay on PointToPointChannel/Delay attribute.

Yours, Junxiao

On Fri, Jun 11, 2021 at 12:47 PM Prajjwal Singh <csb17053 at tezu.ac.in> wrote:

> *External Email*
> Hello everybody,
> I have read in the NFD's developers guide, under the Congestion Control
> section, that each NFD face monitors its outgoing queue for congestion.
>
> Please refer me to the code implementation of these outgoing Queues.
> Also, how can one introduce delays for outgoing interest packets from
> these queues.
>
> Thanking you in advance
> Prajjwal Singh
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20210614/a1f92fe9/attachment.html>


More information about the ndnSIM mailing list