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

Clock synchronization in distributed system
Clock synchronization in distributed systemClock synchronization in distributed system
Clock synchronization in distributed systemSunita Sahu
 
Multiple Access Protocal
Multiple Access ProtocalMultiple Access Protocal
Multiple Access Protocaltes31
 
Transmission Control Protocol (TCP)
Transmission Control Protocol (TCP)Transmission Control Protocol (TCP)
Transmission Control Protocol (TCP)k33a
 
Congestion avoidance in TCP
Congestion avoidance in TCPCongestion avoidance in TCP
Congestion avoidance in TCPselvakumar_b1985
 
Flow & Error Control
Flow & Error ControlFlow & Error Control
Flow & Error Controltameemyousaf
 
Packet switching
Packet switchingPacket switching
Packet switchingasimnawaz54
 
Congetion Control.pptx
Congetion Control.pptxCongetion Control.pptx
Congetion Control.pptxNaveen Dubey
 
Design issues of dos
Design issues of dosDesign issues of dos
Design issues of dosvanamali_vanu
 
Leaky bucket algorithm
Leaky bucket algorithmLeaky bucket algorithm
Leaky bucket algorithmUmesh Gupta
 
Computer Networks Unit 1 Introduction and Physical Layer
Computer Networks Unit 1 Introduction and Physical Layer Computer Networks Unit 1 Introduction and Physical Layer
Computer Networks Unit 1 Introduction and Physical Layer Dr. SELVAGANESAN S
 
Leaky Bucket & Tocken Bucket - Traffic shaping
Leaky Bucket & Tocken Bucket - Traffic shapingLeaky Bucket & Tocken Bucket - Traffic shaping
Leaky Bucket & Tocken Bucket - Traffic shapingVimal Dewangan
 

Tendances (20)

Congestion control
Congestion controlCongestion control
Congestion control
 
Clock synchronization in distributed system
Clock synchronization in distributed systemClock synchronization in distributed system
Clock synchronization in distributed system
 
Transport layer protocol
Transport layer protocolTransport layer protocol
Transport layer protocol
 
Network layer tanenbaum
Network layer tanenbaumNetwork layer tanenbaum
Network layer tanenbaum
 
Data link layer
Data link layerData link layer
Data link layer
 
Ch11
Ch11Ch11
Ch11
 
Multiple Access Protocal
Multiple Access ProtocalMultiple Access Protocal
Multiple Access Protocal
 
Transmission Control Protocol (TCP)
Transmission Control Protocol (TCP)Transmission Control Protocol (TCP)
Transmission Control Protocol (TCP)
 
Congestion avoidance in TCP
Congestion avoidance in TCPCongestion avoidance in TCP
Congestion avoidance in TCP
 
Flow & Error Control
Flow & Error ControlFlow & Error Control
Flow & Error Control
 
Framing in data link layer
Framing in data link layerFraming in data link layer
Framing in data link layer
 
Packet switching
Packet switchingPacket switching
Packet switching
 
Congetion Control.pptx
Congetion Control.pptxCongetion Control.pptx
Congetion Control.pptx
 
Design issues of dos
Design issues of dosDesign issues of dos
Design issues of dos
 
Sliding window protocol
Sliding window protocolSliding window protocol
Sliding window protocol
 
aloha
alohaaloha
aloha
 
Leaky bucket algorithm
Leaky bucket algorithmLeaky bucket algorithm
Leaky bucket algorithm
 
Computer Networks Unit 1 Introduction and Physical Layer
Computer Networks Unit 1 Introduction and Physical Layer Computer Networks Unit 1 Introduction and Physical Layer
Computer Networks Unit 1 Introduction and Physical Layer
 
Mobile Transport layer
Mobile Transport layerMobile Transport layer
Mobile Transport layer
 
Leaky Bucket & Tocken Bucket - Traffic shaping
Leaky Bucket & Tocken Bucket - Traffic shapingLeaky Bucket & Tocken Bucket - Traffic shaping
Leaky Bucket & Tocken Bucket - Traffic shaping
 

Similaire à Congestion on computer network

Internet congestion
Internet congestionInternet congestion
Internet congestionVikas Gupta
 
Congestion control
Congestion controlCongestion control
Congestion controlNithin Raj
 
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 3Hossam El-Deen Osama
 
Congestion control 1
Congestion control 1Congestion control 1
Congestion control 1Aman Jaiswal
 
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
 
Congestion control
Congestion controlCongestion control
Congestion controlnandhulaks
 
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 MechanismIDES Editor
 
Computer networks network layer,routing
Computer networks network layer,routingComputer networks network layer,routing
Computer networks network layer,routingDeepak John
 
congestion control.pdf
congestion control.pdfcongestion control.pdf
congestion control.pdfJayaprasanna4
 
Congestion control algorithms.pptx
Congestion control algorithms.pptxCongestion control algorithms.pptx
Congestion control algorithms.pptxujjwalmatoliya
 
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
 
congestion ujjwal matoliya.pptx
congestion ujjwal matoliya.pptxcongestion ujjwal matoliya.pptx
congestion ujjwal matoliya.pptxujjwalmatoliya
 
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 NetworksIJMER
 

Similaire à Congestion on computer network (20)

Internet congestion
Internet congestionInternet congestion
Internet congestion
 
Congestion Control
Congestion ControlCongestion Control
Congestion Control
 
Congestion control
Congestion controlCongestion control
Congestion control
 
Conjestion control
Conjestion controlConjestion control
Conjestion 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
Congestion ControlCongestion Control
Congestion Control
 
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
 

Dernier

Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 

Dernier (20)

Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 

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