Skip to content

Latest commit

 

History

History
32 lines (18 loc) · 1.05 KB

README.md

File metadata and controls

32 lines (18 loc) · 1.05 KB

Implementation-of-MRED-in-NS3

Course Code: CS704

Mini Project

Overview

Modified RED (MRED) [1] is a variant of Random Early Detection (RED) [2] in which the packets are dropped aggressively only when average queue size and instantaneous queue size is greater than Maxth . This repository provides an implementation of MRED in ns-3.26 [3].

Simulating MRED

To simulate MRED algorithm, the attribute MRED must be set to true, as shown below:

Config::SetDefault ("ns3::RedQueueDisc::MRED", BooleanValue (true));

MRED Example

An example program for MRED has been provided in

src/traffic-control/examples/red-vs-mred.cc

and should be executed as

./waf --run "red-vs-mred --queueDiscType=MRED"

./waf --run "red-vs-mred --queueDiscType=RED"

References

[1] Gang Feng, A. K. Agarwal, A. Jayaraman, and Chee Kheong Siew (2004). Modified RED: Modified RED Gateways Under Bursty Traffic.

[2] Floyd, S., & Jacobson, V. (1993). Random early detection gateways for congestion avoidance. IEEE/ACM Transactions on networking.

[3] https://www.nsnam.org/ns-3-26/