Simulation and Analysis of RED and BLUE Algorithm Based on NS2

With the rapid growth of the Internet,the problem of network congestion becomes worse and worse.Many network congestion control mechanisms which are used in routers are proposed in recent years.The thesis first analyses the design principle and algorithm implementation of the RED and BLUE congestion control mechanisms in routers.Then the performance and principles of the two algorithms are compared with the same data streams based on network simulator NS2.Finally,the thesis gives a detailed analysis and compares the simulation results about performance parameters such as packet loss ratio,throughput,average delay.