William Stallings Data and Computer Communications 7 th Edition Chapter 13 Congestion in Data Networks.

Slides:



Advertisements
Similar presentations
CSE 413: Computer Networks
Advertisements

Switching Techniques In large networks there might be multiple paths linking sender and receiver. Information may be switched as it travels through various.
1 IK1500 Communication Systems IK1330 Lecture 3: Networking Anders Västberg
20.1 Chapter 20 Network Layer: Internet Protocol Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
1 CONGESTION CONTROL. 2 Congestion Control When one part of the subnet (e.g. one or more routers in an area) becomes overloaded, congestion results. Because.
EE 4272Spring, 2003 Chapter 12 Congestion in Data Networks Effect of Congestion Control  Ideal Performance  Practical Performance Congestion Control.
TELE202 Lecture 8 Congestion control 1 Lecturer Dr Z. Huang Overview ¥Last Lecture »X.25 »Source: chapter 10 ¥This Lecture »Congestion control »Source:
The Network Layer Functions: Congestion Control
CS 456: Computer Networks: Congestion Control/QoS Prof. Varsha Apte Slides based on William Stallings+Tanenbaum.
24-1 Chapter 24. Congestion Control and Quality of Service (part 1) 23.1 Data Traffic 23.2 Congestion 23.3 Congestion Control 23.4 Two Examples.
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 10 – Circuit Switching and Packet Switching.
24.1 Chapter 24 Congestion Control and Quality of Service Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Engineering Internet QoS
William Stallings Data and Computer Communications 7th Edition
CS 408 Computer Networks Congestion Control (from Chapter 05)
1 Frame Relay u Packet switching system with low overhead u Assumes very reliable high-quality physical network u Developed for use in ISDN networks u.
Congestion in Data Networks
Chapter 10 Congestion Control in Data Networks1 Congestion Control in Data Networks and Internets COMP5416 Chapter 10.
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 13 – Congestion in Data Networks.
Semester Copyright USM EEE442 Computer Networks Congestion En. Mohd Nazri Mahmud MPhil (Cambridge, UK) BEng (Essex, UK) Room.
Differentiated Services. Service Differentiation in the Internet Different applications have varying bandwidth, delay, and reliability requirements How.
Congestion Dr. Abdulaziz Almulhem. Almulhem©20012 Congestion It occurs when network resources are becoming scarce High demand Over utilized Offered load.
1 K. Salah Module 5.0: Internetworking & Network Layer Basic concepts Congestion Control Routing Protocols –Flooding –Source routing –Distance vector routing.
Data Communication and Networks
Transport Layer3-1 Data Communication and Networks Lecture 8 Congestion Control October 28, 2004.
Semester Copyright USM EEE449 Computer Networks Congestion En. Mohd Nazri Mahmud MPhil (Cambridge, UK) BEng (Essex, UK) Room.
Computer Networks Set 9 Congestion in Data Networks.
Switching Techniques Student: Blidaru Catalina Elena.
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 10 – Circuit Switching and Packet Switching.
Top-Down Network Design Chapter Thirteen Optimizing Your Network Design Oppenheimer.
Univ. of TehranAdv. topics in Computer Network1 Advanced topics in Computer Networks University of Tehran Dept. of EE and Computer Engineering By: Dr.
TELE202 Lecture 5 Packet switching in WAN 1 Lecturer Dr Z. Huang Overview ¥Last Lectures »C programming »Source: ¥This Lecture »Packet switching in Wide.
William Stallings Data and Computer Communications 7 th Edition Chapter 1 Data Communications and Networks Overview.
Computer Networks with Internet Technology William Stallings
Data and Computer Communications Chapter 11 – Asynchronous Transfer Mode.
1 Congestion Control Computer Networks. 2 Where are we?
CSC 581 Communication Networks II Chapter 7c: Congestion Control Dr. Cheer-Sun Yang.
Packet switching network Data is divided into packets. Transfer of information as payload in data packets Packets undergo random delays & possible loss.
Lecture # 03 Switching Course Instructor: Engr. Sana Ziafat.
K. Salah 1 Module 3.0: ATM & Frame Relay. K. Salah 2 Protocol Architecture Similarities between ATM and packet switching – Transfer of data in discrete.
1 Chapter 3. Communication Networks Wen-Shyang Hwang KUAS EE.
Lecture Network layer -- May Congestion control Algorithms.
Data and Computer Communications Tenth Edition by William Stallings Data and Computer Communications, Tenth Edition by William Stallings, (c) Pearson Education.
An End-to-End Service Architecture r Provide assured service, premium service, and best effort service (RFC 2638) Assured service: provide reliable service.
William Stallings Data and Computer Communications Chapter 12 Congestion in Data Networks.
1 Lecture 15 Internet resource allocation and QoS Resource Reservation Protocol Integrated Services Differentiated Services.
Chapter 10 Congestion Control in Data Networks and Internets 1 Chapter 10 Congestion Control in Data Networks and Internets.
1 Congestion and Congestion Control in Packet- Switched Networks.
GRF Overview Simple as UBR from end system view – End system does no policing or traffic shaping – May transmit at line rate of ATM adaptor Modest requirements.
Congestion Control in Data Networks and Internets
Instructor Materials Chapter 6: Quality of Service
Topics discussed in this section:
William Stallings Data and Computer Communications
Switching Techniques In large networks there might be multiple paths linking sender and receiver. Information may be switched as it travels through various.
CONGESTION CONTROL.
William Stallings Data and Computer Communications
Switching Techniques In large networks there might be multiple paths linking sender and receiver. Information may be switched as it travels through various.
Congestion Control in Data Networks and Internets
Congestion Control (from Chapter 05)
Switching Techniques.
Congestion Control (from Chapter 05)
Figure Areas in an autonomous system
Chapter 11. Frame Relay Background Frame Relay Protocol Architecture
Congestion Control (from Chapter 05)
Congestion Control (from Chapter 05)
Congestion Control (from Chapter 05)
Congestion Control (from Chapter 05)
Congestion Control (from Chapter 05)
Congestion Control (from Chapter 05)
Presentation transcript:

William Stallings Data and Computer Communications 7 th Edition Chapter 13 Congestion in Data Networks

What Is Congestion? Congestion occurs when the number of packets being transmitted through the network approaches the packet handling capacity of the network Congestion control aims to keep number of packets below level at which performance falls off dramatically Data network is a network of queues Generally 80% utilization is critical Finite queues mean data may be lost

Queues at a Node

Effects of Congestion Packets arriving are stored at input buffers Routing decision made Packet moves to output buffer Packets queued for output transmitted as fast as possible —Statistical time division multiplexing If packets arrive too fast to be routed, or to be output, buffers will fill May have to discard packets Can use flow control —Can propagate congestion through network

Interaction of Queues

Ideal Network Utilization Power = thruput/delay Fig. 13.3

Practical Performance Ideal assumes infinite buffers and no overhead Buffers are finite Overheads occur in exchanging congestion control messages

Effects of Congestion - No Control Fig. 13.4

Mechanisms for Congestion Control

Backpressure If node becomes congested it can slow down or halt flow of packets from other nodes May mean that other nodes have to apply control on incoming packet rates Propagates back to source Can restrict to logical connections generating most traffic Used in connection oriented networks that allow hop by hop congestion control (e.g. X.25)

Choke Packet Control packet —Generated at congested node —Sent to source node —e.g. ICMP source quench From router or destination Source cuts back until no more source quench message Sent for every discarded packet, or anticipated Rather crude mechanism

Implicit Congestion Signaling Transmission delay may increase with congestion Packet may be discarded Source can detect these as implicit indications of congestion Useful on connectionless (datagram) networks —e.g. IP based (TCP includes congestion and flow control - see chapter 20) Used in frame relay LAPF

Explicit Congestion Signaling Network alerts end systems of increasing congestion End systems take steps to reduce offered load Backwards —Congestion avoidance in opposite direction (toward the source) Forwards —Congestion avoidance in same direction (toward destination) —The dest will echo the signal back to the src —or the upper layer protocol will do some flow control

Categories of Explicit Signaling Binary —A bit set in a packet indicates congestion Credit based —Indicates how many packets source may send —Common for end to end flow control Rate based —Supply explicit data rate limit —e.g. ATM

Traffic Management Fairness Quality of service —May want different treatment for different connections Reservations —e.g. ATM —Traffic contract between user and network

Congestion Control in Packet Switched Networks Send control packet (e.g. choke packet) to some or all source nodes —Requires additional traffic during congestion Rely on routing information —May react too quickly End to end probe packets —Adds to overhead Add congestion info to packets as they cross nodes —Either backwards or forwards

Frame Relay Congestion Control Minimize discards Maintain agreed QoS Minimize probability of one end user monopoly Simple to implement —Little overhead on network or user Create minimal additional traffic Distribute resources fairly Limit spread of congestion Operate effectively regardless of traffic flow Minimum impact on other systems Minimize variance in QoS

Techniques Discard strategy Congestion avoidance Explicit signaling Congestion recovery Implicit signaling mechanism

Traffic Rate Management Must discard frames to cope with congestion —Arbitrarily, no regard for source —No reward for restraint so end systems transmit as fast as possible —Committed information rate (CIR) Data in excess of this rate is liable to discard Not guaranteed Aggregate CIR should not exceed physical data rate Committed burst size (Bc) Excess burst size (Be)

Operation of CIR

Relationship Among Congestion Parameters

Explicit Signaling Network alerts end systems of growing congestion Backward explicit congestion notification Forward explicit congestion notification Frame handler monitors its queues May notify some or all logical connections User response —Reduce rate

ATM Traffic Management Section 13.6 will be skipped except for the following

Traffic Management and Congestion Control Techniques Resource management using virtual paths Connection admission control Usage parameter control Selective cell discard Traffic shaping

Resource Management Using Virtual Paths Separate traffic flow according to service characteristics User to user application User to network application Network to network application Concern with: —Cell loss ratio —Cell transfer delay —Cell delay variation

Configuration of VCCs and VPCs

Allocating VCCs within VPC All VCCs within VPC should experience similar network performance Options for allocation: —Aggregate peak demand —Statistical multiplexing

Connection Admission Control First line of defense User specifies traffic characteristics for new connection (VCC or VPC) by selecting a QoS Network accepts connection only if it can meet the demand Traffic contract —Peak cell rate —Cell delay variation —Sustainable cell rate —Burst tolerance

Usage Parameter Control Monitor connection to ensure traffic conforms to contract Protection of network resources from overload by one connection Done on VCC and VPC Peak cell rate and cell delay variation Sustainable cell rate and burst tolerance Discard cells that do not conform to traffic contract Called traffic policing

Traffic Shaping Smooth out traffic flow and reduce cell clumping Token bucket

Token Bucket for Traffic Shaping