Hi,
I am interested in studying QueueDiscs but I came into an issue.
I attached a script that reproduces the issue with a RED QueueDisc in ns3.31 and its related graph.
Basically, when I install the QueueDisc in a node, its internal queue is mounted on top of the NetDevice queue.
As a packet arrives at the queue, the QueueDisc starts a run and pushes some packets down to the NetDevice. However, if the NetDevice queue is full, the packet is discarded.
This packet loss is interpreted as congestion feedback by TCP, which reduces its cwnd. This means that the queue never gets saturated and cannot apply its AQM algorithm. For example, the picture shows that the pattern of the RED queue size is regular, rather than random as it would be expected with RED.
Thank you in advance for any feedback on this,
Best Regards,
Raffaello