联系方式

  • QQ:99515681
  • 邮箱:99515681@qq.com
  • 工作时间:8:00-23:00
  • 微信:codinghelp

您当前位置:首页 >> Python编程Python编程

日期:2024-02-24 04:46

Project 1

ECE4050: Principles and Practices of Network Communications

Due: 17:00, February 28, 2024

1. In this assignment, we will use the network simulator ns.py (https://github.com/TLSystem/ns.py) to conduct some experiments, then write a report to record and analyse the corresponding results. Firstly, please install this simulator correctly on your

own computers following the guidance. Next, read and run the examples in the

examples/ folder to get familiar with the framework and components.

Please follow the examples/tcp.py file and construct a topology shown in Fig. 1.

There are two flows (s1 → d1 and s2 → d2) that need to transmit data on this

topology. As can be seen, these two flows will compete the bandwidth of link r1 → r2.

Hence each flow is equipped with a congestion control algorithm at the source to

regulate the sending rate such that the network bandwidth can be utilized efficiently

and fairly. In this assignment, you need to use different congestion control algorithms

(Reno, CUBIC, BBR) at the sources to compare their performance.

Specifically, some parameters can be set as follows:

? packet size: 1KB

? link propagation delay: 0.1s

? queue-length for each port: 100 packets

? env.run(until=500) (It implies that the time you need to record is 500s.)

Some other parameters can be set following the given example. And the test cases

include:

? s1 and s2 both adopt Reno;

? s1 adopts Reno and s2 adopts CUBIC ;

? s1 adopts Reno and s2 adopts BBR.

Please record and plot the changes in window size and sending rate for two flows in

three different cases, then analyse the corresponding results in the report.

Figure 1: A network example. The number (in Mbps) attached to a link is the capacity

of the link.

Page 2


相关文章

版权所有:留学生编程辅导网 2020 All Rights Reserved 联系方式:QQ:99515681 微信:codinghelp 电子信箱:99515681@qq.com
免责声明:本站部分内容从网络整理而来,只供参考!如有版权问题可联系本站删除。 站长地图

python代写
微信客服:codinghelp