WFQ mechanism in simple scenario

79 views
Skip to first unread message

Matt Tol

unread,
Nov 12, 2021, 12:32:24 PM11/12/21
to ns-3-users
Hello,
First of all I want to say that I'm completely new to ns3 enviroment. I've been working on the implementation of Weighted Fair Queueing algorithm for a couple of weeks now. I'm trying to test it in simple scenario of two nodes for senders and two for receivers with bootleneck link using UDP traffic. There are no errors in terms of compilation but the results I got seem definitely wrong. When I try to measure the traffic using FlowMonitor I get like 30 times less packets received in comparison to packets sent for both flows. There are drops of packets in this test scenario but the numbers do not match. Some packets are "lost" for unknown reason to me. I see no errors in logic of WFQ Queue disc implementation nor in test example. I have no idea what could be wrong in here, Could anyone have a look at my code and help? I would be grateful. I enclose my code.
Regards
wfq-queue-disc.cc
wfq-example.cc
wfq-queue-disc.h
Reply all
Reply to author
Forward
0 new messages