SlideShare a Scribd company logo
1 of 12
CONGESTION AVOIDANCE
CONGESTIONCONTROLMECHANISM
PRESENTED BY,
SUNIL B
RITESH KUMAR
YOHAN SWAMY
PURUSHOTTAM B N
SUMUKHA R
Contents
• What is CONGESTION
• What causes Congestion
• Approach to control Congestion
• Three components of Congestion control mechanism
What is CONGESTION in network
When a link or node carries data more than it can handle
results in congestion.
What causes the congestion in the network?
Two main scenario:
 Two senders and a router with infinite buffers:
Let assume two system connected via a router which has
infinite buffer to catch hold all the packets sent by the sender system.
If the router capacity of sending packets to destination is R/2
and the sender sends the packets in greater than R/2 rate that causes
congestion in the network.
 Two senders and a router with a finite buffer:
Let assume two system connected via a router which has finite buffer
to catch hold the packets sent by the sender system.
If router capacity of sending packets to destination is R/2 and the
sender sends the packets in greater than R/2 rate results in congestion maybe
due to insufficient space to hold packets that results in loss of packets that
intern results in retransmission of packets that causes congestion in the
network
What is approach taken by the TCP to control
congestion?
 Sender have to limit the rate at which it sends the traffic into the
connection as the function of perceived network congestion.
 If a TCP sender perceives that there is little congestion on the path
between itself and the destination, then the TCP sender increases its send
rate .If the sender perceives that there is congestion along the path, then
the sender reduces its send rate.
Terminologies:
 CWND - Congestion window
 RWND – Receiver window
 MSS – Max segment size
 SSTHRESH – slow start threshold
Three components of congestion control mechanism:
1.Slow start
2.Congestion avoidance
3.Fast recovery
Slow Start:
o The CWND is set to 1 MSS every time ack is received the CWND is doubled
o Because of CWND starts at slowly by setting 1 MSS it is called as Slow start
and results in exponential growth.
o This stage stops when there is a loss event indicated by timeout. Then sets the
CWND to 1 and sets the SSTHRESH to CWND / 2 and starts the slow start
process again. when CWND is greater than SSTHRESH it enters Congestion
avoidance stage.
Congestion Avoidance:
o On entry to this stage the CNWD is approximately half the value when
congestion was last encountered.
o Rather than doubling the CWND value this algorithm increases the CWND
by MSS * (MSS/CWND).
o This stage ends when there is timeout.
o And loss event can be triggers by triple duplicate ACK but it has to treated
differently than timeout loss event hence CWND is set to CWND / 2 + 3
MSS and SSTHRESH is set to CWND / 2.
o Then Fast recovery stage starts.
THANK YOU…

More Related Content

Similar to CONGESTION AVOIDANCE.pptx

IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
ijceronline
 
Lecture 19 22. transport protocol for ad-hoc
Lecture 19 22. transport protocol for ad-hoc Lecture 19 22. transport protocol for ad-hoc
Lecture 19 22. transport protocol for ad-hoc
Chandra Meena
 
A Packet Drop Guesser Module for Congestion Control Protocols for High speed ...
A Packet Drop Guesser Module for Congestion Control Protocols for High speed ...A Packet Drop Guesser Module for Congestion Control Protocols for High speed ...
A Packet Drop Guesser Module for Congestion Control Protocols for High speed ...
ijcseit
 

Similar to CONGESTION AVOIDANCE.pptx (20)

Congestion control in TCP.pptx
Congestion control in TCP.pptxCongestion control in TCP.pptx
Congestion control in TCP.pptx
 
congestion control data communication.pdf
congestion control data communication.pdfcongestion control data communication.pdf
congestion control data communication.pdf
 
Ch 18 intro to network layer - section 3
Ch 18   intro to network layer - section 3Ch 18   intro to network layer - section 3
Ch 18 intro to network layer - section 3
 
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
 
Mobile Transpot Layer
Mobile Transpot LayerMobile Transpot Layer
Mobile Transpot Layer
 
Lecture 19 22. transport protocol for ad-hoc
Lecture 19 22. transport protocol for ad-hoc Lecture 19 22. transport protocol for ad-hoc
Lecture 19 22. transport protocol for ad-hoc
 
tcp congestion .pptx
tcp congestion .pptxtcp congestion .pptx
tcp congestion .pptx
 
High Performance Networking with Advanced TCP
High Performance Networking with Advanced TCPHigh Performance Networking with Advanced TCP
High Performance Networking with Advanced TCP
 
Congestion control in TCP
Congestion control in TCPCongestion control in TCP
Congestion control in TCP
 
Transport layer
Transport layerTransport layer
Transport layer
 
Analysis of TCP variants
Analysis of TCP variantsAnalysis of TCP variants
Analysis of TCP variants
 
transport layer pptxdkididkdkdkddjjdjffkfif
transport layer pptxdkididkdkdkddjjdjffkfiftransport layer pptxdkididkdkdkddjjdjffkfif
transport layer pptxdkididkdkdkddjjdjffkfif
 
IRJET- QOS Based Bandwidth Satisfaction for Multicast Network Coding in M...
IRJET-  	  QOS Based Bandwidth Satisfaction for Multicast Network Coding in M...IRJET-  	  QOS Based Bandwidth Satisfaction for Multicast Network Coding in M...
IRJET- QOS Based Bandwidth Satisfaction for Multicast Network Coding in M...
 
TCP Congestion Control By Owais Jara
TCP Congestion Control By Owais JaraTCP Congestion Control By Owais Jara
TCP Congestion Control By Owais Jara
 
Congestion control in tcp
Congestion control in tcpCongestion control in tcp
Congestion control in tcp
 
Congetion Control.pptx
Congetion Control.pptxCongetion Control.pptx
Congetion Control.pptx
 
Mcseminar
McseminarMcseminar
Mcseminar
 
Congestion control
Congestion controlCongestion control
Congestion control
 
Congestion avoidance in TCP
Congestion avoidance in TCPCongestion avoidance in TCP
Congestion avoidance in TCP
 
A Packet Drop Guesser Module for Congestion Control Protocols for High speed ...
A Packet Drop Guesser Module for Congestion Control Protocols for High speed ...A Packet Drop Guesser Module for Congestion Control Protocols for High speed ...
A Packet Drop Guesser Module for Congestion Control Protocols for High speed ...
 

More from PurushottamPurshi (8)

SASE.pptx
SASE.pptxSASE.pptx
SASE.pptx
 
Lecture_6_Environmental-Pollution.ppt
Lecture_6_Environmental-Pollution.pptLecture_6_Environmental-Pollution.ppt
Lecture_6_Environmental-Pollution.ppt
 
TAPES.pptx
TAPES.pptxTAPES.pptx
TAPES.pptx
 
ST_MODULE2_6TH B_YU_PPT.pptx
ST_MODULE2_6TH B_YU_PPT.pptxST_MODULE2_6TH B_YU_PPT.pptx
ST_MODULE2_6TH B_YU_PPT.pptx
 
FS-Mod5.pptx
FS-Mod5.pptxFS-Mod5.pptx
FS-Mod5.pptx
 
Module-5.pptx
Module-5.pptxModule-5.pptx
Module-5.pptx
 
Module-2.pptx
Module-2.pptxModule-2.pptx
Module-2.pptx
 
Module-1_Introduction.pptx
Module-1_Introduction.pptxModule-1_Introduction.pptx
Module-1_Introduction.pptx
 

Recently uploaded

Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
Epec Engineered Technologies
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdf
Kamal Acharya
 

Recently uploaded (20)

Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.
 
kiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal loadkiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal load
 
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
PE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and propertiesPE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and properties
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdf
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
 
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equation
 
Engineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesEngineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planes
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdf
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
 
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced LoadsFEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna Municipality
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdf
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network Devices
 

CONGESTION AVOIDANCE.pptx

  • 1. CONGESTION AVOIDANCE CONGESTIONCONTROLMECHANISM PRESENTED BY, SUNIL B RITESH KUMAR YOHAN SWAMY PURUSHOTTAM B N SUMUKHA R
  • 2. Contents • What is CONGESTION • What causes Congestion • Approach to control Congestion • Three components of Congestion control mechanism
  • 3. What is CONGESTION in network When a link or node carries data more than it can handle results in congestion.
  • 4. What causes the congestion in the network? Two main scenario:  Two senders and a router with infinite buffers: Let assume two system connected via a router which has infinite buffer to catch hold all the packets sent by the sender system. If the router capacity of sending packets to destination is R/2 and the sender sends the packets in greater than R/2 rate that causes congestion in the network.
  • 5.  Two senders and a router with a finite buffer: Let assume two system connected via a router which has finite buffer to catch hold the packets sent by the sender system. If router capacity of sending packets to destination is R/2 and the sender sends the packets in greater than R/2 rate results in congestion maybe due to insufficient space to hold packets that results in loss of packets that intern results in retransmission of packets that causes congestion in the network
  • 6. What is approach taken by the TCP to control congestion?  Sender have to limit the rate at which it sends the traffic into the connection as the function of perceived network congestion.  If a TCP sender perceives that there is little congestion on the path between itself and the destination, then the TCP sender increases its send rate .If the sender perceives that there is congestion along the path, then the sender reduces its send rate.
  • 7. Terminologies:  CWND - Congestion window  RWND – Receiver window  MSS – Max segment size  SSTHRESH – slow start threshold
  • 8. Three components of congestion control mechanism: 1.Slow start 2.Congestion avoidance 3.Fast recovery
  • 9. Slow Start: o The CWND is set to 1 MSS every time ack is received the CWND is doubled o Because of CWND starts at slowly by setting 1 MSS it is called as Slow start and results in exponential growth. o This stage stops when there is a loss event indicated by timeout. Then sets the CWND to 1 and sets the SSTHRESH to CWND / 2 and starts the slow start process again. when CWND is greater than SSTHRESH it enters Congestion avoidance stage.
  • 10. Congestion Avoidance: o On entry to this stage the CNWD is approximately half the value when congestion was last encountered. o Rather than doubling the CWND value this algorithm increases the CWND by MSS * (MSS/CWND). o This stage ends when there is timeout. o And loss event can be triggers by triple duplicate ACK but it has to treated differently than timeout loss event hence CWND is set to CWND / 2 + 3 MSS and SSTHRESH is set to CWND / 2. o Then Fast recovery stage starts.
  • 11.