Advanced Computer Networks

Slides:



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

Computer Networking Lecture 20 – Queue Management and QoS.
TELE202 Lecture 8 Congestion control 1 Lecturer Dr Z. Huang Overview ¥Last Lecture »X.25 »Source: chapter 10 ¥This Lecture »Congestion control »Source:
CS 408 Computer Networks Congestion Control (from Chapter 05)
School of Information Technologies TCP Congestion Control NETS3303/3603 Week 9.
Congestion Control and Resource Allocation
CMPE 80N - Introduction to Networks and the Internet 1 CMPE 80N Winter 2004 Lecture 13 Introduction to Networks and the Internet.
ACN: Congestion Control1 Congestion Control and Resource Allocation.
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.
L13: Sharing in network systems Dina Katabi Spring Some slides are from lectures by Nick Mckeown, Ion Stoica, Frans.
11 CS716 Advanced Computer Networks By Dr. Amir Qayyum.
Lect3..ppt - 09/12/04 CIS 4100 Systems Performance and Evaluation Lecture 3 by Zornitza Genova Prodanoff.
CONGESTION CONTROL and RESOURCE ALLOCATION. Definition Resource Allocation : Process by which network elements try to meet the competing demands that.
9.7 Other Congestion Related Issues Outline Queuing Discipline Avoiding Congestion.
CS640: Introduction to Computer Networks Aditya Akella Lecture 20 - Queuing and Basics of QoS.
1 ECE453 - Introduction to Computer Networks Lecture 1: Introduction.
Lecture # 03 Switching Course Instructor: Engr. Sana Ziafat.
Spring Computer Networks1 Congestion Control Sections 6.1 – 6.4 Outline Preliminaries Queuing Discipline Reacting to Congestion Avoiding Congestion.
@Yuan Xue A special acknowledge goes to J.F Kurose and K.W. Ross Some of the slides used in this lecture are adapted from their.
11 CS716 Advanced Computer Networks By Dr. Amir Qayyum.
@Yuan Xue A special acknowledge goes to J.F Kurose and K.W. Ross Some of the slides used in this lecture are adapted from their.
1 Flow & Congestion Control Some slides are from lectures by Nick Mckeown, Ion Stoica, Frans Kaashoek, Hari Balakrishnan, and Sam Madden Prof. Dina Katabi.
Analysis and Comparison of TCP Reno and TCP Vegas Review
Chapter 2 PHYSICAL LAYER.
Instructor Materials Chapter 6: Quality of Service
Topics discussed in this section:
Transport Layer CS 381 3/7/2017.
Chapter 3 outline 3.1 transport-layer services
Advanced Computer Networks
Congestion Control, Quality of Service, and Internetworking
Congestion control principles
Chapter 3 outline 3.1 Transport-layer services
Chapter 6 Queuing Disciplines
Congestion Control and Resource Allocation
CS4470 Computer Networking Protocols
Transport Layer Unit 5.
TCP, XCP and Fair Queueing
Advanced Computer Networks
Flow and Congestion Control
Lecture 19 – TCP Performance
ECE 4450:427/527 - Computer Networks Spring 2017
Chapter 20 Network Layer: Internet Protocol
So far, On the networking side, we looked at mechanisms to links hosts using direct linked networks and then forming a network of these networks. We introduced.
Advanced Computer Networks
Congestion Control (from Chapter 05)
PRESENTATION COMPUTER NETWORKS
CSCD 433/533 Advanced Networks
COMP/ELEC 429/556 Introduction to Computer Networks
Advanced Computer Networks
Computer Science Division
“Promoting the Use of End-to-End Congestion Control in the Internet”
Congestion Control (from Chapter 05)
EE 122: Lecture 7 Ion Stoica September 18, 2001.
Advanced Computer Networks
Figure Areas in an autonomous system
Congestion Control (from Chapter 05)
COMP/ELEC 429/556 Fall 2017 Homework #2
CS4470 Computer Networking Protocols
Congestion Control Reasons:
TCP Congestion Control
TCP Overview.
Congestion Control (from Chapter 05)
Congestion Control (from Chapter 05)
Advanced Computer Networks
Transport Layer: Congestion Control
Chapter 3 outline 3.1 Transport-layer services
Congestion Control (from Chapter 05)
Congestion Control (from Chapter 05)
Congestion Control (from Chapter 05)
Congestion Control and Resource Allocation
Presentation transcript:

Advanced Computer Networks CS716 Advanced Computer Networks By Dr. Amir Qayyum 1

Lecture No. 34

Where we are now … Understand how to Today’s topic Build a network on one physical medium Connect networks together (with switches) Implement a reliable byte stream on Internet Implement a UDP/TCP connection/channel Address network heterogeneity Address global scale End-to-end issues and common protocols Today’s topic Congestion control

Congestion Control Outline Queuing Discipline Reacting to Congestion Avoiding Congestion

Air Travel Planning a vacation for your semester break ? Try a trip to scenic Northern Areas Its a mere 3 hops from VU-Islamabad Flight was overbooked Islamabad Airport Peshawer VU Sakardu

Congestion Control Reading: Peterson and Davie, Ch. 6 Basics: problem, terminology, approaches, metrics Solutions Router-based: queuing disciplines Host-based: TCP congestion control Congestion avoidance DECbit RED gateways Quality of service

Congestion Control Basics Problem Demand for network resources can grow beyond the resources available Want to provide “fair” amount to each user Examples Bandwidth between Islamabad and Peshawer Bandwidth in a network link Buffers in a queue

Range of Solutions Congestion control: cure congestion when it happens Congestion avoidance: stay away from congestion Resource allocation: prevent congestion from occurring

Model of Network Packet-switched internetwork (or network) Connectionless flows (logical channels/connections) between hosts

State Maintained in Routers Hard state: state used to support routing Soft state: Information about flows Helps control congestion Not necessary for correct routing

Congestion Control Basics Router role Controls forwarding and dropping policies Can send feedback to source Host role Monitors network conditions Adjusts accordingly Routing vs congestion Effective adaptive routing schemes can sometimes help congestion But not always

Finite Buffering Capacity per Output Customer Service Standard check-in lines x a angry mob eagerly awaiting opportunity to address underpaid customer service representative 1x6 Switch you are turned away at door

Congestion Control Taxonomy

Congestion Control Taxonomy Why is explicit per-flow congestion feedback from routers rarely used in practice? Too many sources to track Millions of flows may fan in to one router Can’t send feedback to all of them Adds complexity to router Need to track more state Certainly can’t track state for all sources

Congestion Control Taxonomy Wastes bandwidth: network already congested, not the time to generate more traffic Can’t force the sources (hosts) to use feedback Sol: use stochastic methods to select fairly between flows, or classify flows into categories at edge routers

Why Consider Rate Control ? Buffer space (window size) is an intrinsic physical quantity Can provide rate control with window control Only need estimate of RTT Answer: Want rate control when granularity of averaging must be smaller than RTT

Criticism of Resource Allocation Example: you have 10 Gbps total bandwidth Case 1: reserve whatever you want Users’ line of thought: On average, I don’t need much bandwidth, but when my personal web crawler goes to work, I need at least 100 Mbps, so I’ll reserve that much. Result: 100 users consume all bandwidth, all others get 0 Case 2: fair/equitable reservations 35,000 students + 5,000 faculty and staff Each user gets 250 kbps, almost 5x a modem! (watch that crawler crawl...)

Back to Air Travel Analogy Daily Islamabad to Peshawer flight, ~200 seats Case 1: reserve whatever you want 200 of us get seats. I’m Gold...are you ? Case 2: fair/equitable reservations 2,000 possible customers 0.099 seats per customer per flight Disclaimer: the passenger assumes all risks and damages related to unsuccessful reassembly in Peshawer !!!

Congestion Control Metrics How do we evaluate solutions ? Effectiveness (shown as power in the figure below) fairness

Congestion Control Metrics: What’s Fair ? Give flow A 1/3 of the link bandwidth ? Globally “fair” A uses 2 links at 1/3 bandwidth B and C use 1 link at 2/3 bandwidth Give flow A 1/2 of the link bandwidth ? Locally “fair” (fair on each link) Also globally “fair”: maximizes minimum flow

Power Measure for a Sliding Window Bottleneck link with capacity C Round-trip time RTT