Advanced Computer Networks

Slides:



Advertisements
Similar presentations
Computer Networking Lecture 20 – Queue Management and QoS.
Advertisements

1 CNPA B Nasser S. Abouzakhar Queuing Disciplines Week 8 – Lecture 2 16 th November, 2009.
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.
ECE 4450:427/527 - Computer Networks Spring 2015
CS 268: Lecture 8 Router Support for Congestion Control Ion Stoica Computer Science Division Department of Electrical Engineering and Computer Sciences.
CS 408 Computer Networks Congestion Control (from Chapter 05)
CS 4700 / CS 5700 Network Fundamentals Lecture 12: Router-Aided Congestion Control (Drop it like it’s hot) Revised 3/18/13.
1 Controlling High Bandwidth Aggregates in the Network.
Analysis and Simulation of a Fair Queuing Algorithm
Congestion Control and Resource Allocation
CS 268: Lecture 8 (Router Support for Congestion Control) Ion Stoica February 19, 2002.
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.
Lecture 4#-1 Scheduling: Buffer Management. Lecture 4#-2 The setting.
7/15/2015HY220: Ιάκωβος Μαυροειδής1 HY220 Schedulers.
CS640: Introduction to Computer Networks Aditya Akella Lecture 20 - Queuing and Basics of QoS.
Top-Down Network Design Chapter Thirteen Optimizing Your Network Design Oppenheimer.
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
Queueing and Active Queue Management Aditya Akella 02/26/2007.
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.
Nick McKeown Spring 2012 Lecture 2,3 Output Queueing EE384x Packet Switch Architectures.
T. S. Eugene Ngeugeneng at cs.rice.edu Rice University1 COMP/ELEC 429 Introduction to Computer Networks Lecture 18: Quality of Service Slides used with.
1 Fair Queuing Hamed Khanmirza Principles of Network University of Tehran.
Spring Computer Networks1 Congestion Control Sections 6.1 – 6.4 Outline Preliminaries Queuing Discipline Reacting to Congestion Avoiding Congestion.
Providing QoS in IP Networks
Univ. of TehranIntroduction to Computer Network1 An Introduction Computer Networks An Introduction to Computer Networks University of Tehran Dept. of EE.
Chapter 10 Congestion Control in Data Networks and Internets 1 Chapter 10 Congestion Control in Data Networks and Internets.
Congestion Control in Data Networks and Internets
Advanced Computer Networks
QoS & Queuing Theory CS352.
Topics discussed in this section:
Top-Down Network Design Chapter Thirteen Optimizing Your Network Design Copyright 2010 Cisco Press & Priscilla Oppenheimer.
Congestion Control Outline Queuing Discipline Reacting to Congestion
Buffer Management in a Switch
Queue Management Jennifer Rexford COS 461: Computer Networks
Congestion Control Outline Queuing Discipline Reacting to Congestion
Chapter 6 Queuing Disciplines
Congestion Control and Resource Allocation
EE 122: Router Support for Congestion Control: RED and Fair Queueing
TCP, XCP and Fair Queueing
Computer Network Performance Measures
Queuing and Queue Management
Variations of Weighted Fair Queueing
ECE 4450:427/527 - Computer Networks Spring 2017
Computer Network Performance Measures
Advanced Computer Networks
The University of Adelaide, School of Computer Science
Congestion Control (from Chapter 05)
CSCD 433/533 Advanced Networks
Computer Science Division
Congestion Control (from Chapter 05)
Variations of Weighted Fair Queueing
Network Simulation NET441
COMP/ELEC 429 Introduction to Computer Networks
Congestion Control (from Chapter 05)
COMP/ELEC 429/556 Fall 2017 Homework #2
Congestion Control Reasons:
TCP Congestion Control
Congestion Control (from Chapter 05)
Congestion Control (from Chapter 05)
Advanced Computer Networks
Congestion Control (from Chapter 05)
Congestion Control (from Chapter 05)
Congestion Control (from Chapter 05)
Congestion Control and Resource Allocation
EECS 122: Introduction to Computer Networks Packet Scheduling and QoS
A Simple QoS Packet Scheduler for Network Routers
Presentation transcript:

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

Lecture No. 35

Router-Based Congestion Control Solution 3

Congestion Control Basics: problem, terminology, approaches, metrics Solutions Router-based: queuing disciplines Host-based: TCP congestion control Congestion avoidance DECbit RED gateways Quality of service

Router Solutions: Queuing Disciplines Router defines policies on each outgoing link Allocates buffer space: Which packets are discarded? Allocates bandwidth: Which packets are transmitted? Affects packet latency: When are packets transmitted?

More Fairness Choices First In, First Out (FIFO) Fairness for latency Minimizes per-packet delay Bandwidth not considered (not good for congestion) Fair queuing Fairness for bandwidth Provides equal bandwidths (possibly weighted) Delay not considered

Fair Queuing Logical round-robin on bits Idea Equal-length packets: round-robin on packets Variable-length packets ? Idea Let Si denote accumulated service for flow i Serve the flow with lowest accumulated service On serving a packet of length P from flow i, update Si = Si + P

Fair Queuing Example A B C SA SB SC 10 10 20 10 20 15 20 15 20 35 35 10 10 20 10 20 15 20 15 20 35 35 20 35 30 20 15

Fair Queuing Example Compare Si or Si + P ? A B C SA SB SC 10 10 15 20 10 10 15 20 15 20 15 20 30 15 35 30 15 35 30 20 15 Another detail: update counter at start or end of transmission ?

Why is the suggested approach not quite adequate? Fair Queuing Why is the suggested approach not quite adequate? Flows can “save up” credit No transmission for long time (call it T) Burst uses all bandwidth for up to time T x flow’s share of link

Fair Queuing How might we fix this problem? Don’t allow inactive flows to retain service rates below that of any active flow i.e. after updating some flow’s Si For each flow j with no packets in its queue Set Sj to the minimum Sk for all active flows k (or 0 if no flows are active)

Fair Queuing Example A B C SA SB SC 10 10 20 15 20 20 35 30 35 10 10 10 10 20 15 20 20 35 30 35 20 15

Weighted Fair Queuing Extend fair queuing Notion of importance for each flow Implement as weight Wi for flow i Update accumulated service with P/Wi

Weighted Fair Queuing Example 15 10 10 B (2) 20 10 10 10 15 20 10 10 10 20 C (1) 20 15 SA SB SC 10 10 10 15 20 10 15 20 15 20 15 20 35

Weighted Fair Queuing What makes up a flow for fair queuing in the Internet ? Too many resources to have separate queues/variables for host-to-host flows Scale down number of flows Typically just based on inputs e.g. share outgoing STS-12 between incoming ISP’s

Fair Queuing in the Internet 10 10 10 A B 10 10 10 10 10 10 10 10 10 STS-12 C SA SB SC SD 10 10 10 20 10 20 10 20 10 10 10 D Service-Level Agreements (SLAs) for STS-3 (155Mbps) STS-4