CONGESTION CONTROL, QUALITY OF SERVICE, & INTERNETWORKING

Slides:



Advertisements
Similar presentations
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.
Advertisements

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:
01. Apr INF-3190: Congestion Control Congestion Control Foreleser: Carsten Griwodz
Chi-Cheng Lin, Winona State University CS 313 Introduction to Computer Networking & Telecommunication Chapter 5 Network Layer.
Congestion Control Algorithms
The Network Layer Functions: Congestion Control
Review: Routing algorithms Distance Vector algorithm. –What information is maintained in each router? –How to distribute the global network information?
William Stallings Data and Computer Communications 7 th Edition Chapter 13 Congestion in Data Networks.
Congestion Control Reasons: - too many packets in the network and not enough buffer space S = rate at which packets are generated R = rate at which receivers.
Quality of Service Requirements
24.1 Chapter 24 Congestion Control and Quality of Service Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
1.  Congestion Control Congestion Control  Factors that Cause Congestion Factors that Cause Congestion  Congestion Control vs Flow Control Congestion.
1 Quality of Service Requirements Techniques for Achieving Good Quality of Service Integrated Services Differentiated Services Label Switching and MPLS.
Network Layer Chapter 5 Design Issues Routing Algorithms
CS 408 Computer Networks Congestion Control (from Chapter 05)
NETWORK LAYER. CONGESTION CONTROL In congestion control we try to avoid traffic congestion. Traffic Descriptor Traffic descriptors are qualitative values.
Congestion Control Algorithms, Quality of Service & Internetworking
Computer Networks Performance Metrics. Performance Metrics Outline Generic Performance Metrics Network performance Measures Components of Hop and End-to-End.
1 Lecture 14 High-speed TCP connections Wraparound Keeping the pipeline full Estimating RTT Fairness of TCP congestion control Internet resource allocation.
TCP Trunking: Design, Implementation and Performance H.T. Kung and S. Y. Wang.
1 Congestion Control Computer Networks. 2 Where are we?
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 23 Congestion Control and Quality of Service.
CS640: Introduction to Computer Networks Aditya Akella Lecture 20 - Queuing and Basics of QoS.
CONGESTION CONTROL.
Lecture Network layer -- May Congestion control Algorithms.
An End-to-End Service Architecture r Provide assured service, premium service, and best effort service (RFC 2638) Assured service: provide reliable service.
24.1 Chapter 24 Congestion Control and Quality of Service ICE302 Term # 2 Lecture # 3 Md. Asif Hossain.
An End-to-End Service Architecture r Provide assured service, premium service, and best effort service (RFC 2638) Assured service: provide reliable service.
Providing QoS in IP Networks
-1- Georgia State UniversitySensorweb Research Laboratory CSC4220/6220 Computer Networks Dr. WenZhan Song Professor, Computer Science.
1 Lecture 15 Internet resource allocation and QoS Resource Reservation Protocol Integrated Services Differentiated Services.
The Network Layer Congestion Control Algorithms & Quality-of-Service Chapter 5.
Assignment 1  Chapter 1:  Question 11  Question 13  Question 14  Question 33  Question 34  Chapter 2:  Question 6  Question 39  Chapter 3: 
The Network Layer Role Services Main Functions Standard Functions
Congestion Control in Data Networks and Internets
QoS & Queuing Theory CS352.
Topics discussed in this section:
Congestion Control and
Congestion Control, Quality of Service, and Internetworking
Chapter 6 Congestion Avoidance
Buffer Management in a Switch
Congestion Control Evaluation in Dynamic Network
Switching Techniques In large networks there might be multiple paths linking sender and receiver. Information may be switched as it travels through various.
Chapter 5 The Network Layer.
Congestion Control, Internet transport protocols: udp
CONGESTION CONTROL.
What’s “Inside” a Router?
Chapter 20 Network Layer: Internet Protocol
Border Gateway Protocol
The Network Layer Network Layer Design Issues:
Congestion Control (from Chapter 05)
PRESENTATION COMPUTER NETWORKS
Switching Techniques.
Computer Science Division
Congestion Control, Quality of Service, & Internetworking
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)
CS4470 Computer Networking Protocols
Congestion Control Reasons:
Chapter 2 Switching.
Congestion Control (from Chapter 05)
Congestion Control (from Chapter 05)
The Network Layer Congestion Control Algorithms & Quality-of-Service
Congestion Control (from Chapter 05)
Congestion Control (from Chapter 05)
Congestion Control (from Chapter 05)
Congestion Control Algorithms
Presentation transcript:

CONGESTION CONTROL, QUALITY OF SERVICE, & INTERNETWORKING 5.3-5.5

CONGESTION CONTROL Congestion in network layer = too many packets in the network leads to packet delay or loss performance degradation Goodput is the rate at which useful packets are delivered by network. Offered load approach carrying capacity Bursts of traffic fill up buffers packet loss Consumes capacity Drop in number of delivered packets Retransmit packets that are greatly delayed. Same packet sent to network wastes capacity. Congestion collapse – performance plummets when load increases beyond network’s capacity

Eliminate congestion? Key control can’t avoid congestion = load > resources 2 possible solutions: increase resources, decrease load Routing algorithms Part of network software layer responsible for deciding which output line an incoming packet should be transmitted on – determines best path for data Four types for congestion control – Admission control, traffic aware routing, traffic throttling, and load shedding Preventative method more preplanning required (time consuming) to reactive discard packets that are not deliverable, load shedding

CONGESTION CONTROL Traffic Aware Routing Attempts to predict which routes will become congested first and shift traffic away from areas heavily used Considers load to calculate route distance and changes shortest path weight Paths with the least weight favors paths that are lightly loaded Issue – including loads, queueing delay and changing weights -> routing oscillations -> erratic routing Solution – Multipath routing (use multiple paths to avoid congestion) or Shift traffic routing scheme (slowly shifts traffic away from congestion). Doesn’t consider load only bandwidth and propagation delay Internet routing protocols not typical to adjust routes based on load alternatively adjustments occur outside of the Internet routing protocol by slowing changing the inputs, called traffic engineering

ADMISSION CONTROL Idea is to not set up a new virtual circuit unless the network can carry the added traffic Traffic can often come in bursts, how do we know how much to plan for? Browsing internet vs. watching HD Movie Leaky (or token) bucket descriptor binds average rate and instantaneous burst in one parameter Internet usage statistics give context for planning network Admission control + traffic aware routing can create connections around hotspots

LOAD SHEDDING Load shedding is final resort when previous methods don't work, router starts throwing away packets Packets dropped depend application accessing network "Wine" - Send old packets but drop new ones "Milk" - Send new packets but drop old ones Random Early Detection Algorithm deciding to preemptively start dropping packets Picks small fraction of packets at random to drop

TRAFFIC THROTTLING Catching congestion before it happens is key Most effect way is to measure buffering of queued packets inside the router Choke Packets are sent directly to source host When host receives choke packet, it is required to reduce traffic sent for a certain amount of time Explicit Congestion Notification Routers may tag packets as congested as they transmit between hosts, and the sender then throttles transmission Hop-by-Hop Backpressure Has choke packet take effect at every hop Provides immediate relief at current hop but puts greater demand on previous hop If/when congestion reaches originating hop, slow down finally occurs

QUALITY OF SERVICE WHAT IS IT? IN ITS ESSENCE, IT IS THE ABILITY TO ENSURE THE QUALITY OF THE END USER’S EXPERIENCE QoS was defined by ITU (International Telecommunication Union) in 1994 -SPEED -TRANSMISSION -BANDAWIDTH -PERFORMANCE -ETC...

QUALITY OF SERVICE REQUIREMENTS HOW DO WE ACHIEVE THIS?? WHAT APPLICATIONS NEED FROM THE NETWORK HOW TO REGULATE TRAFFIC THAT ENTERS THE NETWORK HOW TO RESERVE RESOURCES AT ROUTERS TO GUARANTEE PERFORMANCE WHETHER THE NETWORK CAN SAFELY ACCEPT MORE TRAFFIC REQUIREMENTS

QUALITY OF SERVICE TRAFFIC SHAPING TRAFFIC IN DATA NETWORKS IN BURSTY GOAL IS TO REGULATE THE AVERAGE RATE OF DATA ENTERING A NETWORK SLA - AGREEMENT BETWEEN USER AND PROVIDER DEALING WITH THE PATTERN OF TRAFFIC THAT WILL COME FROM USER’S NETWORK

QUALITY OF SERVICE LEAKY BUCKET ALGORITHM TOKEN BUCKET ALGORITHM Leaky Bucket technique was proposed by Jonathan S. Turner -RUNNING AT A RATE, R, WITH A CAPACITY OF B -NO MORE THAN A FIXED NUMBER OF WATER, B, CAN ACCUMULATE IN BUCKET -IF BUCKET IS EMPTY, WE MUST WAIT UNTIL MORE TOKENS ARRIVE BEFORE SENDING ANOTHER PACKET -OUTPUT IS CONSTANT RATE, R, WHEN THERE IS ANY WATER IN BUCKET AND ZERO WHEN BUCKET IS EMPTY -ANY ADDITIONAL WATER IS SPILLAGE

QUALITY OF SERVICE FIFO (FIRST-IN-FIRST-OUT FAIR QUEUEING PACKETS ARE PUT IN A QUEUE UNTIL THEY CAN BE SENT SENT IN THE ORDER THEY ARE RECEIVED SIMPLE TO IMPLEMENT,BUT NOT A GOOD CHOICE WHEN MULTIPLE FLOWS ARE INVOLVED IF FIRST FLOW IS AGGRESSIVE WITH LARGE BURSTS IT WILL LODGE THE QUEUE FAIR QUEUEING ROUTERS HAVE SEPARATE QUEUES, ONE FOR EACH FLOW FOR A GIVEN OUTPUT LINE WHEN LINES BECOME IDLE, QUEUES ARE SCANNED ROUND ROBIN TAKES THE FIRST PACKET ON THE NEXT QUEUE GIVES MORE BANDWIDTH TO HOSTS WITH LARGER PACKETS RATHER THAN THOSE THAT USE SMALL PACKETS QUALITY OF SERVICE PACKET SCHEDULING RESOURCE RESERVATION BANDWITH BUFFER SPACE CPU CYCLES

INTERNETWORKING Connecting two or more networks – Internetwork aka The Internet Different networks will have different protocols at data link, physical, and network layer Source packets may have to traverse multiple networks Build a common layer between networks at the boundaries of networks TCP/IP – Cerf and Kahn 2004 Turing Award Foundation of Internet

INTERNETWORKING Router to handle multiple protocols – Multiprotocol Router IPv4 (32 bit address) or IPv6 (128 bit address) Tunneling – Package an IPv6 packet in an IPv4 Packet Overlay – Connect isolated hosts using other networks ie. VPN

INTERNETWORKING Two Level Routing Interior Gateway Protocol – routing in network Exterior Gateway Protocol – routing across networks Autonomous System – network is operated independently of other networks Packet Fragmentation Packet Size limited in different protocols – Path Maximum Transmission Unit Path MTU Discovery – IP packet sent with header will not allow fragmentation Large packet returns error and receiver will drop packet Router will reply with maximum size and process continues through route