SlideShare une entreprise Scribd logo
1  sur  18
1
COMPUTER NETWORK
PRESENTATION
ON
CONGESTION
PRESENTED BY :
PRIYOKUMARIY.
R.K.DISILA
BUNGBUNG CH.
S.CHINGU
DINESH S.
CONTENTS
 INTRODUCTIONTO CONGESTION
 GENERAL PRINCIPLE OF CONGESTION
 OPEN LOOP CONGESTION CONTRO
 CLOSED LOOP CONGESTION CONTROL
 CONGESTION CONTROL ALGORITHMS
 LEAKY BUCKETALGORITHM
 TOKEN BUCKET ALGORITHM
 CHOKE PACKETS
 HOP BY HOP CHOKE PACKETS
 LOAD SHEDDING
 CONCLUSION
 REFERENCE
2
INTRODUCTION
WHAT IS CONGESTION?
Congestion is a situation in communication network in which
too many packets are present in a part of the subnet or
contending for the same link so
 The queue overflows
 Packets get dropped
 Network is congested!
3
ROUTER
BUFFER
BUFFER
BUFFER
BUFFER
BUFFER
CONGESTION
Factors that Cause Congestion
 Packet arrival rate exceeds the outgoing link capacity.
 Insufficient memory to store arriving packets
 Bursty traffic
 Slow processor
Costs of congestion
 large queuing delays are experienced as the packet
arrival rate nears the link capacity.
 unneeded retransmissions by the sender
 when a packet is dropped along a path, the
transmission capacity of the upstream routers have
been wasted.
4
GENERAL PRINCIPLE OF CONGESTION CONTROL
Congestion control refers to techniques and mechanisms that can either
prevent congestion , before it happens or removes congestion,after it has
happened.
5
CONGESTION
CONTROL
OPEN LOOP
RETRANSMISSION
POLICY
WINDOW
POLICY
ACKNOWLEDGEMENT
POLICY
DISCARDING
POLICY
ADMISSION
POLICY
CLOSED
LOOP
BACK
PRESSURE
CHOKE
PACKET
IMPLICIT
SIGNALING
EXPLICIT
SIGNALING
•In this method, policies are used to prevent the congestion before
it happens.
Congestion control is handled either by the source or by the
destination.
1. Retransmission Policy
•The sender retransmits a packet, if it feels that the packet it
has sent is lost or corrupted.
•The retransmission policy and the retransmission timers need
to be designed to optimize efficiency and at the same time
prevent the congestion.
2. Window Policy
•To implement window policy, selective reject window method
is used for congestion control in which it sends only the specific
lost or damaged packets.
6
Open loop congestion control
3. Acknowledgement Policy
• If the receiver does not acknowledge every packet it receives it
may slow down the sender and help prevent congestion.
4. Discarding Policy
• A router may discard less sensitive packets when congestion is
likely to happen
5. Admission Policy
• A router can deny establishing a virtual circuit connection if
there is congestion in the "network or if there is a possibility of
future congestion.
6. Routing Algorithm
• spreading the traffic over all the lines
7
8
Congestion prevention policies in different layers
LAYER CONGESTION PREVENTION POLICIES
Transport -retransmission policy
-acknowledgement policy
-flow control policy
-timeout determination
Network -virtual circuits versus datagram inside the subnet
-packet queuing and service policy
-packet discard policy
-routing algorithm
-packet lifetime management
Datalink -retransmission policy
-out-of-order caching policy
-acknowledgement policy
-flow control policy
CLOSED LOOP CONGESTION CONTROL
• Closed loop congestion control mechanisms try to remove the
congestion after it happens.
1. Backpressure method
• Backpressure is a node-to-node congestion control that starts with a
node and propagates, in the opposite direction of data flow in which
the congested node stops receiving data from the immediate
upstream node(s).
9
Source 1 2 3 4 destination
congestion
Back pressure
DownstreamUpstream
Data flow
2. Choke Packet
• In choke packet method, congested node sends a
warning directly to the source station i.e. the
intermediate nodes through which the packet
has traveled are not warned.
10
Source 1 2 3 4 Destination
Choke packet
congestion
Data flow
3. Implicit Signaling
•The source guesses that there is congestion somewhere in
the network when it does not receive any acknowledgment.
Therefore the delay in receiving an acknowledgment is
interpreted as congestion in the network and the source
slows down.
- this policy is used inTCP(Transmission control protocol).
4. Explicit Signaling
• In this method, the congested nodes explicitly send a
signal to the source or destination to inform about the
congestion.
• Explicit signaling is different from the choke packet
method. In choke packed method, a separate packet is used
for this purpose whereas in explicit signaling method, the
signal is included in the packets that carry data .
11
LEAKY BUCKET ALGORITHM
12
Fig. 1 Fig. 2 13
TOKEN BUCKET ALGORITHM
 Choke Packet Technique
 Depicts the functioning of choke packets, (a) Heavy traffic
between nodes P and Q, (b) Node Q sends the Choke packet to P,
(c) Choke packet reaches P, (d) P reduces the flow and send a
reduced flow out, (e) Reduced flow reaches node Q .
14
Hop-by Hop Choke Packets
15
Depicts the functioning of Hop-by-Hop choke packets (a) Heavy traffic
between nodes P and Q, (b) Node Q sends the Choke packet to P, (c) Choke packet
reaches R, and the flow between R and Q is curtail down, Choke packer reaches P,
and P reduces the flow out .
Load Shedding
- In this method, whenever a router finds that there is congestion
in the network, it simply starts dropping out the packets.
- Which packet to discard depends on the applications running
-Wine policy: the older the better.
-Milk policy: fresher is better
-intelligent discard policy:packets in priority classes
16
conclusion
17
 With the increase in the number of internet
users, it has become quite essential to
develop an efficient congestion control
technique.
 In our presentation we have analyse Leaky
bucket algorithm,Token bucket algorithm,
Choked packet technique and Hop by hop
choke packet technique.
 A particular algorithm cannot be hundred
percent efficient, so there is always scope to
improve the congestion control technique.
Reference
 Computer control overview written by S. Chen
 “What is Congestion Control Describe the
Congestion Control Algorithm commonly used.”
written by DineshThakur.
 Computer Network:A system aproach,5E by Larry
L. Peterson & Bruce S. Davie
 [Ramakrishnan 1990] K. K. Ramakrishnan and Raj
Jain, "A Binary Feedback Scheme for Congestion
Avoidance in Computer Networks", ACM
Transactions on Computer Systems,Vol.8, No.2, pp.
158-181, May 1990.
18

Contenu connexe

Tendances

Packet switching
Packet switchingPacket switching
Packet switching
asimnawaz54
 

Tendances (20)

Sliding window protocol
Sliding window protocolSliding window protocol
Sliding window protocol
 
Network layer - design Issues
Network layer - design IssuesNetwork layer - design Issues
Network layer - design Issues
 
Congestion control
Congestion controlCongestion control
Congestion control
 
Chapter 4 data link layer
Chapter 4 data link layerChapter 4 data link layer
Chapter 4 data link layer
 
Congestion Control
Congestion ControlCongestion Control
Congestion Control
 
5. protocol layering
5. protocol layering5. protocol layering
5. protocol layering
 
Computer network switching
Computer network switchingComputer network switching
Computer network switching
 
Transport layer protocols : TCP and UDP
Transport layer protocols  : TCP and UDPTransport layer protocols  : TCP and UDP
Transport layer protocols : TCP and UDP
 
Issues in routing protocol
Issues in routing protocolIssues in routing protocol
Issues in routing protocol
 
Network layer tanenbaum
Network layer tanenbaumNetwork layer tanenbaum
Network layer tanenbaum
 
Leaky Bucket & Tocken Bucket - Traffic shaping
Leaky Bucket & Tocken Bucket - Traffic shapingLeaky Bucket & Tocken Bucket - Traffic shaping
Leaky Bucket & Tocken Bucket - Traffic shaping
 
UDP - User Datagram Protocol
UDP - User Datagram ProtocolUDP - User Datagram Protocol
UDP - User Datagram Protocol
 
GO BACK N PROTOCOL
GO BACK N PROTOCOLGO BACK N PROTOCOL
GO BACK N PROTOCOL
 
Distance Vector & Link state Routing Algorithm
Distance Vector & Link state Routing AlgorithmDistance Vector & Link state Routing Algorithm
Distance Vector & Link state Routing Algorithm
 
Transportlayer tanenbaum
Transportlayer tanenbaumTransportlayer tanenbaum
Transportlayer tanenbaum
 
Quality of Service
Quality of ServiceQuality of Service
Quality of Service
 
Congestion control
Congestion controlCongestion control
Congestion control
 
Packet switching
Packet switchingPacket switching
Packet switching
 
TCP/ IP
TCP/ IP TCP/ IP
TCP/ IP
 
Selective repeat protocol
Selective repeat protocolSelective repeat protocol
Selective repeat protocol
 

Similaire à Congestion on computer network

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
 
Predictable Packet Lossand Proportional Buffer Scaling Mechanism
Predictable Packet Lossand Proportional Buffer Scaling MechanismPredictable Packet Lossand Proportional Buffer Scaling Mechanism
Predictable Packet Lossand Proportional Buffer Scaling Mechanism
IDES Editor
 
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
 

Similaire à Congestion on computer network (20)

Internet congestion
Internet congestionInternet congestion
Internet congestion
 
Congestion Control
Congestion ControlCongestion Control
Congestion Control
 
Conjestion control
Conjestion controlConjestion control
Conjestion control
 
Congestion control
Congestion controlCongestion control
Congestion control
 
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
 
Congestion control 1
Congestion control 1Congestion control 1
Congestion control 1
 
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...
 
9_Network.ppt
9_Network.ppt9_Network.ppt
9_Network.ppt
 
Congestion control
Congestion controlCongestion control
Congestion control
 
Congestion control
Congestion controlCongestion control
Congestion control
 
Predictable Packet Lossand Proportional Buffer Scaling Mechanism
Predictable Packet Lossand Proportional Buffer Scaling MechanismPredictable Packet Lossand Proportional Buffer Scaling Mechanism
Predictable Packet Lossand Proportional Buffer Scaling Mechanism
 
Transport layer
Transport layerTransport layer
Transport layer
 
Computer networks network layer,routing
Computer networks network layer,routingComputer networks network layer,routing
Computer networks network layer,routing
 
congestion control.pdf
congestion control.pdfcongestion control.pdf
congestion control.pdf
 
Congestion control algorithms.pptx
Congestion control algorithms.pptxCongestion control algorithms.pptx
Congestion control algorithms.pptx
 
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
 
Tieu luan qo s
Tieu luan qo sTieu luan qo s
Tieu luan qo s
 
congestion ujjwal matoliya.pptx
congestion ujjwal matoliya.pptxcongestion ujjwal matoliya.pptx
congestion ujjwal matoliya.pptx
 
Token Based Packet Loss Control Mechanism for Networks
Token Based Packet Loss Control Mechanism for NetworksToken Based Packet Loss Control Mechanism for Networks
Token Based Packet Loss Control Mechanism for Networks
 
Mit6 02 f12_chap18
Mit6 02 f12_chap18Mit6 02 f12_chap18
Mit6 02 f12_chap18
 

Dernier

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Dernier (20)

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 

Congestion on computer network

  • 1. 1 COMPUTER NETWORK PRESENTATION ON CONGESTION PRESENTED BY : PRIYOKUMARIY. R.K.DISILA BUNGBUNG CH. S.CHINGU DINESH S.
  • 2. CONTENTS  INTRODUCTIONTO CONGESTION  GENERAL PRINCIPLE OF CONGESTION  OPEN LOOP CONGESTION CONTRO  CLOSED LOOP CONGESTION CONTROL  CONGESTION CONTROL ALGORITHMS  LEAKY BUCKETALGORITHM  TOKEN BUCKET ALGORITHM  CHOKE PACKETS  HOP BY HOP CHOKE PACKETS  LOAD SHEDDING  CONCLUSION  REFERENCE 2
  • 3. INTRODUCTION WHAT IS CONGESTION? Congestion is a situation in communication network in which too many packets are present in a part of the subnet or contending for the same link so  The queue overflows  Packets get dropped  Network is congested! 3 ROUTER BUFFER BUFFER BUFFER BUFFER BUFFER CONGESTION
  • 4. Factors that Cause Congestion  Packet arrival rate exceeds the outgoing link capacity.  Insufficient memory to store arriving packets  Bursty traffic  Slow processor Costs of congestion  large queuing delays are experienced as the packet arrival rate nears the link capacity.  unneeded retransmissions by the sender  when a packet is dropped along a path, the transmission capacity of the upstream routers have been wasted. 4
  • 5. GENERAL PRINCIPLE OF CONGESTION CONTROL Congestion control refers to techniques and mechanisms that can either prevent congestion , before it happens or removes congestion,after it has happened. 5 CONGESTION CONTROL OPEN LOOP RETRANSMISSION POLICY WINDOW POLICY ACKNOWLEDGEMENT POLICY DISCARDING POLICY ADMISSION POLICY CLOSED LOOP BACK PRESSURE CHOKE PACKET IMPLICIT SIGNALING EXPLICIT SIGNALING
  • 6. •In this method, policies are used to prevent the congestion before it happens. Congestion control is handled either by the source or by the destination. 1. Retransmission Policy •The sender retransmits a packet, if it feels that the packet it has sent is lost or corrupted. •The retransmission policy and the retransmission timers need to be designed to optimize efficiency and at the same time prevent the congestion. 2. Window Policy •To implement window policy, selective reject window method is used for congestion control in which it sends only the specific lost or damaged packets. 6 Open loop congestion control
  • 7. 3. Acknowledgement Policy • If the receiver does not acknowledge every packet it receives it may slow down the sender and help prevent congestion. 4. Discarding Policy • A router may discard less sensitive packets when congestion is likely to happen 5. Admission Policy • A router can deny establishing a virtual circuit connection if there is congestion in the "network or if there is a possibility of future congestion. 6. Routing Algorithm • spreading the traffic over all the lines 7
  • 8. 8 Congestion prevention policies in different layers LAYER CONGESTION PREVENTION POLICIES Transport -retransmission policy -acknowledgement policy -flow control policy -timeout determination Network -virtual circuits versus datagram inside the subnet -packet queuing and service policy -packet discard policy -routing algorithm -packet lifetime management Datalink -retransmission policy -out-of-order caching policy -acknowledgement policy -flow control policy
  • 9. CLOSED LOOP CONGESTION CONTROL • Closed loop congestion control mechanisms try to remove the congestion after it happens. 1. Backpressure method • Backpressure is a node-to-node congestion control that starts with a node and propagates, in the opposite direction of data flow in which the congested node stops receiving data from the immediate upstream node(s). 9 Source 1 2 3 4 destination congestion Back pressure DownstreamUpstream Data flow
  • 10. 2. Choke Packet • In choke packet method, congested node sends a warning directly to the source station i.e. the intermediate nodes through which the packet has traveled are not warned. 10 Source 1 2 3 4 Destination Choke packet congestion Data flow
  • 11. 3. Implicit Signaling •The source guesses that there is congestion somewhere in the network when it does not receive any acknowledgment. Therefore the delay in receiving an acknowledgment is interpreted as congestion in the network and the source slows down. - this policy is used inTCP(Transmission control protocol). 4. Explicit Signaling • In this method, the congested nodes explicitly send a signal to the source or destination to inform about the congestion. • Explicit signaling is different from the choke packet method. In choke packed method, a separate packet is used for this purpose whereas in explicit signaling method, the signal is included in the packets that carry data . 11
  • 13. Fig. 1 Fig. 2 13 TOKEN BUCKET ALGORITHM
  • 14.  Choke Packet Technique  Depicts the functioning of choke packets, (a) Heavy traffic between nodes P and Q, (b) Node Q sends the Choke packet to P, (c) Choke packet reaches P, (d) P reduces the flow and send a reduced flow out, (e) Reduced flow reaches node Q . 14
  • 15. Hop-by Hop Choke Packets 15 Depicts the functioning of Hop-by-Hop choke packets (a) Heavy traffic between nodes P and Q, (b) Node Q sends the Choke packet to P, (c) Choke packet reaches R, and the flow between R and Q is curtail down, Choke packer reaches P, and P reduces the flow out .
  • 16. Load Shedding - In this method, whenever a router finds that there is congestion in the network, it simply starts dropping out the packets. - Which packet to discard depends on the applications running -Wine policy: the older the better. -Milk policy: fresher is better -intelligent discard policy:packets in priority classes 16
  • 17. conclusion 17  With the increase in the number of internet users, it has become quite essential to develop an efficient congestion control technique.  In our presentation we have analyse Leaky bucket algorithm,Token bucket algorithm, Choked packet technique and Hop by hop choke packet technique.  A particular algorithm cannot be hundred percent efficient, so there is always scope to improve the congestion control technique.
  • 18. Reference  Computer control overview written by S. Chen  “What is Congestion Control Describe the Congestion Control Algorithm commonly used.” written by DineshThakur.  Computer Network:A system aproach,5E by Larry L. Peterson & Bruce S. Davie  [Ramakrishnan 1990] K. K. Ramakrishnan and Raj Jain, "A Binary Feedback Scheme for Congestion Avoidance in Computer Networks", ACM Transactions on Computer Systems,Vol.8, No.2, pp. 158-181, May 1990. 18