Network Calculus: theory. Giovanni Stea. Computer Networking Group Department of Information Engineering University of Pisa, Italy.



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

Worst Case Analysis - Network Calculus

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

CS/ECE 438: Communication Networks. Internet QoS. Syed Faisal Hasan, PhD (Research Scholar Information Trust Institute) Visiting Lecturer ECE

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

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

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

QoS scheduling. Scheduling algorithms

Real-time apps and Quality of Service

Internet Quality of Service

6.6 Scheduling and Policing Mechanisms

MULTIMEDIA NETWORKING

Investigation and Comparison of MPLS QoS Solution and Differentiated Services QoS Solutions

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

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

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

Mixer/Translator VOIP/SIP. Translator. Mixer

Quality of Service in IP Networks

How To Provide Qos Based Routing In The Internet

Multimedia Requirements. Multimedia and Networks. Quality of Service

Analysis of IP Network for different Quality of Service

Protocols with QoS Support

A Review on Quality of Service Architectures for Internet Network Service Provider (INSP)

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

5 Performance Management for Web Services. Rolf Stadler School of Electrical Engineering KTH Royal Institute of Technology.

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

4 Internet QoS Management

PFS scheme for forcing better service in best effort IP network

A Policy-Based Admission Control Scheme for Voice over IP Networks

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

Quality of Service (QoS) EECS 122: Introduction to Computer Networks Resource Management and QoS. What s the Problem?

A Power Efficient QoS Provisioning Architecture for Wireless Ad Hoc Networks

Research on Video Traffic Control Technology Based on SDN. Ziyan Lin

Optimizing Converged Cisco Networks (ONT)

CS 268: Lecture 13. QoS: DiffServ and IntServ

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

18: Enhanced Quality of Service

Scheduling for QoS Management

QoS : Computer Networking. Motivation. Overview. L-7 QoS. Internet currently provides one single class of best-effort service

An Efficient Primary-Segmented Backup Scheme for Dependable Real-Time Communication in Multihop Networks

ESTIMATION OF TOKEN BUCKET PARAMETERS FOR VIDEOCONFERENCING SYSTEMS IN CORPORATE NETWORKS

Management of Telecommunication Networks. Prof. Dr. Aleksandar Tsenov

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

Integrated Service (IntServ) versus Differentiated Service (Diffserv)

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.

Performance Evaluation of the Impact of QoS Mechanisms in an IPv6 Network for IPv6-Capable Real-Time Applications

Standards-Based NPU/Switch Fabric Devices for Next-Generation Multi-Service Platforms

Performance Evaluation of AODV, OLSR Routing Protocol in VOIP Over Ad Hoc

Dynamic Network Resources Allocation in Grids through a Grid Network Resource Broker

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

QUALITY OF SERVICE INTRODUCTION TO QUALITY OF SERVICE CONCEPTS AND PROTOCOLS

Performance of networks containing both MaxNet and SumNet links

Distributed Systems 3. Network Quality of Service (QoS)

Quality of Service (QoS)) in IP networks

Providing Deterministic Quality-of-Service Guarantees on WDM Optical Networks

Comparative Analysis of Congestion Control Algorithms Using ns-2

Note! The problem set consists of two parts: Part I: The problem specifications pages Part II: The answer pages

Highlighting a Direction

Comparison of different classes of service curves in Network Calculus

Router Scheduling Configuration Based on the Maximization of Benefit and Carried Best Effort Traffic

Factors to Consider When Designing a Network

VoIP versus VoMPLS Performance Evaluation

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

Quality of Service on the Internet: Evaluation of the IntServ Architecture on the Linux Operative System 1

Provision of deterministic services for voice over IP using priority queues

Performance Evaluation of Voice Traffic over MPLS Network with TE and QoS Implementation

6.5 Quality of Service

A Scalable Monitoring Approach Based on Aggregation and Refinement

Requirements of Voice in an IP Internetwork

EXPERIMENTAL STUDY FOR QUALITY OF SERVICE IN VOICE OVER IP

Fractal Networking Advantages and Disadvantages

Path Selection Analysis in MPLS Network Based on QoS

02-QOS-ADVANCED-DIFFSRV

Modeling and Simulation of Queuing Scheduling Disciplines on Packet Delivery for Next Generation Internet Streaming Applications

Quality of Service for VoIP

Real-Time Communication in IEEE Wireless Mesh Networks: A Prospective Study

DOCSIS 1.1 Cable Modem Termination Systems

H.323 Traffic Characterization Test Plan Draft Paul Schopis,

WhitePaper: XipLink Real-Time Optimizations

IP-Telephony Quality of Service (QoS)

COMPARATIVE ANALYSIS OF DIFFERENT QUEUING MECHANISMS IN HETROGENEOUS NETWORKS

This lecture discusses the main principles underlying Internet QoS. We don t focus

NOVEL PRIORITISED EGPRS MEDIUM ACCESS REGIME FOR REDUCED FILE TRANSFER DELAY DURING CONGESTED PERIODS

A Prototype Implementation of the Two-Tier Architecture for Differentiated Services

Cisco CCNP Optimizing Converged Cisco Networks (ONT)

Multiprotocol Label Switching (MPLS)

Applying Active Queue Management to Link Layer Buffers for Real-time Traffic over Third Generation Wireless Networks

The Power of SA as a SLM Tool

Overview. QoS, Traffic Engineering and Control- Plane Signaling in the Internet. Telematics group University of Göttingen, Germany. Dr.

Figure 1: Network Topology

Lecture 8: Routing I Distance-vector Algorithms. CSE 123: Computer Networks Stefan Savage

Telecommunication Services Engineering (TSE) Lab. Chapter III 4G Long Term Evolution (LTE) and Evolved Packet Core (EPC)

Improving Quality of Service

An Adaptive Load Balancing to Provide Quality of Service

EQ-BGP: an efficient inter-domain QoS routing protocol

How To Provide Quality Of Service In Multiiservice Ip Networks

AN EFFICIENT DISTRIBUTED CONTROL LAW FOR LOAD BALANCING IN CONTENT DELIVERY NETWORKS

Performance Evaluation of The Split Transmission in Multihop Wireless Networks

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

Real-Time Systems Hermann Härtig Real-Time Communication (following Kopetz, Liu, Schönberg, Löser)

Transcription:

Network Calculus: A worst-case theory for QoS guarantees in packet networks Giovanni Stea Computer Networking Group Department of Information Engineering University of Pisa, Italy IMT Lucca, Oct 28, 2009 Outline Motivation Performance analysis of real-time traffic Why classical queueing theory is unfit Network Calculus Basic modeling: arrival and service curves Concatenation, bounds Pay burst only once principle / IntServ Advanced modeling: aggregate scheduling Stochastic Network Calculus IMT Lucca, October 28, 2009 2

Real-time traffic Expected to represent the bulk of the traffic in the Internet soon Skype users: 10 7-10 8 Cisco white paper: video traffic volume to surpass P2P in 2010 Revenue-generating only if reliable Reliability boils down to packets meeting deadlines End-to-end delay bounds are required IMT Lucca, October 28, 2009 3 Performance analysis Tagged flow (of packets) traversing a path Cross traffic Many queueing points (routers) How to compute a bound on the e2e delay? IMT Lucca, October 28, 2009 4

Performance analysis (2) Service Level Agreement with upstream neighbor I will carry up to X Mbps of your traffic from A to B within up to Y ms (!!) for Z$ A B IMT Lucca, October 28, 2009 5 Network Calculus and Queueing Theory 100 years of Queueing Theory 1909. A. K. Erlang The Theory of Probabilities and Telephone Conversations. Originated in the area of telecommunications Developed and applied in a variety of areas Erlang Centennial held in Denmark, April 2009. ~20 years of Network Calculus 1991. R. L. Cruz, A Calculus for Network Delay. Recent development of queueing theory for computer networks IMT Lucca, October 28, 2009 6

NC and Queueing Theory (2) Queueing theory requires models for traffic Simplistic models required for tractability What if the traffic mix changes? New applications (social networks, etc.) Flash crowds (e.g., a football match) Topology modifications (routing, link upgrades) Queueing theory mainly concerned with average performance metrics Real-time traffic needs bounds IMT Lucca, October 28, 2009 7 Modeling a network with NC (1) Fixed delays: propagation, Per-flow scheduling Variable delay: queueing Aggregate scheduling IMT Lucca, October 28, 2009 8

Modeling a queueing point with NC A scheduler serves its queues on a time sharing basis: Round robin Strict priority Most guarantee that a queue is visited: For a minimum amount of time After a computable maximum vacation IMT Lucca, October 28, 2009 9 Modeling a queueing point with NC (2) Minimum service over a maximum interval A minimum guaranteed rate With a latency (when the server is away) The latency is upper bounded Round robin schedulers (DRR, PDRR, ) Fair Queueing schedulers (PGPS, WFQ, WF2Q, STFQ, SCFQ, ) Strict priority (for the queue at highest prio) IMT Lucca, October 28, 2009 10

Example: a Round Robin scheduler Fixed length packets, 2 packets per queue service Slope C latency Slope R<C IMT Lucca, October 28, 2009 11 Example: a priority scheduler Strict non preemptive priority, queue scheduled at top priority service latency F2 P1 TF P1 TF P2 TF P3 TF P4 TF P5 Slope C TF P6 TF P7 t t Service curve: summarizes the service received in a worst case by a backlogged tagged flow Models the presence of other queues Rate-latency service curves most common in practice IMT Lucca, October 28, 2009 12

Modeling a queueing point with NC (3) Worst-case behavior for my queue: served at minimum rate with maximum latency IMT Lucca, October 28, 2009 13 Modeling a queueing point with NC (4) Nodes transform functions of time bits A( t 0 ) D( t 0 ) TF P4 TF P3 TF P2 TF P1 Server with latency capacity R<C A( t ) D ( t) β ( t) A( t ) D( t) inf 0 s t D( t) A β ( t) A β = 0 ( t) ( ) + β ( ) { A s t s } ( ) β ( ) t A s t s ds t time 0 IMT Lucca, October 28, 2009 14

Concatenation property Assume a flow traverses a tandem of nodes 1 2 A( t ) D( t) β 1,2 β 1 2 ( t) = β ( t) ( ) β ( ) D t A t 1,2 It works for any # of nodes IMT Lucca, October 28, 2009 15 Concatenation property (2) At each of the N nodes: Cross traffic could be anything Schedulers need not be the same mid 90s: analyzing a tandem of identical schedulers Took a whole PhD 1 2 Was enough for a top-level journal paper (Parekh 93, Saha 98,, all on IEEE/ACM TNet) IMT Lucca, October 28, 2009 16

An end-to to-end delay bound (1) A bound on the delay for a given arrival process can easily be computed bits A( t) Dmax A β e2e ( t) A( t ) D( t) 2 ( ) β e e t time IMT Lucca, October 28, 2009 17 An end-to to-end delay bound (2) Traffic shaping/policing Check conformance with a pre-specified profile Drop/delay out-of-profile traffic Employed to verify SLA conformance A B packets shaper network IMT Lucca, October 28, 2009 18

An end-to to-end delay bound (3) Arrival curve: a constraint on the arrival process bits α ( t) A( t) B r ( ) ( ) α ( ) A t A s t s A( t) A α ( t) example: a token bucket burst B, rate r time IMT Lucca, October 28, 2009 19 Backlog and delay bounds in NC service curve for a path + arrival curve for a flow bits α ( t) D B D is a bound on the e2e delay B is a bound on the backlog time Bounds are tight IMT Lucca, October 28, 2009 20

bits Convolution of rate-latency curves β ( t) = R ( t L ) i i i L1 L2 R1 R2 + ( t) = ( t) = β ( s) + β ( t s) β β β bits 1,2 1 2 inf 0 s t { 1 2 } L1+L2 Sum of the latencies, min of the rates min(r1,r2) IMT Lucca, October 28, 2009 21 Pay bursts only once principle When traversing a tandem, your DB consists of B N latencies One burst delay bits α ( t) N i= 1 L i B { R } min i 1 i N N B N B D = L + < Li { R } + Ri i= 1 i min i= 1 i 1 i N Pay burst only once (at the min rate) D(1 N) < D(1)+ +D(N) IMT Lucca, October 28, 2009 22

IntServ architecture (1) RSVP protocol FlowSpec: burst and rate of the flow i.e., its token bucket arrival curve Path message Includes FlowSpec and required delay bound Collects node latencies at each hop PATH PATH PATH L1 L1+L2 L1+ +LN IMT Lucca, October 28, 2009 23 IntServ architecture (2) B At the destination compute what rate you need to reserve Based on your required delay D bits r α ( t) N i = 1 L i D B R B R = max, r N D L i= 1 i IMT Lucca, October 28, 2009 24

IntServ architecture (3) RESV message travels back and reserves a rate R at each node The delay bound is guaranteed from now on RESV R IMT Lucca, October 28, 2009 25 Traffic aggregation Aggregation as "the" solution for scalable provisioning of QoS in core networks Internet: Differentiated Services MPLS Per-flow resource management (e.g., packet scheduling) just doesn t scale IMT Lucca, October 28, 2009 26

Per-aggregate scheduling Packets of an aggregate normally queued FIFO Arbitration (scheduling) among aggregates Forwarding guarantees for the aggregate IMT Lucca, October 28, 2009 27 NC with aggregate scheduling Computations get more involved FIFO queues Multi-queue scheduler IMT Lucca, October 28, 2009 28

Traffic aggregation (cont.) bits Aggregates change along a path Per-node guarantees for different sets of flows at each node Cannot use concatenation of SCs A( t)? IMT Lucca, October 28, 2009 29 Performance evaluation problem Users care about their flows, not aggregates Users want e2e delay bounds, not per-node forwarding guarantees How to compute per-flow end-to-end delay bounds from per-aggregate per-node guarantees? IMT Lucca, October 28, 2009 30

Performance Analysis Tandem network of FIFO rate-latency elements All nodes have a rate-latency SC for the aggregate All flows have a leaky-bucket AC Tagged flow ( 1,3) Cross flows ( 1,1 ) ( 2,2) ( 2,3) ( 3,3) 1 2 3 IMT Lucca, October 28, 2009 31 Leftover service curves Th. FIFO Mux - Minimum Service Curves [Cruz et al., 98] + ( t τ ) β ( t ) α ( t τ ) { > τ} β ', = 2 1, τ 0 t? β ( t) ( t τ ) β ', ( t τ ) β ', 0 1 IMT Lucca, October 28, 2009 32

The LUDB methodology LUDB: Least Upper Delay Bound Step 1: Apply the FIFO Mux theorem iteratively so as to remove all cross-flows Ref: L. Lenzini, E. Mingozzi, G. Stea, "A Methodology for Computing End-to-end Delay Bounds in FIFO-multiplexing Tandems" Elsevier Performance Evaluation, 65 (2008), pp. 922-943 IMT Lucca, October 28, 2009 33 The LUDB methodology (2) ( 1,3 ) ( 1,3) ( 1,3) ( 1,1 ) ( 2,2 2 ) ( 2,3 ) ( 3,3 ) 1 2 3 1' 2' 3' ( 2,3) 1' 2' 3' ( 2,3) ( 1,3) 1' ( ) ( 1,3 ) ( ) 1' 2' 3' ' 2' 3' ' α ( t) IMT Lucca, October 28, 2009 34

The LUDB methodology (3) An n-dimensional infinity of e2e SCs for the tagged flow n = # of cross-flows Delay bound = fn. of n parameters Step 2 Solve an optimization problem LUDB = τ 0 { D( τ τ )} min,..., i 1 n The minimum is the best, i.e. tightest, delay bound IMT Lucca, October 28, 2009 35 Nested vs. non-nested nested tandems Nested iff path(f1) path(f2) = path(f1) path(f2) Nested Non-nested ( 1,3) ( 1,3) ( 1,2 ) (disjoint) (nested) ( 2,3) ( 2,3) You can only compute an e2e SC for the tagged flow in a nested tandem ( 3,3) 1 2 3 ( 3,3) 1 2 3 IMT Lucca, October 28, 2009 36

Two important points The LUDB method: 1. Is scalable enough You can use it in paths of 30+ nodes 2. Yields accurate bounds Close to a flow s Worst-Case Delay (Sometimes) Ref: L. Bisti, L. Lenzini, E. Mingozzi, G. Stea, "Estimating the Worstcase Delay in FIFO Tandems Using Network Calculus", Proc. VALUETOOLS'08, Athens, Greece, October 21-23, 2008 IMT Lucca, October 28, 2009 37 Scalability Computation times for very nasty non-nested tandems Tludb (s) 10 4 1000 100 10 1 0,1 0,01 20% 50% 100% 0,001 10 15 20 25 30 N 30 nodes, 465 flows, 20 mins Ref: L. Bisti, L. Lenzini, E. Mingozzi, G. Stea, Computation and Tightness Assessment of End-to-end Delay Bounds in FIFO Tandems Using Network Calculus", submitted to journal, 2008 IMT Lucca, October 28, 2009 38

Accuracy Delay bounds are as useful as they are tight, i.e. close to the Worst-Case Delay WCD unknown (to date) End-to-end analysis is fundamental ( 1,3) ( 1,3) ( 1, 2) ( 2,3) ( 3,3) 1 2 3 ( 3,3) 1 2 3 ( 2,3) IMT Lucca, October 28, 2009 39 Sink-tree networks Closed-form delay bound D N Bi = L i= 1 i + CR = Worst-Case Delay Ref: i Proof by construction Interfering flow at node 10 Interfering flow at node 6 L. Lenzini, L. Martorini, E. Mingozzi, G. Stea, "Tight End-to-end Perflow Delay Bounds in FIFO Multiplexing Sink-tree Networks", Perf. Evaluation, 63/9-10, Oct. 06, pp. 956-987 IMT Lucca, October 28, 2009 40

Accuracy (2) Compared to (naïve) per-node analysis per-node delay / LUDB ratio 1000 100 10 20% 50% 100% 1 10 15 20 25 30 N 500-1000 times smaller IMT Lucca, October 28, 2009 41 Stochastic Network Calculus Brings in a probabilistic framework Better captures statistical multiplexing Concatenation results still hold deterministic ( ) β ( ) β ( ) ( ) D t A t Currently active field of research SIGMETRICS, VALUETOOLS stochastic { > } ( ) P A t D t x g x IMT Lucca, October 28, 2009 42

Conclusions Network Calculus allows one to compute e2e delay bounds Easy and tight in a per-flow scheduling environment Complex and not always tight in an aggregate-scheduling environment Only method known so far Stochastic extensions: promising research area Better account for statistical multiplexing IMT Lucca, October 28, 2009 43 References 1. J.-Y. Le Boudec, P. Thiran, Network Calculus, Springer LNCS vol. 2050, 2001 (available online). 2. C. S. Chang, Performance Guarantees in Communication Networks, Springer, New York, 2000. 3. Y. Jiang, Y. Liu, Stochastic Network Calculus, Springer 2008 4. R.L. Cruz. A calculus for network delay, part i: Network elements in isolation. IEEE Transactions on Information Theory, Vol. 37, No. 1, March 1991, pp. 114-131. 5. R.L. Cruz. A calculus for network delay, part ii: Network analysis. IEEE Transactions on Information Theory, Vol. 37, No. 1, March 1991, pp. 132 141. IMT Lucca, October 28, 2009 44

More references 1. L. Lenzini, E. Mingozzi, G. Stea, "A Methodology for Computing End-toend Delay Bounds in FIFO-multiplexing Tandems" Elsevier Performance Evaluation, 65 (2008) 922-943 2. L. Lenzini, L. Martorini, E. Mingozzi, G. Stea, "Tight End-to-end Per-flow Delay Bounds in FIFO Multiplexing Sink-tree Networks", Elsevier Performance Evaluation, Vol. 63, Issues 9-10, October 2006, pp. 956-987 3. L. Lenzini, E. Mingozzi, G. Stea, "Delay Bounds for FIFO Aggregates: a Case Study", Elsevier Computer Communications 28/3, February 2005, pp. 287-299 4. L. Bisti, L. Lenzini, E. Mingozzi, G. Stea, "Estimating the Worst-case Delay in FIFO Tandems Using Network Calculus", Proceedings of VALUETOOLS'08, Athens, Greece, October 21-23, 2008 5. L. Lenzini, E. Mingozzi, G. Stea, "End-to-end Delay Bounds in FIFOmultiplexing Tandems", Proc. of VALUETOOLS'07, Nantes (FR), October 23-25, 2007. 6. L. Lenzini, E. Mingozzi, G. Stea, "Delay Bounds for FIFO Aggregates: a Case Study", Proceedings of the 4th COST263 International Workshop on Quality of Future Internet Services (QoFIS '03), Stockholm, Sweden, October 1-3, 2003 LNCS 2811/2003, pp. 31-40 IMT Lucca, October 28, 2009 45 Thank you for listening Questions? Comments? IMT Lucca, October 28, 2009 46