Sliding window protocol, congestion collapse, EWMA, AIMD, stop and wait protocol
- Python3
- Matplotlib
python3 simulator.py --seed 1 --host_type StopAndWait --ticks 50 --rtt_min 10
python3 simulator.py --seed 1 --host_type SlidingWindow --ticks 50 --window_size 5 --rtt_min 2
python3 simulator.py --seed 1 --host_type SlidingWindow --ticks 10000 --rtt_min 10 --window_size 10
python3 simulator.py --seed 1 --host_type Aimd --ticks 10000 --rtt_min 10 --queue_limit 5
To plot the results, use plotter.py file
python3 simulator.py LS (or DV) file_input --graph_file line.graph
python3 simulator.py DV (or LS) rand_input --link_prob 0.5 --seed 1 --num_routers 10
python3 pim.py 16 0.5 1 4 Inputs: , , ,
python3 fifo.py 16 0.4 1 Inputs: , ,