Mixed Stochastic and Event Flows

Similar documents
Maximum pressure policies for stochastic processing networks

Lecture 7: Simulation of Markov Processes. Pasi Lassila Department of Communications and Networking

Performance Evaluation of Queuing Systems

The Performance Impact of Delay Announcements

Performance Analysis of Priority Queueing Schemes in Internet Routers

Lecture 9: Deterministic Fluid Models and Many-Server Heavy-Traffic Limits. IEOR 4615: Service Engineering Professor Whitt February 19, 2015

Stochastic Network Calculus

ATM VP-Based Ring Network Exclusive Video or Data Traffics

Stochastic-Process Limits

Homework 1 - SOLUTION

TOWARDS BETTER MULTI-CLASS PARAMETRIC-DECOMPOSITION APPROXIMATIONS FOR OPEN QUEUEING NETWORKS

An Optimal Index Policy for the Multi-Armed Bandit Problem with Re-Initializing Bandits

WiFi MAC Models David Malone

ABSTRACT. using Diffusion Approximation. Andrzej Kochut, Doctor of Philosophy, Department of Computer Science

Link Models for Packet Switching

Load Balancing in Distributed Service System: A Survey

Positive Harris Recurrence and Diffusion Scale Analysis of a Push Pull Queueing Network. Haifa Statistics Seminar May 5, 2008

THE HEAVY-TRAFFIC BOTTLENECK PHENOMENON IN OPEN QUEUEING NETWORKS. S. Suresh and W. Whitt AT&T Bell Laboratories Murray Hill, New Jersey 07974

Queuing Networks: Burke s Theorem, Kleinrock s Approximation, and Jackson s Theorem. Wade Trappe

Sensitivity Analysis for Discrete-Time Randomized Service Priority Queues

Electronic Companion Fluid Models for Overloaded Multi-Class Many-Server Queueing Systems with FCFS Routing

Asymptotic Delay Distribution and Burst Size Impact on a Network Node Driven by Self-similar Traffic

CS276 Homework 1: ns-2

CDA5530: Performance Models of Computers and Networks. Chapter 4: Elementary Queuing Theory

NICTA Short Course. Network Analysis. Vijay Sivaraman. Day 1 Queueing Systems and Markov Chains. Network Analysis, 2008s2 1-1

Cumulative Count Curve and Queueing Analysis

Designing load balancing and admission control policies: lessons from NDS regime

Dynamic Control of Parallel-Server Systems

Window Flow Control Systems with Random Service

HEAVY-TRAFFIC EXTREME-VALUE LIMITS FOR QUEUES

communication networks

A PARAMETRIC DECOMPOSITION BASED APPROACH FOR MULTI-CLASS CLOSED QUEUING NETWORKS WITH SYNCHRONIZATION STATIONS

Efficient Network-wide Available Bandwidth Estimation through Active Learning and Belief Propagation

Queueing Theory I Summary! Little s Law! Queueing System Notation! Stationary Analysis of Elementary Queueing Systems " M/M/1 " M/M/m " M/M/1/K "

A Stochastic Model for TCP with Stationary Random Losses

Chapter 3 Balance equations, birth-death processes, continuous Markov Chains

CPSC 531: System Modeling and Simulation. Carey Williamson Department of Computer Science University of Calgary Fall 2017

A Robust Queueing Network Analyzer Based on Indices of Dispersion

6-2 The Integration of Video/Voice Traffics.

Basics of Stochastic Modeling: Part II

Quiz 1 EE 549 Wednesday, Feb. 27, 2008

Statistical analysis of peer-to-peer live streaming traffic

Delay Bounds for Networks with Heavy-Tailed and Self-Similar Traffic

Resource Allocation for Video Streaming in Wireless Environment

Stochastic Optimization for Undergraduate Computer Science Students

Tales of Time Scales. Ward Whitt AT&T Labs Research Florham Park, NJ

Capturing Network Traffic Dynamics Small Scales. Rolf Riedi

Network Traffic Characteristic

Emulating Low-priority Transport at the Application Layer: A Background Transfer Service

Congestion Control. Need to understand: What is congestion? How do we prevent or manage it?

DIMENSIONING BANDWIDTH FOR ELASTIC TRAFFIC IN HIGH-SPEED DATA NETWORKS

Section 3.3: Discrete-Event Simulation Examples

Introduction to queuing theory

Discrete-event simulations

THROUGHPUT ANALYSIS OF STOCHASTIC NETWORKS USING FLUID LIMITS. By John Musacchio University of California, Santa Cruz and

On the Resource/Performance Tradeoff in Large Scale Queueing Systems

A Starvation-free Algorithm For Achieving 100% Throughput in an Input- Queued Switch

CS418 Operating Systems

Delay Bounds in Communication Networks with Heavy-Tailed and Self-Similar Traffic

DIMENSIONING BANDWIDTH FOR ELASTIC TRAFFIC IN HIGH-SPEED DATA NETWORKS

Making Delay Announcements

Glossary availability cellular manufacturing closed queueing network coefficient of variation (CV) conditional probability CONWIP

Analytic Performance Evaluation of the RED Algorithm

Local vs. Nonlocal Diffusions A Tale of Two Laplacians

6 Solving Queueing Models

Min Congestion Control for High- Speed Heterogeneous Networks. JetMax: Scalable Max-Min

A Note on the Event Horizon for a Processor Sharing Queue

Advanced Computer Networks Lecture 3. Models of Queuing

requests/sec. The total channel load is requests/sec. Using slot as the time unit, the total channel load is 50 ( ) = 1

Asymptotic Coupling of an SPDE, with Applications to Many-Server Queues

Northwestern University Department of Electrical Engineering and Computer Science

Fair Scheduling in Input-Queued Switches under Inadmissible Traffic

Queueing Theory and Simulation. Introduction

Analytical Approximations to Predict Performance Measures of Manufacturing Systems with Job Failures and Parallel Processing

Proactive Care with Degrading Class Types

Multiplicative Multifractal Modeling of. Long-Range-Dependent (LRD) Trac in. Computer Communications Networks. Jianbo Gao and Izhak Rubin

CSci 8980: Advanced Topics in Graphical Models Gaussian Processes

queue KTH, Royal Institute of Technology, Department of Microelectronics and Information Technology

Impact of Cross Traffic Burstiness on the Packet-scale Paradigm An Extended Analysis

Answers to the problems from problem solving classes

Introduction to Queueing Theory

A Different Kind of Flow Analysis. David M Nicol University of Illinois at Urbana-Champaign

Queueing Theory II. Summary. ! M/M/1 Output process. ! Networks of Queue! Method of Stages. ! General Distributions

Fokker-Planck Equation with Detailed Balance

Inequality Comparisons and Traffic Smoothing in Multi-Stage ATM Multiplexers

5 Lecture 5: Fluid Models

Classical Queueing Models.

Congestion Control. Phenomenon: when too much traffic enters into system, performance degrades excessive traffic can cause congestion

Chapter 2 Queueing Theory and Simulation

r bits/frame

Effect of the Traffic Bursts in the Network Queue

Quality of Real-Time Streaming in Wireless Cellular Networks : Stochastic Modeling and Analysis

End-to-end Estimation of the Available Bandwidth Variation Range

COMP9334: Capacity Planning of Computer Systems and Networks

Probability and Statistics Concepts

Tutorial: Optimal Control of Queueing Networks

Using Partial Differential Equations to Model TCP Mice and Elephants in Large IP Networks

Stochastic Models in Computer Science A Tutorial

Efficient Simulation of Network Performance by Importance Sampling

Stochastic Hybrid Systems: Applications to Communication Networks

Transcription:

Simulation Mixed and Event Flows Modeling for Simulation Dynamics Robert G. Cole 1, George Riley 2, Derya Cansever 3 and William Yurcick 4 1 Johns Hopkins University 2 Georgia Institue of Technology 3 SI International, Inc. 4 University of Texas - Dallas 04 June 2008 / ACM PADS shop 2008

Outline Simulation 1 s 2 3 4

Scalable Network s Simulation Future network design and modeling requires large scale, high fidelity simulations capability. Training requires real-time speedup of network simulations. Parallelization of network simulations not always useful due to lack of topological communities of interest. analytic/event simulations appear to be an attractive alternative.

Simulation Types Simulation Network models: Partitioned models, e.g., packet edge and analytic core Mixed node models, i.e., packet and analytic traffic mixed at each network queue. Analytic models: Deterministic models, e.g., dynamics described by deterministic differential equations. models, e.g., Brownian motion models of queue dynamics.

to, Mixed Node External Input Split Network Departures Simulation Loss Merge Simulation of network of queues. Mixing the two fundamentally different traffic types at a single, finite queue. Time dependent models of finite-sized queue dynamics. Splitting and merging mixed-traffic flows within network simulation.

Approach to Packet Loss Event Maximum w i (+) w i+1 ( ) =w i+1 (+) w i+2 (+) Simulation Minimum w ( ) i Trajectory t i t i+1 Time t i+2 w i+2 ( ) Packet Loss Event Maximum Minimum w (+) i w (+) i+1 w ( ) i+2 =w (+) i+2 Trajectory w ( ) i Density Sampled Mean Drift w ( ) i+1 t i t i+1 t i+2 Time Contrasting deterministic versus stochastic fluid mixing at queue.

Simulation Cumulative Distribution Function for a GI/G/1/K queueing system, F(w, t w 0, t = 0) satisfies the Fokker-Planck Equation [Kobayashi, 1974a], [Kobayashi, 1974b] and [Heyman, 1975] F F = m t w + 1 2 σ2 2 F w 2 (1) where m = λ s µ, and σ 2 = λ s C 2 v + µ C 2 v,µ. The Fokker-Planck equation has an analytic solution F (w, t w 0, t = 0) = α Φ( w w 0 mt σ ) t + β e 2mw/σ2 Φ( w w 0 mt σ ) (2) t Φ( ±w w 0 mt σ ) = 1 Z ±w w0 mt σ t e x2 /2 dx (3) t 2π

Boundary Conditions Simulation Initial Conditions: F (w, t = 0) = H(w w 0 ); H(x) is the Heavy-side Function. Upper and lower limits on work in system: Common BCs - Our alternative BCs - lim F (w, t w 0, t = 0) = 0 (4) w 0 lim F (w, t w 0, t = 0) = 1 (5) w w max lim F (w, t w 0, t = 0) = 0 (6) w max[0,w 0 µt] lim w w max F (w, t w 0, t = 0) = 1 (7)

Rationale for Our Alternative BCs Simulation Maximum Minimum Initial Condition Maximum Drain Rate t 0 t 1 t 2 t 3 Time Boundary Points Mean Drain Rate Alternative BCs and their impact of density functions versus time. Buffer size sets maximum and minimum limits to work in queue. Maximum drain rate (assuming no arrivals) sets short term time-dependent limit on the minimum work in queue.

Simple Packet Foreground Router Interface Simulation Merge Hyper Exponential Background C1 100 Mbps R1 Loss Buffer 500 Kbps Simple simulation model in GTNets. Background is hyper-exponential arrival with deterministic service, modeling UDP packets Foreground is exponential arrival with deterministic service, modeling UDP packets Foreground is later modeled as TCP stream Investigate foreground packet delay (UDP and TCP), loss (UDP and TCP), and goodput (TCP) S1 Sink

UDP Delay and Loss Results Simulation Delay (msec) 500 400 300 200 100 Simulation Deterministic Stoc_mvBC 0 250 300 350 400 450 500 Background rate (Kbps) Loss probability 1 0.8 0.6 0.4 0.2 0 Simulation Deterministic Stoc_mvBC 250 300 350 400 450 500 Background rate (Kbps) UDP delay and loss versus rate in mixed traffic-type queue. Deterministic fluid model has no mechanism to allow foreground traffic buffer access at high utilization. model allows foreground traffic access even in overload situations.

UDP Delay Results versus C v Simulation Delay (msec) 100 80 60 40 Base(300Kbps) Det(300Kbps) Stoc_mvBC(300Kbps) Delay (msec) 400 350 300 250 200 150 Base(400Kbps) Det(400Kbps) Stoc_mvBC(400Kbps) 20 0 0.9 1 1.1 1.2 1.3 1.4 1.5 1.6 100 50 0 0.9 1 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 500 450 Coefficient of Variation 500 450 Coefficient of Variation Delay (msec) 400 350 300 250 Delay (msec) 400 350 300 250 200 Base(430Kbps) 150 Det(430Kbps) Stoc_mvBC(430Kbps) 100 0.9 1.0 1.1 1.2 1.3 1.4 1.5 1.6 1.7 Coefficient of Variation 200 Base(450Kbps) 150 Det(450Kbps) Stoc_mvBC(450Kbps) 100 0.9 1.0 1.1 1.2 1.3 1.4 Coefficient of Variation UDP delay versus C v in mixed traffic-type queue.

TCP Goodput Results Simulation Throughput (Bps) 100000 10000 1000 100 10 Simulation Deterministic 1 250 300 350 400 450 500 550 Background rate (Kbps) TCP goodput versus rate in mixed traffic-type queue. model matches well with simulation results for TCP dynamics.

TCP Goodput versus C v 25000 20000 20000 15000 Simulation Goodput (Bps) 15000 Goodput (Bps) 10000 10000 Base(300Kbps) Det(300Kbps) Stoc_mvBC(300Kbps) Stoc(300Kbps) 5000 0.9 1 1.1 1.2 1.3 1.4 1.5 1.6 5000 Base(400Kbps) Det(400Kbps) Stoc_mvBC(400Kbps) Stoc(400Kbps) 0 0.9 1 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 10000 8000 Base(450Kbps) Det(450Kbps) Stoc_mvBC(450Kbps) Stoc(450Kbps) Coefficient of Variation 10000 8000 Base(500Kbps) Det(500Kbps) Stoc_mvBC(500Kbps) Stoc(500Kbps) Coefficient of Variation Goodput (Bps) 6000 4000 Goodput (Bps) 6000 4000 2000 2000 0 0.9 1 1.1 1.2 1.3 1.4 1.5 0 0.9 1 1.1 1.2 1.3 1.4 1.5 Coefficient of Variation Coefficient of Variation TCP goodput versus C v in mixed traffic-type queue.

Research Simulation Improve Mixed Queue : Not happy with C v 1 results. Possible solution: discretize distribution [Kobayashi, 1974b] or investigate scaling laws for diffusional drift and variance. Develop the background loss models. Possible approach is based upon applications of Bayes Theorem (see below). Develop Network Flow : Only investigated mixing at single node models to date. Leverage literature of network queueing, e.g., [Whitt, 1995], [Kobayashi and Mark, 2002], others.

Loss of Fluid Application of Bayes Theorem Simulation Maximum Minimum w i (+) w i ( ) p(w A,t w B =w i+1 ( ),t i+1 ;w i (+),t i ) (w A,t ) t i t t i+1 Time Rt Fluid loss (t t ) = λ p(w max, x)dx t Bayes Equation: P(A B) = P(B A)P(A)/P(B) p(w A, t w B = w ( ) i+1, t i+1; w (+) i w i+1 (+) w B =w i+1 ( ), t i ) = p(w B = w ( ) i+1, t i+1 w A, t )p(w A, t w (+) i, t i ) p(w B = w ( ) i+1, t i+1 w (+) i, t i ) (8)

Simulation Initial investigations into mixed, hybrid stochastic simulation models Much work to be done: Improve C v 1 results Develop time-dependent fluid loss models Develop network flow models, i.e. time-dependent network calculus Outlook Initial simulation results are encouraging Need much more development and simulation studies results of time-dependent dynamics

References Simulation Cole, R.G., Riley, G., Cansever, D. and W. Yurcik, Process for Packet/Analytic-Based Network, IEEE/ACM Principles of Distributed Simulation (PADS), Rome, Italy, June 2008. Heyman, D., A Diffusion Model Approximation for the GI/G/1 Queue in Heavy Traffic, Bell Labs Technical Journal, Vol. 54, No. 9, November 1975. Kobayashi, H., Applications of the Diffusion Approximation to Queueing Networks, I. Equilibrium Queue Distributions, Journal of the Association for Computing Machinery, Vol. 21, No. 2, 1974. Kobayashi, H., Applications of the Diffusion Approximation to Queueing Networks, I. Nonequilibrium Distributions and Computer Modeling, Journal of the Association for Computing Machinery, Vol. 21, No. 3, 1974. H. Kobayashi and B. L. Mark, A Unified Theory for Queuing and Loss-Queueing Networks, IFORS 99 Conference, Beijing, August 16-20, 1999. H. Kobayashi and B. L. Mark, Generalized Loss and Queueing-Loss Networks, Int. Trans. in Operational Research, Vol. 9, No. 1, pp. 97-112, January 2002. Whitt, W., Variability Functions for Parametric-Decomposition Approximations of Queueing Networks. Management Science, vol. 41, No. 10, pp. 1704-1715, 1995.