TCP congestion control algorithm

17 次查看(过去 30 天)
Hi,
Is there anyone who could help me to have some suggestion regarding TCP congestion control algorithm. There have different types of TCP like Reno, Westood, Vegas, bandwidth and RTT detection based, Jersey etc. I do have idea about the slow start, congestion avoidance, fast retransmit and fast recovery phases which are the algorithms used in TCP. I know how these algorithms work but as I do not have very good hand on coding so I do not know how to code these algorithm by MATLAB. As well as I am not understanding how to start or from where to start. TCP works like,
  1. Measures the Smoothed RTT,
  2. increases/decreases congestion window based on the phases,
  3. sets the slow start threshold
More specifically, if we take the link parameters like,
  1. Data Rate (10 Mbps)
  2. Propagation Delay (250 ms)
  3. Loss Rate (1%)
Then,
  1. How I can send a packet from source to destination dynamically?
  2. How to receive acknowledgement to the sender? and
  3. how to specify these packet sending and receiving time and record them accordingly?
Moreover, How can I specify a source node and destionation node based on who will do these packet transferring between them.
I got some idea about it but those are coded by 'C' as well as in 'NS-2' which is Linux based. It is quite tough for me to learn this linux based simulation now as it is my final year of graduation.
If anybody could assist me to start the coding, it would be a great help for me. Please help me out.
Thank you in advance.
  5 个评论
Walter Roberson
Walter Roberson 2020-2-13
Question is effectively duplicated by https://www.mathworks.com/matlabcentral/answers/505199-tcp-congestion-control-algorithm
Mohmmad Abu Yousuf
Mohmmad Abu Yousuf 2020-2-15
yes. that one is also mine. I am removing one.

请先登录,再进行评论。

采纳的回答

Walter Roberson
Walter Roberson 2020-2-15
Is there anyone who could help me to have some suggestion regarding TCP congestion control algorithm.
A number of them are described at https://en.wikipedia.org/wiki/TCP_congestion_control
I know how these algorithms work but as I do not have very good hand on coding so I do not know how to code these algorithm by MATLAB.
If the question is whether MATLAB or its toolboxes provide any functions to make it easier to construct and send and receive raw packets, the answer is NO, with the exception that Simulink Real-Time ( not Simulink Real-Time Desktop) provides a way to construct raw packets.
If the question is whether MATLAB or its toolboxes provide any functions to make it easier to emulate TCP conversations and the effect of choosing one of those TCP Flow Control techniques, the answer is that
"SimEvents® provides a discrete-event simulation engine and component library for analyzing event-driven system models and optimizing performance characteristics such as latency, throughput, and packet loss. Queues, servers, switches, and other predefined blocks enable you to model routing, processing delays, and prioritization for scheduling and communication. "
Note that this is not part of the Communications Systems Toolbox, or the 5G Toolbox, or the USRP Support Package. An event/state simulator is, however, an appropriate tool for modeling how program state logic interacts.
  1 个评论
Mohmmad Abu Yousuf
Mohmmad Abu Yousuf 2020-2-16
Thank you for guiding me Mr Walter Roberson. I will follow your instructions.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Communications Toolbox 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by