Congestion vs. Flow Control

Similar documents
Congestion Control Overview

1. The subnet must prevent additional packets from entering the congested region until those already present can be processed.

Announcements. Midterms. Mt #1 Tuesday March 6 Mt #2 Tuesday April 15 Final project design due April 11. Chapters 1 & 2 Chapter 5 (to 5.

Transport Layer Protocols

The Network Layer Functions: Congestion Control

QoS Parameters. Quality of Service in the Internet. Traffic Shaping: Congestion Control. Keeping the QoS

Routing in packet-switching networks

Distributed Systems 3. Network Quality of Service (QoS)

Motivation. QoS Guarantees. Internet service classes. Certain applications require minimum level of network performance:

Final for ECE374 05/06/13 Solution!!

Quality of Service in the Internet. QoS Parameters. Keeping the QoS. Traffic Shaping: Leaky Bucket Algorithm

Quality of Service versus Fairness. Inelastic Applications. QoS Analogy: Surface Mail. How to Provide QoS?

Lecture 16: Quality of Service. CSE 123: Computer Networks Stefan Savage

Multimedia Requirements. Multimedia and Networks. Quality of Service

The network we see so far. Internet Best Effort Service. Is best-effort good enough? An Audio Example. Network Support for Playback

Congestion Control Review Computer Networking. Resource Management Approaches. Traffic and Resource Management. What is congestion control?

Improving the Performance of TCP Using Window Adjustment Procedure and Bandwidth Estimation

Chapter 7 outline. 7.5 providing multiple classes of service 7.6 providing QoS guarantees RTP, RTCP, SIP. 7: Multimedia Networking 7-71

CS268 Exam Solutions. 1) End-to-End (20 pts)

Chapter 5: Sample Questions, Problems and Solutions Bölüm 5: Örnek Sorular, Problemler ve Çözümleri Örnek Sorular (Sample Questions):

How To Provide Qos Based Routing In The Internet

Mixer/Translator VOIP/SIP. Translator. Mixer

Sources: Chapter 6 from. Computer Networking: A Top-Down Approach Featuring the Internet, by Kurose and Ross

Network Management Quality of Service I

6.6 Scheduling and Policing Mechanisms

TCP over Multi-hop Wireless Networks * Overview of Transmission Control Protocol / Internet Protocol (TCP/IP) Internet Protocol (IP)

16/5-05 Datakommunikation - Jonny Pettersson, UmU 2. 16/5-05 Datakommunikation - Jonny Pettersson, UmU 4

Per-Flow Queuing Allot's Approach to Bandwidth Management

College 5, Routing, Internet. Host A. Host B. The Network Layer: functions

Internet Packets. Forwarding Datagrams

A Preferred Service Architecture for Payload Data Flows. Ray Gilstrap, Thom Stone, Ken Freeman

Chapter 6. The Network Layer

Network Layer: Network Layer and IP Protocol

Faculty of Engineering Computer Engineering Department Islamic University of Gaza Network Chapter# 19 INTERNETWORK OPERATION

Lecture 8 Performance Measurements and Metrics. Performance Metrics. Outline. Performance Metrics. Performance Metrics Performance Measurements

Using Fuzzy Logic Control to Provide Intelligent Traffic Management Service for High-Speed Networks ABSTRACT:

ΤΕΙ Κρήτης, Παράρτηµα Χανίων

Real-time apps and Quality of Service

Quality of Service. Translation of QoS Parameters. Quality of Service

QoS issues in Voice over IP

First Midterm for ECE374 03/09/12 Solution!!

Improving QOS in IP Networks. Principles for QOS Guarantees. Principles for QOS Guarantees (more) Principles for QOS Guarantees (more)

MULTIMEDIA NETWORKING

Three Key Design Considerations of IP Video Surveillance Systems

CSE 473 Introduction to Computer Networks. Exam 2 Solutions. Your name: 10/31/2013

Datagram-based network layer: forwarding; routing. Additional function of VCbased network layer: call setup.

Fiber Channel Over Ethernet (FCoE)

TCP in Wireless Mobile Networks

Introduction to LAN/WAN. Network Layer (part II)

Wide Area Networks. Learning Objectives. LAN and WAN. School of Business Eastern Illinois University. (Week 11, Thursday 3/22/2007)

Applications. Network Application Performance Analysis. Laboratory. Objective. Overview

Names & Addresses. Names & Addresses. Hop-by-Hop Packet Forwarding. Longest-Prefix-Match Forwarding. Longest-Prefix-Match Forwarding

[Prof. Rupesh G Vaishnav] Page 1

Voice over IP: RTP/RTCP The transport layer

Quality of Service (QoS)) in IP networks

Optimizing Converged Cisco Networks (ONT)

Quality of Service Analysis of site to site for IPSec VPNs for realtime multimedia traffic.

Lecture 15: Congestion Control. CSE 123: Computer Networks Stefan Savage

Requirements of Voice in an IP Internetwork

Quality of Service. Traditional Nonconverged Network. Traditional data traffic characteristics:

VOICE OVER IP AND NETWORK CONVERGENCE

Introduction to Quality of Service. Andrea Bianco Telecommunication Network Group

Advanced Networking Voice over IP: RTP/RTCP The transport layer

EINDHOVEN UNIVERSITY OF TECHNOLOGY Department of Mathematics and Computer Science

Multiple Choice Questions

CHAPTER 1 ATM TRAFFIC MANAGEMENT

Effects of Filler Traffic In IP Networks. Adam Feldman April 5, 2001 Master s Project

CS640: Introduction to Computer Networks. Why a New Service Model? Utility curve Elastic traffic. Aditya Akella. Lecture 20 QoS

Internet Quality of Service

Midterm Exam CMPSCI 453: Computer Networks Fall 2011 Prof. Jim Kurose

TCP in Wireless Networks

Scheduling for QoS Management

Network management and QoS provisioning - QoS in the Internet

TCP for Wireless Networks

Burst Testing. New mobility standards and cloud-computing network. This application note will describe how TCP creates bursty

Improving Quality of Service

Computer Networks Homework 1

An enhanced TCP mechanism Fast-TCP in IP networks with wireless links

Question: 3 When using Application Intelligence, Server Time may be defined as.

TCP and Wireless Networks Classical Approaches Optimizations TCP for 2.5G/3G Systems. Lehrstuhl für Informatik 4 Kommunikation und verteilte Systeme

GATE CS Topic wise Questions Computer Network

The Quality of Internet Service: AT&T s Global IP Network Performance Measurements

Introduction to LAN/WAN. Network Layer

Chapter 6 Congestion Control and Resource Allocation

Mobile Communications Chapter 9: Mobile Transport Layer

18: Enhanced Quality of Service

CS335 Sample Questions for Exam #2

IP - The Internet Protocol

Network Simulation Traffic, Paths and Impairment

Protocols. Packets. What's in an IP packet

Solving complex performance problems in TCP/IP and SNA environments.

Overview : Computer Networking. Components of Integrated Services. Service Interfaces RSVP. Differentiated services

QoS in IP networks. Computer Science Department University of Crete HY536 - Network Technology Lab II IETF Integrated Services (IntServ)

Performance measurements of STANAG 5066 and Applications Running over STANAG 5066

Asynchronous Transfer Mode: ATM. ATM architecture. ATM: network or link layer? ATM Adaptation Layer (AAL)

APPLICATION NOTE 209 QUALITY OF SERVICE: KEY CONCEPTS AND TESTING NEEDS. Quality of Service Drivers. Why Test Quality of Service?

BCS THE CHARTERED INSTITUTE FOR IT. BCS HIGHER EDUCATION QUALIFICATIONS BCS Level 5 Diploma in IT COMPUTER NETWORKS

Outline. TCP connection setup/data transfer Computer Networking. TCP Reliability. Congestion sources and collapse. Congestion control basics

Quality of Service in ATM Networks

VOIP QOS. Thomas Mangin. ITSPA - Autumn Seminar 11th October 2012 LEEDS. Technical Director IXLeeds AND THE IXP THE CORE THE EDGE

Transcription:

Congestion vs. Flow Control Flow control: End-to-end Congestion control Router to Router

Congestion control vs. Flow control: I 1 I 2 Queue OL I 3 Congestion - buffer length I 4 Drop packets Slow processor at the router even though line capacity is high Mismatch between different parts of the system

Congestion vs. Flow Control Router discards packets when it cannot serve Flow Control Sender retransmits until acknowledged Congestion builds up Pt Pt links between a given sender and a given receiver Fast sender does not overwhelm receiver Receiver can tell sender directly to slow down

Congestion Control General principle of congestion: Monitor system to detect when and where congestion occurs Pass this information to places where action can be taken Adjust system operation to correct the problem

Congestion vs. Flow Control Policing traffic at routers Token bucket / leaky bucket non trivial Alternative flow specifications: Agreed between sender and receiver pattern of injected traffic QoSdesired by Application

Congestion Control Algorithm: Packet delivered Maximum capacity of subnet sent Perfect Desirable Congested Packets sent - Routers loose packets - Buffering? - No use - Packet reaches front of Queue, duplicate generated

Traffic Shaping Traffic monitoring: Monitoring a traffic flow VC no problem Can be done for each VC separately since connection oriented DG - Transport layer

Congestion: Reasons Congestion causing policies: Transport Layer Retransmission Out of other caching policy Ack policy Flow control policy Time out Network Layer: VC versus datagram inside subnet Packet queuing and service policy Packet discard policy Routing algorithm policy Packet lifetime management policy

Congestion Control (contd.) Solution: Traffic prediction? Router informs neighbour of possible congestion Traffic shaping Regulate the packet rate VC - traffic characteristics Not too important for file transfer but important for audio and video

Congestion Control (contd.) Send probe packets periodically ask about congestion Road congestion use helicopters flying over cities Bang bang operation of router how does one prevent it Feed back and control required

Congestion Control Algorithms Leaky Bucket Algorithm Regulate output flow Packets lost if buffer is full Token Bucket Algorithm Buffer filled with tokens transmit ONLY if tokens available

Leaky bucket algorithm: Host comp Unregulated water Bucket hold packets Regulated flow Bucket full lost packets Output flow constant when water in bucket zero when no water Converts uneven flow to even flow Packets Queued Packets output at regular intervals only

Leaky Bucket Algorithm Queue full, packet discarded. What if packets are different size and fixed bytes/ unit time. Leaky bucket example Input burst 25 Mb/s every 40 ms Network speed 25 Mbps every second Capacity of bucket C 1 Mb Reduce average rate 2 Mbps bucket can hold upto 1 Mb without data loss, burst spread over 500 ms irrespective of how fast they come

25 Mbps 0 40 ms 500 ms 2 Mbps 25 X 40 = 1 Mb 1000 25-1000 40 X 25 1000? - 40 = 1 Mb every secs - spread it over 500 ms 500 ms

40 ms 25 Mbps 0 1 Mb of burst 500 ms spread 1 Mb over 500 ms output rate 2 Mbps Leaky bucket issues: * Drops packets * Does not allow host to save permission to transmit large burst later

Token bucket Algorithm Host Host - Host save packets upto maximum size of bucket, n - n packets send at once some burstiness - Host captures token - Never loose data - Tokens not available packets queue up! not discarded

- Computer Networks Δ

Token Bucket Algorithm Packet gets tokens and only then transmitted A variant packets sent only if enough token available - token - fixed byte size Token bucket holds up n tokens Host captures tokens Each token can hold some bytes Token generated every T seconds Allows bursts of packets to be sent - max n Responds fast to sudden bursts If bucket full thrown token packets not lost

Token Bucket Algorithm (example) Calculation of length of maximum rate burst: - Tokens arrive while burst output Example S burst length in S M Maximum output rate MS Maximum byte in lengths ρ Token arrival rate C Capacity of token bucket in byte

Token Bucket Algorithm (Example) Maximum output burst = C + S = C M ρ C = 250 Kb M = 25 Mbps ρ = 2 Mbps S = 11 ml ρ S = MS 25 Mbps for 11 ms 364 ms 2 Mbps 11 ms 2 Mbps

Example specifications Application to subnet IP character Max packet size (bytes) IP character Token bucket Rate (r bytes/s) Token bucket size (b bytes Max transmission rate Maximum rate possible Shortest time in which token bucket empties by Application Services desired Loss sensitivity (bytes) / unit time Loss interval time (bytes) Burst sensitivity Min delay noticed Max delay variation Quality of guarantee Does application mean it? How many packets in seq lost Maximum delay for a packets

Congestion Control in VCs Congestion control in VCs Admission control Allow VCs to avoid problem areas avoid routers that are known to congest. Negotiate agreement between host and subnet Volume of traffic

Congestion Control in VCs Flow specification: Response from subnet to application Issues Sometimes application may not know what it wants iitm imsc - fast iitm thajavan slow

Congestion Control in VCs Shape of traffic QoS required Subnet reserves resources along the entire path when VC is setup Issues: 3 Mbps link 4 VCseach requiring 0.75 Mbps Wastes bandwidth Unlikely that all VCs are simultaneously used

Congestion Control in VCs Monitor utilisation on output lines Associate a value for each line recent utilisation update u new = a u old + (1-a) f instantaneous line utilisation a memory parameter u>threshold implies output lines congests

Congestion Control (Other mechanisms) Fair Queuing: Multiple Queues for each output line, for each source Router scans queues in RR fashion Issues: More bandwidth to router with large packets Byte by byte round robin

Congestion Control Scan queue repeatedly until tick found at which packet done Reorder packets in terms of time completion Weighted fair queuing: Servers vs Clients Hop-by-hop choke packets

Hop-by-Hop Choke Packets Too many choke packets Congests link choke Eventually slow

Congestion Control Load shedding Discard packets question what to discard? ftp Keep old, discard new audio/ video keep new, discard old need more intelligence:(? ) Some packets are more important» Video full frame(don t discard)- difference frame (discard)» Sender prioritises packets!

Congestion Control Jitter Control Parameters: Packets ahead/ delayed Strategy flush packet furthest from it schedule first Multicast Routing Congestion? Single source multiple destination RSVP - Resource reservation Protocol

Multicast Routing: Congestion Standard multicast Spanning tree covering all group members For better reception Any receiver in a group can send message up spanning tree Use reverse path forwarding Reserve bandwidth at each hop

Flow Control Flow Control is specified end to end Sliding window protocol Fast sender vs. slow receiver Sender does not overwhelm receiver Advertisement of window size receiver tells sender DIRECTLY Process to process See More about flow control in TCP