Tutorial 9 : TCP and congestion control part I

Similar documents
Tutorial 8 : Congestion Control

Basics (cont.) Characteristics of data communication technologies OSI-Model

Improving QOS in IP Networks. Principles for QOS Guarantees

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

Multicast and Quality of Service. Internet Technologies and Applications

Queuing. Congestion Control and Resource Allocation. Resource Allocation Evaluation Criteria. Resource allocation Drop disciplines Queuing disciplines

Tutorial 2 : Networking

Congestion Control and Resource Allocation

Congestion Control and Resource Allocation

Advanced Lab in Computer Communications Meeting 6 QoS. Instructor: Tom Mahler

Quality of Service in the Internet

Quality of Service in the Internet

A common issue that affects the QoS of packetized audio is jitter. Voice data requires a constant packet interarrival rate at receivers to convert

Advanced Computer Networks

Mohammad Hossein Manshaei 1393

Quality of Service (QoS)

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

RSVP 1. Resource Control and Reservation

Resource Control and Reservation

DiffServ Architecture: Impact of scheduling on QoS

Real-Time Protocol (RTP)

ETSF10 Internet Protocols Transport Layer Protocols

Chapter 24 Congestion Control and Quality of Service Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

Lecture 14: Performance Architecture

Lecture 13. Quality of Service II CM0256

Overview. Lecture 22 Queue Management and Quality of Service (QoS) Queuing Disciplines. Typical Internet Queuing. FIFO + Drop tail Problems

Chapter 6: Congestion Control and Resource Allocation

Lecture Outline. Bag of Tricks

Lecture 24: Scheduling and QoS

CS557: Queue Management

Lecture 21. Reminders: Homework 6 due today, Programming Project 4 due on Thursday Questions? Current event: BGP router glitch on Nov.

Internet Quality of Service: an Overview

Quality of Service II

Internet Services & Protocols. Quality of Service Architecture

CS551 Router Queue Management

Principles. IP QoS DiffServ. Agenda. Principles. L74 - IP QoS Differentiated Services Model. L74 - IP QoS Differentiated Services Model

CCVP QOS Quick Reference Sheets

CS519: Computer Networks. Lecture 5, Part 5: Mar 31, 2004 Queuing and QoS

Kommunikationssysteme [KS]

Resource allocation in networks. Resource Allocation in Networks. Resource allocation

Overview Computer Networking What is QoS? Queuing discipline and scheduling. Traffic Enforcement. Integrated services

Quality of Service Monitoring and Delivery Part 01. ICT Technical Update Module

Prof. Dr. Abdulmotaleb El Saddik. site.uottawa.ca mcrlab.uottawa.ca. Quality of Media vs. Quality of Service

Presentation Outline. Evolution of QoS Architectures. Quality of Service Monitoring and Delivery Part 01. ICT Technical Update Module

DiffServ Architecture: Impact of scheduling on QoS

UNIT IV TRANSPORT LAYER

CSE 461 Quality of Service. David Wetherall

Quality of Service (QoS)

Master Course Computer Networks IN2097

Computer Network Fundamentals Fall Week 12 QoS Andreas Terzis

CS 349/449 Internet Protocols Final Exam Winter /15/2003. Name: Course:

Master Course Computer Networks IN2097

of-service Support on the Internet

CSCD 433/533 Advanced Networks Spring Lecture 22 Quality of Service

Network Control and Signalling

Chapter 23 Process-to-Process Delivery: UDP, TCP, and SCTP

Real-Time Applications. Delay-adaptive: applications that can adjust their playback point (delay or advance over time).

Quality of Service (QoS) Computer network and QoS ATM. QoS parameters. QoS ATM QoS implementations Integrated Services Differentiated Services

Quality of Service (QoS)

Network Support for Multimedia

Comparative Performance Analysis of RSVP and RMD

Multimedia Applications over Packet Networks

Congestion Management Overview

Congestion Management Overview

QoS Guarantees. Motivation. . link-level level scheduling. Certain applications require minimum level of network performance: Ch 6 in Ross/Kurose

Chapter 6 Queuing Disciplines. Networking CS 3470, Section 1

QOS IN PACKET NETWORKS

Part1: Lecture 4 QoS

Multimedia Networking

Priority Traffic CSCD 433/533. Advanced Networks Spring Lecture 21 Congestion Control and Queuing Strategies

CSCI Spring Final Exam Solution

Last time! Overview! 14/04/15. Part1: Lecture 4! QoS! Router architectures! How to improve TCP? SYN attacks SCTP. SIP and H.

Multimedia Networking and Quality of Service

H3C S9500 QoS Technology White Paper

Unit 2 Packet Switching Networks - II

Telematics 2. Chapter 3 Quality of Service in the Internet. (Acknowledgement: These slides have been compiled from Kurose & Ross, and other sources)

QUALITY of SERVICE. Introduction

Topic 4b: QoS Principles. Chapter 9 Multimedia Networking. Computer Networking: A Top Down Approach

Common network/protocol functions

Converged Networks. Objectives. References

Wide area networks: packet switching and congestion

Lesson 14: QoS in IP Networks: IntServ and DiffServ

Networking Issues in LAN Telephony. Brian Yang

Telecommunication Services Engineering Lab. Roch H. Glitho

Congestion Management Overview

ETSF05/ETSF10 Internet Protocols. Performance & QoS Congestion Control

QoS Configuration. Overview. Introduction to QoS. QoS Policy. Class. Traffic behavior

EECS 122: Introduction to Computer Networks Resource Management and QoS. Quality of Service (QoS)

Analysis of the interoperation of the Integrated Services and Differentiated Services Architectures

QoS MIB Implementation

RSVP and the Integrated Services Architecture for the Internet

Multiplexing. Common network/protocol functions. Multiplexing: Sharing resource(s) among users of the resource.

EPL606. Quality of Service and Traffic Classification

Computer Networking. Queue Management and Quality of Service (QOS)

Sharing Bandwidth Fairly During Congestion

TDDD82 Secure Mobile Systems Lecture 6: Quality of Service

Week 7: Traffic Models and QoS

Generic Architecture. EECS 122: Introduction to Computer Networks Switch and Router Architectures. Shared Memory (1 st Generation) Today s Lecture

Congestion Control & Resource Allocation. Issues in Resource Allocation Queuing Discipline TCP Congestion Control

Quality of Service (QoS)

Transcription:

Lund University ETSN01 Advanced Telecommunication Tutorial 9 : TCP and congestion control part I Author: Antonio Franco Course Teacher: Emma Fitzgerald January 27, 2015

Contents I Before you start 3 II Exercises 3 1 TCP and congestion control 3 1.1..................................... 3 1.2..................................... 3 1.3..................................... 3 III Solutions 4 2 TCP and congestion control 4 2.1..................................... 4 2.2..................................... 4 2.3..................................... 5

Part I Before you start This tutorial is given to prepare you to the exam. Since time is limited, it is highly advised that you first try to solve the exercises (Part II) at home, then have a look at the solutions (Part III), and, finally, ask questions during the exercises sessions. Part II Exercises 1 TCP and congestion control 1.1 Briefly explain the following terms: 1.2 1. Kleinrock s conservation law 2. Priority Queuin 3. Fair Queuing 4. Weighted Fair queuing The IETF has standardised two main architectures for QoS management in IP networks, IntServ and DiffServ. 1.3 1. Explain how the two differ, name their main advantage/drawback. 2. The RSVP signalling protocol can be used in both architectures, why is this protocol receiver based instead of sender based? 3. RSVP implements PATH and RESV messages. Why are they used and what do they achieve? 4. Why is RSVP implementing soft states on routers? What is the global synchronisation problem in TCP (Transport Control Protocol) congestion control and why does it occur? How does RED (Random Early Detection) avoid this problem while still controlling congestion? 3

In RED, what is the reason for the conversion from P a to P b? That is, why is the packet drop probability not simply linear as a function of the queue length? Part III Solutions 2 TCP and congestion control 2.1 Kleinrock s conservation law (sum of the utilisation x delay for each node is constant) simply states that for a work conserving system, id delay is lowered for a node (flow) then the delay for other nodes (flows) must increase. Priority Queuing is a simple system with n queues in order of priority where a queue of a higher priority that holds a packet is emptied before any queue of lower priority. The system provides traffic separation but no fairness and low priority queues can be starved. Fair Queueing is a system with one queue per flow served in a round robin fashion. FQ provides load balancing among flows (no point in being greedy) but flows with smaller packets are being penalised since they get to send lower number of bytes per round. Weighted Fair Queuing is a system that first achieves equal bit rate per flow (as in bit round fair queueing) but then also has the capability to achieve service differentiation among flows so that higher priority flows receive more expedited forwarding. WFQ achieves this by calculating a finishing time for each packet and then serving the packets from different flow in order of finishing time. 2.2 IntServ is a scheme that emulates the behaviour and function of the ATM system with virtual curcuits. In IntServ, each flow is classified and states are maintained for each flow in accordance with a flow specification at each router along a path. This achieves great granularity and predictability for the performance of each flow. DiffServ on the other hand classifies each flow as belonging to a small set of traffic classes where each class receives separate treatment along a path. In DiffServ, most of the heavy lifting is done at the edge which results in lower overheads for the core routers. INtserv provides great granularity but suffers from scalability problems whereas DiffServ scales well but only provides statistical guarantees. RSVP is receiver based in order to support varying reservation levels among flows in a multicast scenario, to enable differentiated cost levels to be controlled by the receivers etc. PATH messages are used to detect the forwarding path from sender to receiver so that the receiver can make reservations along the correct path. The RESV 4

messages are used to make reservation requests along the path discovered by the PATH messages. RSVP uses soft states because routing paths may change during a session. When this happens, routers must detect that a flow has terminated and thus remove reservations and free resources. 2.3 The global synchronisation problem occurs when there is congestion in the network. Many TCP connections will detect the congestion at once (by losing packets as queue buffers fill up) and will then simultaneously lower their transmission rates. This results in an under-utilisation of the network. The connections will then see eased congestion and increase their transmission rate again, resulting in congestion again. RED uses probabilistic packet dropping before the queue becomes full. This means that only some TCP connections will lose packets and thus enter backoff. Since some connections back off, congestion will be eased, but global synchronisation is avoided as not all connections are affected at the same time. The packet drop probability increases as the queue length increases, so that congestion can be controlled effectively at different offered loads. The conversion causes the packet drop probability to begin low and then increase as the count of packets arriving since the last packet drop increases. This results in a uniform distribution of the number of packets allowed to join the queue between discards. This is done to prevent unfairly penalising bursty traffic. 5