Menu

#25 make ARED the default RED behavior; fix for wireless links

Unstable (example)
open
None
5
2015-01-12
2014-12-20
No

Mohit Tahiliani has been working on Adaptive RED in ns-2, and has patched a few issues, including:

  • use of ARED in wireless networks leads to floating point exception
  • the default value of Queue/RED set q_weight_ -1 is incorrect
  • Queue/RED set adaptive_ 0: this must be set to 1, otherwise "max_p" parameter never adapts.

While the default values of some parameters (such as thresh_, maxthresh_, q_weight_) were changed in 2001 to make ARED as the default RED mechanism in ns-2, those of others parameters were
left unchanged. The resulting code defaults to something that is neither RED nor ARED; this patch will fix the default to ARED.

Attached patch will make various tests fail; need to re-validate them.

validate overall report: some tests failed:
./test-all-simple ./test-all-tcp ./test-all-sack-full ./test-all-tcp-init-win ./test-all-aimd ./test-all-tcpLinux ./test-all-tcpHighspeed ./test-all-friendly ./test-all-ecn ./test-all-ecn-ack ./test-all-ecn-full ./test-all-red ./test-all-adaptive-red ./test-all-red-pd ./test-all-schedule

Attached wireless2.tcl example can be used as an example (and is intended for tcl/ex directory).

2 Attachments

Discussion

  • Tom Henderson

    Tom Henderson - 2014-12-20
     
  • Tom Henderson

    Tom Henderson - 2015-01-12
     
  • Tom Henderson

    Tom Henderson - 2015-01-12

    After further investigation, it was discovered that there is a distinction between "adaptive RED" and "automatic configuration of RED", and that the latter was intended as the default ns-2 model (as described here:
    http://www.icir.org/floyd/red.html#parameters)

    The revised patch attached fixes the FPE issue with wireless adaptive RED, leaving other defaults unchanged.

     
  • Tom Henderson

    Tom Henderson - 2015-01-12
     
  • Tom Henderson

    Tom Henderson - 2015-01-12
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.