QoS Services with Dynamic Packet State

Similar documents
Core-Stateless Fair Queueing: Achieving Approximately Fair Bandwidth Allocations in High Speed Networks. Congestion Control in Today s Internet

EE 122: Differentiated Services

Problems with IntServ. EECS 122: Introduction to Computer Networks Differentiated Services (DiffServ) DiffServ (cont d)

Quality of Service (QoS)

Announcements. Quality of Service (QoS) Goals of Today s Lecture. Scheduling. Link Scheduling: FIFO. Link Scheduling: Strict Priority

Lecture 24: Scheduling and QoS

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

Multicast and Quality of Service. Internet Technologies and Applications

Internet Quality of Service: an Overview

Quality of Service (QoS)

Quality of Service (QoS)

Announcements. Quality of Service (QoS) Goals of Today s Lecture. Scheduling. Link Scheduling: Strict Priority. Link Scheduling: FIFO

Internet Services & Protocols. Quality of Service Architecture

Better-than-best-effort: QoS, IntServ, DiffServ, RSVP, RTP

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

Quality of Service In Data Networks

Quality of Service in the Internet

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

Quality of Service in the Internet

Mohammad Hossein Manshaei 1393

CSE 123b Communications Software

Computer Network Fundamentals Fall Week 12 QoS Andreas Terzis

Page 1. Quality of Service. CS 268: Lecture 13. QoS: DiffServ and IntServ. Three Relevant Factors. Providing Better Service.

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

Better-than-best-effort: QoS, IntServ, DiffServ, RSVP, RTP: BRIEF VERSION

Quality of Service II

CSE 461 Quality of Service. David Wetherall

Quality of Service In Data Networks: Problems, Solutions, and Issues

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

"Charting the Course... Implementing Cisco Quality of Service (QOS) Course Summary

Lecture 14: Performance Architecture

Self-Verifying CSFQ. Ion Stoica, Hui Zhang, Scott Shenker

Congestion Control In the Network

Call Admission Control in IP networks with QoS support

H3C S9500 QoS Technology White Paper

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

Congestion Control and Resource Allocation

Stateless Core: A Scalable Approach for Quality of Service in the Internet

Real-Time Protocol (RTP)

Part1: Lecture 4 QoS

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

IP QOS Theory and Practice. eng. Nikolay Milovanov CCIE SP# 20094

Implementing Cisco Quality of Service 2.5 (QOS)

Activity-Based Congestion Management for Fair Bandwidth Sharing in Trusted Packet Networks

Towards Service Differentiation on the Internet

Quality of Service (QoS)

CS 268: Integrated Services

Master Course Computer Networks IN2097

Congestion Control and Resource Allocation

Master Course Computer Networks IN2097

Advanced Computer Networks

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

Lecture 13. Quality of Service II CM0256

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

QoS in IPv6. Madrid Global IPv6 Summit 2002 March Alberto López Toledo.

PERFORMANCE ANALYSIS OF AF IN CONSIDERING LINK UTILISATION BY SIMULATION WITH DROP-TAIL

A Better-Than-Best Effort Forwarding Service For UDP

Improving QOS in IP Networks. Principles for QOS Guarantees

QoS for Real Time Applications over Next Generation Data Networks

EECS 122: Introduction to Computer Networks Switch and Router Architectures. Today s Lecture

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

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

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

of-service Support on the Internet

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

Service-to-Service Mapping of Differentiated Services to the ABR Service of ATM in Edge/Core Networks

Router Architectures

Differentiated Services

Sections Describing Standard Software Features

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

Configuring priority marking 63 Priority marking overview 63 Configuring priority marking 63 Priority marking configuration example 64

Supporting Quality of Service for Internet Applications A thesis presented for the degree of Master of Science Research

ITBF WAN Quality of Service (QoS)

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

Implementing QoS in IP networks

Sections Describing Standard Software Features

Flow-Based Routing: Towards New QoS Models Dr. Riad Hartani Caspian Networks

IP Differentiated Services

Promoting the Use of End-to-End Congestion Control in the Internet

Adaptive-Weighted Packet Scheduling for Premium Service

Implementation of Differentiated Services over ATM

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

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

Hands-On IP Multicasting for Multimedia Distribution Networks

PERFORMANCE ANALYSIS OF AF IN CONSIDERING LINK

Internet QoS : A Big Picture

Multi Protocol Label Switching (an introduction) Karst Koymans. Thursday, March 12, 2015

Packet Scheduling and QoS

Core-Stateless Proportional Fair Queuing for AF Traffic

The Network Layer and Routers

CAS CS 556. What to expect? Background? Abraham Matta. Advanced Computer Networks. Increase understanding of fundamentals and design tradeoffs

COMP/ELEC 429/556 Introduction to Computer Networks

Supporting Service Differentiation for Real-Time and Best-Effort Traffic in Stateless Wireless Ad-Hoc Networks (SWAN)

Information and Communication Networks. Communication

Differentiated Services

Peer to Peer Infrastructure : QoS enabled traffic prioritization. Mary Barnes Bill McCormick

ETSF10 Internet Protocols Transport Layer Protocols

Models and Algorithms for Hierarchical Resource Management in Integrated Services Networks. Other Contributors

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

UNIVERSITY OF CYPRUS

Transcription:

QoS Services with Dynamic Packet State Ion Stoica Carnegie Mellon University (joint work with Hui Zhang and Scott Shenker)

Today s Internet Service: best-effort datagram delivery Architecture: stateless routers excepting routing state, routers do not maintain any fine grained state about traffic Properties scalable robust

Trends Deploy more sophisticated services, e.g., traffic management, Quality of Service (QoS) Two types of solutions: Stateless: preserve original Internet advantages RED support for congestion control Differentiated services (Diffserv) provide QoS Stateful: routers perform per flow management Fair Queueing - support for congestion control Integrated services (Intserv) provide QoS

Stateful Solutions: Router Complexity Data path Per-flow classification Per-flow buffer management Per-flow scheduling Control path install and maintain per-flow state for data and control planes Classifier Per-flow State flow 1 flow 2 flow n Buffer management Scheduler output interface

Stateless vs. Stateful Stateless solutions are more scalable robust Stateful solutions provide more powerful and flexible services Fair Queueing vs. RED Intserv vs. Diffserv

Question Can we achieve the best of two worlds, i.e., provide services implemented by stateful networks while maintaining advantages of stateless architectures?

Answer Yes, at least in some interesting cases: Per-flow guaranteed services [SIGCOMM 99] Fair Queueing approximation [SIGCOMM 98] large spatial service granularity [NOSSDAV 98]

Scalable Core (SCORE) A contiguous and trusted region of network in which edge nodes perform per flow management core nodes do not perform any per flow management

The Approach Define a reference stateful network that implements the desired service 2. Emulate the functionality of the reference network in a SCORE network Reference Stateful Network SCORE Network

The Idea Instead of having core routers maintaining per-flow state have packets carry per-flow state Reference Stateful Network SCORE Network

The Technique: Dynamic Packet State (DPS) Ingress node: compute and insert flow state in packet s header

The Technique: Dynamic Packet State (DPS) Ingress node: compute and insert flow state in packet s header

The Technique: Dynamic Packet State (DPS) Core node: process packet based on state it carries and node s state update both packet and node s state

The Technique: Dynamic Packet State (DPS) Egress node: remove state from packet s header

Examples Support for congestion control Per flow guaranteed services

Core-Stateless Fair Queueing (CSFQ) Approximate functionality of a network in which every node performs Fair Queueing (FQ) FQ FQ FQ FQ CSFQ CSFQ CSFQ FQ FQ FQ CSFQ CSFQ CSFQ Reference Stateful Network SCORE Network

Algorithm Outline Ingress nodes: estimate rate r for each flow and insert it in the packets headers

Algorithm Outline Ingress nodes: estimate rate r for each flow and insert it in the packets headers

Algorithm Outline Core node: Compute fair rate f on the output link Enqueue packet with probability P = min(1, f / r) Update packet label to r = min(r, f)

Algorithm Outline Egress node: remove state from packet s header

Example: CSFQ Core Core Assume estimated fair rate f = 4 flow 1, r = 8 => P = min(1, 4/8) = 0.5 expected rate of forwarded traffic 8*P = 4 flow 2, r = 6 => P = min(1, 4/6) = 0.67 expected rate of forwarded traffic 6*P = 4 flow 3, r = 2 => P = min(1, 4/2) = 1 expected rate of forwarded traffic 2 8 6 2 10 8 6 2 8 8 8 8 8 6 6 6 6 2 2 Core Node (10 Mbps) FIFO 4 4 4 4 4 4 2 2 4 4 2

Simulation Results 1 UDP (10 Mbps) and 31 TCPs sharing a 10 Mbps link fair rate 0.31 Mbps UDP (#1) - 10 Mbps TCP (#2). TCP (#32) Bottleneck link (10 Mbps) UDP (#1) TCP (#2). TCP (#32)

Throughput of TCP and UDP Flows with RED, FRED, FQ, CSFQ Throughput(Mbps Throughput(Mbps 10 9 8 7 6 5 4 3 2 1 0 2 1.8 1.6 1.4 1.2 1 0.8 0.6 0.4 0.2 0 RED 1 4 7 10 13 16 19 22 25 28 31 Flow Number FQ 1 4 7 10 13 16 19 22 25 28 31 Flow Number Throughput(Mbps Throughput(Mbps 2 1.8 1.6 1.4 1.2 1 0.8 0.6 0.4 0.2 0 2 1.8 1.6 1.4 1.2 1 0.8 0.6 0.4 0.2 0 FRED 1 4 7 10 13 16 19 22 25 28 31 Flow Number CSFQ 1 4 7 10 13 16 19 22 25 28 31 Flow Number

Complexity Results n number of (active) flows Accuracy FIFO/RED FRED FQ CSFQ State O(1) O(n) O(n) O(n) - edge O(1) - core Time O(1) O(1) O(log n) O(1) the extra service that a flow can receive in CSFQ as compared to FQ is bounded

Examples Support for congestion control Per flow guaranteed services

Guaranteed Services Intserv: provide per flow bandwidth and delay guarantees, and achieve high resource utilization support for fined grained and short-lived reservations not scalable Diffserv (Premium Service): Scalable (on data path) cannot provide low delay guarantees and high resource utilization simultaneously even at low utilization (e.g., 10%) in a medium network (e.g., 15 hops) the worst case queueing delay > 200ms centralized admission control (e.g., Bandwidth Broker) - not appropriate for short-lived reservations

Goal Unicast Intserv guaranteed service semantic Diffserv like scalability

Solution Data path: approximate Jitter-Virtual Clock (Jitter-VC) with Core-Jitter Virtual Clock (CJVC) Control path: approximate distributed admission control Jitter-VC Jitter-VC Jitter-VC Jitter-VC CJVC CJVC CJVC Jitter-VC Jitter-VC Jitter-VC CJVC CJVC CJVC Reference Stateful Network SCORE Network

Theoretical Results CJVC provides same end-to-end delay guarantees as Jitter-VC (and Weighted Fair Queueing) Admission control: provides semantic of a hard state protocol, but typically achieves only 80 % link utilization

Implementation Problem: Where to insert the state? Possible solutions: between link layer and network layer headers (e.g., MPLS) as an IP option find room in IP header Current implementation (FreeBSD 2.2.6): use 17 bits in IP header 4 bits in DS field (former TOS) 13 bits by reusing fragment offset

Status Working prototype in FreeBSD 2.2.6 that implements: Core-Stateless Fair Queueing Guaranteed services data path Core Jitter Virtual Clock control path distributed admission control

Conclusions Diffserv has serious limitations: no flow protection cannot provide guaranteed services and high resource utilization simultaneously no scalable admission control architecture (e.g. Bandwidth Broker) DPS compatible with Diffserv: can greatly enhances the functionality while requiring minimal changes Let s do it in Qbone!

More Information http://www.cs.cmu.edu/~istoica/dps