[ns] Available bandwidth - Quick Start
Armin Abfalterer
a.abfalterer at gmail.com
Tue May 13 07:12:01 PDT 2008
Hi folks,
I've started some tests on Quick Start with ns-2 (version 2.33) using
the test-suite in /tcl/test/test-suite-quickstart.tcl. Whenever I run
a test that uses algorithm 2 or 3 (e.g. routers1) I get the debug
information that the available bandwidth is 0 KBps. Note, to see this
debug information the flag QS_DEBUG in /qs/hdr_qs.h must be set.
Looking into the code I've found in /qs/qsagent.cc that algorithm 2
uses queue->utilization() and algorithm 3 uses
queue->peak_utilization() to calculate the utilized bandwidth (around
line 190 in the code). This two values are always 0, no matter how
much traffic is in the network. I don't understand why? Did I forget
some flags?
cheers, aa
More information about the Ns-users
mailing list