TCP congestion control algorithm

20 visualizaciones (últimos 30 días)
Mohmmad Abu Yousuf
Mohmmad Abu Yousuf el 9 de Feb. de 2020
Comentada: Mohmmad Abu Yousuf el 16 de Feb. de 2020
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 comentarios
Walter Roberson
Walter Roberson el 13 de Feb. de 2020
Question is effectively duplicated by https://www.mathworks.com/matlabcentral/answers/505199-tcp-congestion-control-algorithm
Mohmmad Abu Yousuf
Mohmmad Abu Yousuf el 15 de Feb. de 2020
yes. that one is also mine. I am removing one.

Iniciar sesión para comentar.

Respuesta aceptada

Walter Roberson
Walter Roberson el 15 de Feb. de 2020
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 comentario
Mohmmad Abu Yousuf
Mohmmad Abu Yousuf el 16 de Feb. de 2020
Thank you for guiding me Mr Walter Roberson. I will follow your instructions.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Communications Toolbox en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by