CSE331: Introduction to Networks and Security Lecture 13 Fall 2002.

Slides:



Advertisements
Similar presentations
Congestion Control and Fairness Models Nick Feamster CS 4251 Computer Networking II Spring 2008.
Advertisements

Quality of Service CS 457 Presentation Xue Gu Nov 15, 2001.
Computer Networking Lecture 20 – Queue Management and QoS.
1 CNPA B Nasser S. Abouzakhar Queuing Disciplines Week 8 – Lecture 2 16 th November, 2009.
Spring 2000CS 4611 Quality of Service Outline Realtime Applications Integrated Services Differentiated Services.
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
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.
Traffic Shaping Why traffic shaping? Isochronous shaping
ECE 4450:427/527 - Computer Networks Spring 2015
Congestion Control Created by M Bateman, A Ruddle & C Allison As part of the TCP View project.
CS 408 Computer Networks Congestion Control (from Chapter 05)
Lecture 3  A round up of the most important basics I haven’t covered yet.  A round up of some of the (many) things I am missing out of this course (ATM,
Congestion Control An Overview -Jyothi Guntaka. Congestion  What is congestion ?  The aggregate demand for network resources exceeds the available capacity.
CPSC Topics in Multimedia Networking A Mechanism for Equitable Bandwidth Allocation under QoS and Budget Constraints D. Sivakumar IBM Almaden Research.
Differentiated Services. Service Differentiation in the Internet Different applications have varying bandwidth, delay, and reliability requirements How.
1 Congestion Control Outline Queuing Discipline Reacting to Congestion Avoiding Congestion.
CSE331: Introduction to Networks and Security Lecture 14 Fall 2002.
Analysis and Simulation of a Fair Queuing Algorithm
Congestion Control and Resource Allocation
ACN: Congestion Control1 Congestion Control and Resource Allocation.
Computer Networking Lecture 17 – Queue Management As usual: Thanks to Srini Seshan and Dave Anderson.
Lecture 5: Congestion Control l Challenge: how do we efficiently share network resources among billions of hosts? n Last time: TCP n This time: Alternative.
School of Information Technologies IP Quality of Service NETS3303/3603 Weeks
CIS679: Scheduling, Resource Configuration and Admission Control r Review of Last lecture r Scheduling r Resource configuration r Admission control.
CSE QoS in IP. CSE Improving QOS in IP Networks Thus far: “making the best of best effort”
CONGESTION CONTROL and RESOURCE ALLOCATION. Definition Resource Allocation : Process by which network elements try to meet the competing demands that.
Link Scheduling & Queuing COS 461: Computer Networks
Fundamentals of Computer Networks ECE 478/578 Lecture #22: Resource Allocation and Congestion Control Instructor: Loukas Lazos Dept of Electrical and Computer.
Wolfgang EffelsbergUniversity of Mannheim1 Differentiated Services for the Internet Wolfgang Effelsberg University of Mannheim September 2001.
Queueing and Active Queue Management Aditya Akella 02/26/2007.
9.7 Other Congestion Related Issues Outline Queuing Discipline Avoiding Congestion.
Packet switching network Data is divided into packets. Transfer of information as payload in data packets Packets undergo random delays & possible loss.
CS640: Introduction to Computer Networks Aditya Akella Lecture 20 - Queuing and Basics of QoS.
EE 122: Lecture 15 (Quality of Service) Ion Stoica October 25, 2001.
Lecture Network layer -- May Congestion control Algorithms.
Spring Computer Networks1 Congestion Control Sections 6.1 – 6.4 Outline Preliminaries Queuing Discipline Reacting to Congestion Avoiding Congestion.
Queue Management Mike Freedman COS 461: Computer Networks Lectures: MW 10-10:50am in Architecture N101
Univ. of TehranIntroduction to Computer Network1 An Introduction Computer Networks An Introduction to Computer Networks University of Tehran Dept. of EE.
Providing QoS in IP 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.
Other Methods of Dealing with Congestion
Congestion Control in Data Networks and Internets
Instructor Materials Chapter 6: Quality of Service
Internet Networking recitation #9
Topics discussed in this section:
Chapter 6 Congestion Avoidance
Queue Management Jennifer Rexford COS 461: Computer Networks
Chapter 6 Queuing Disciplines
Congestion Control and Resource Allocation
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 6: Quality of Service Connecting Networks.
Queuing and Queue Management
Other Methods of Dealing with Congestion
Congestion Control (from Chapter 05)
COS 461: Computer Networks
CSCD 433/533 Advanced Networks
Congestion Control (from Chapter 05)
Congestion Control, Internet Transport Protocols: UDP
Congestion Control (from Chapter 05)
Congestion Control Reasons:
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 and Resource Allocation
Lecture 6, Computer Networks (198:552)
Presentation transcript:

CSE331: Introduction to Networks and Security Lecture 13 Fall 2002

CSE331 Fall Announcements Reminder: –Project 1 due on Monday, Oct. 7 th –In-class midterm Wednesday, Oct. 9 th Monday’s Class –Further Topics in Networking –Review / Question & Answer

CSE331 Fall Recap Application Level Protocols –SMTP –HTTP –SNMP Congestion control Resource Management Quality of Service Today

CSE331 Fall Sharing Resources How do we effectively & fairly share resources on the net? –Bandwidth of the links –Buffers space in routers in switches Many competing users –What does “fairly” mean?

CSE331 Fall Contention and Congestion Packets contend at a router for use of a link –Multiple packets are enqueued at the router Congestion is when packets are dropped because the queue is full –Wasted resources –Can lead to timeouts/retransmission Problem is resource allocation

CSE331 Fall Congestion In Packet-switched Networks Router Sources Destination

CSE331 Fall Network Resource Allocation Challenges –Distributed resources are hard to coordinate –Only way to coordinate is through the network itself! –Not isolated to single level of the protocol hierarchy –Not always possible to “route around” congestion –Bottleneck not always visible from the source Resource allocation –Attempt to meet competing demands of applications –Not always possible!

CSE331 Fall Flows A flow is a sequence of packets sent along the same route between a source and dest. Connectionless Flows –No per-flow state at the routers –Example: Pure datagram model Connection Oriented Flows –Necessary per-flow state at the routers –Explicitly created/removed by signalling –Example: Virtual Circuit Switching –Potentially does not scale Soft-state Flows –Some (not strictly necessary) per-flow state –Example: Routing information in Learning Bridges

CSE331 Fall Multiple flows Source 1 Source 2 Source 3 Dest. 1 Dest. 2 Router

CSE331 Fall Router- vs. Host-Centric Router-centric –Each router selects packets to forward & packets to drop –Routers inform hosts about network conditions Host-centric –Hosts observe network behavior by watching ACKs, Timeouts, ICMP messages, etc. –Adjust behavior accordingly Not mutually exclusive approaches

CSE331 Fall Reservation vs. Feedback Reservation –End hosts ask network for certain amount of capacity –If request can’t be satisfied, router rejects the flow –Examples: measure MTU or link capacities –Router-centric approach Feedback –End hosts send data without reserving capacity –Adjust behavior based on feedback –Explicit feedback: TCP flow control –Implicit feedback: Packet losses

CSE331 Fall Throughput, Delay and Load Network load is a measure of total link utilization Ideally we would –Maximize throughput –Minimize delay Increasing #packets in network lengthens queues, which increases delay. Power = Throughput/Delay

CSE331 Fall Power vs. Load Ratio of Throughput/Delay as a function of network load Difficult to control load in fine-grained ways Need stable mechanism: avoid thrashing Load Throughput/Delay Optimal Load

CSE331 Fall Fair Resource Allocation What does “Fair” mean? –Equal share of resources for all flows? –Proportional to how much you pay for service? –Should we take route length into account? Router

CSE331 Fall FIFO Queuing First-in First-out –Scheduling discipline: determines order Tail Drop –If queue is full, most recent packet to arrive is dropped –Drop policy: which packets are dropped Most widely used in Internet routers –Pushes congestion control & resource allocation to end hosts (TCP) –Does not discriminate between flows –Trusts end hosts to “share” – but no one is forced to use TCP, for example.

CSE331 Fall Priority Queuing Simple variant on FIFO –Use the IP Type of Service header field as a priority –Send all higher priority packets in the queue before sending lower priority packets Problems –Starvation of low-priority flows –Who sets priorities? (Not end user!)

CSE331 Fall Fair Queing Strategy –Maintain a separate queue for each flow being handled by the router –Individual queues are treated FIFO with tail-drop –Queues are handled round-robin Flow 1 Flow 2 Flow 3 Round Robin

CSE331 Fall Fair Queuing Continued Designed to be used with end-to-end congestion control –Doesn’t restrict transmission rates of end hosts –Badly-behaved end hosts only hurt themselves Details –Different packet sizes complicates “fairness” –Link is never idle (as long as there is data to send) –If N flows are transmitting, each gets maximum of 1/N bandwidth

CSE331 Fall Congestion Avoidance Mechanisms Try to prevent congestion before it occurs –Unlike TCP, which reacts to existing congestion Strategy 1: Routers watch their queues –Routers set a bit in outgoing packets if avg. queue length > 1 –Receiver copies bit into its ACK –Sender increases/decreases send window based on # of packets that report congestion –Called the DECbit algorithm

CSE331 Fall Congestion Avoidance Continued Strategy 2: Random Early Detection –Router monitors queue length –If length > dropLevel then drop packet with certain probability –Source times out on dropped packets –TCP causes send window to decrease –Much tuning of parameters to optimize performance

CSE331 Fall Quality of Service Issues Sometimes best effort is not enough Application requirements –Real time: data must arrive within certain time constraints to be useful Telephony, video conferencing –Jitter (variation in arrival times of packets) is bad Audio/visual data need low jitter –Packet loss:can it be tolerated or not? Mpeg can interpolate missing frames Remote robot surgeon cannot tolerate packet loss

CSE331 Fall Playback Buffer Example Time Sequence # Packet Generation Playback Packet Arrival delay buffer

CSE331 Fall Integrated Services (RSVP) Proposed in Service Classes –Guaranteed arrival service For delay intolerant applications Guarantee a maximum delay –Controlled Load For loss tolerant, adaptive applications Emulate lightly loaded network

CSE331 Fall Implementation Mechanisms Flowspecs –Describe the kind of service needed “I need maximum delay of 100ms” “I need to use controlled load service” Admission Control –Network decides whether it can provide the desired service Resource Reservation –Mechanism to exchange info about requests Packet Scheduling –Manage queuing and scheduling.