Bound Analysis of Closed Queueing Networks with Workload Burstiness Giuliano Casale Ningfang Mi Evgenia Smirni College.

Slides:



Advertisements
Similar presentations
TWO STEP EQUATIONS 1. SOLVE FOR X 2. DO THE ADDITION STEP FIRST
Advertisements

Online Max-Margin Weight Learning with Markov Logic Networks Tuyen N. Huynh and Raymond J. Mooney Machine Learning Group Department of Computer Science.
Analysis of Computer Algorithms
1 Vorlesung Informatik 2 Algorithmen und Datenstrukturen (Parallel Algorithms) Robin Pomplun.
Greening Backbone Networks Shutting Off Cables in Bundled Links Will Fisher, Martin Suchara, and Jennifer Rexford Princeton University.
Chapter 1 The Study of Body Function Image PowerPoint
Cognitive Radio Communications and Networks: Principles and Practice By A. M. Wyglinski, M. Nekovee, Y. T. Hou (Elsevier, December 2009) 1 Chapter 12 Cross-Layer.
STATISTICS HYPOTHESES TEST (II) One-sample tests on the mean and variance Professor Ke-Sheng Cheng Department of Bioenvironmental Systems Engineering National.
Challenge the future Delft University of Technology Overprovisioning for Performance Consistency in Grids Nezih Yigitbasi and Dick Epema Parallel.
On Scheduling Vehicle-Roadside Data Access Yang Zhang Jing Zhao and Guohong Cao The Pennsylvania State University.
Spectral Analysis of Function Composition and Its Implications for Sampling in Direct Volume Visualization Steven Bergner GrUVi-Lab/SFU Torsten Möller.
Summary of Convergence Tests for Series and Solved Problems
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
FACTORING ax2 + bx + c Think “unfoil” Work down, Show all steps.
£1 Million £500,000 £250,000 £125,000 £64,000 £32,000 £16,000 £8,000 £4,000 £2,000 £1,000 £500 £300 £200 £100 Welcome.
VARUN GUPTA Carnegie Mellon University 1 Partly based on joint work with: Anshul Gandhi Mor Harchol-Balter Mike Kozuch (CMU) (CMU) (Intel Research)
Correctness of Gossip-Based Membership under Message Loss Maxim GurevichIdit Keidar Technion.
Predicting Performance Impact of DVFS for Realistic Memory Systems Rustam Miftakhutdinov Eiman Ebrahimi Yale N. Patt.
Algorithms for Geometric Covering and Piercing Problems Robert Fraser PhD defence Nov. 23, 2012.
Solve Multi-step Equations
Announcements Homework 6 is due on Thursday (Oct 18)
Spoofing State Estimation
VARUN GUPTA Carnegie Mellon University 1 With: Mor Harchol-Balter (CMU)
1 Column Generation. 2 Outline trim loss problem different formulations column generation the trim loss problem master problem and subproblem in column.
HyLog: A High Performance Approach to Managing Disk Layout Wenguang Wang Yanping Zhao Rick Bunt Department of Computer Science University of Saskatchewan.
Randomized Algorithms Randomized Algorithms CS648 1.
Centrifuge: Integrated Lease Management and Partitioning for Cloud Services Atul Adya,John Dunagan*,Alec Wolman* Google, *Microsoft Research 1 7th USENIX.
ABC Technology Project
Shadow Prices vs. Vickrey Prices in Multipath Routing Parthasarathy Ramanujam, Zongpeng Li and Lisa Higham University of Calgary Presented by Ajay Gopinathan.
The Weighted Proportional Resource Allocation Milan Vojnović Microsoft Research Joint work with Thành Nguyen Microsoft Research Asia, Beijing, April, 2011.
Cache and Virtual Memory Replacement Algorithms
1 Capacity analysis of mesh networks with omni or directional antennas Jun Zhang and Xiaohua Jia City University of Hong Kong.
1 Sizing the Streaming Media Cluster Solution for a Given Workload Lucy Cherkasova and Wenting Tang HPLabs.
1 Undirected Breadth First Search F A BCG DE H 2 F A BCG DE H Queue: A get Undiscovered Fringe Finished Active 0 distance from A visit(A)
VOORBLAD.
Chapter 6 The Mathematics of Diversification
Degree Distribution of XORed Fountain codes
1 Breadth First Search s s Undiscovered Discovered Finished Queue: s Top of queue 2 1 Shortest path from s.
Squares and Square Root WALK. Solve each problem REVIEW:
Routing and Congestion Problems in General Networks Presented by Jun Zou CAS 744.
© 2012 National Heart Foundation of Australia. Slide 2.
Forecasting using Discrete Event Simulation for the NZ Prison Population Dr Jason (Qingsheng) Wang Mr Ross Edney Ministry of Justice.
Maciej Stasiak, Mariusz Głąbowski Arkadiusz Wiśniewski, Piotr Zwierzykowski Models of Links Carrying Multi-Service Traffic Chapter 7 Modeling and Dimensioning.
Understanding Generalist Practice, 5e, Kirst-Ashman/Hull
Scalable and Dynamic Quorum Systems Moni Naor & Udi Wieder The Weizmann Institute of Science.
25 seconds left…...
Introduction to Queuing Theory
Equal or Not. Equal or Not
Slippery Slope
S. Awad, Ph.D. M. Corless, M.S.E.E. E.C.E. Department University of Michigan-Dearborn Laplace Transform Math Review with Matlab: Fundamentals.
Week 1.
We will resume in: 25 Minutes.
©Brooks/Cole, 2001 Chapter 12 Derived Types-- Enumerated, Structure and Union.
Dantzig-Wolfe Decomposition
Mathematics1 Mathematics 1 Applied Informatics Štefan BEREŽNÝ.
PSSA Preparation.
University of Minnesota Optimizing MapReduce Provisioning in the Cloud Michael Cardosa, Aameek Singh†, Himabindu Pucha†, Abhishek Chandra
Mani Srivastava UCLA - EE Department Room: 6731-H Boelter Hall Tel: WWW: Copyright 2003.
Mani Srivastava UCLA - EE Department Room: 6731-H Boelter Hall Tel: WWW: Copyright 2003.
Introduction into Simulation Basic Simulation Modeling.
1 Undirected Graphical Models Graphical Models – Carlos Guestrin Carnegie Mellon University October 29 th, 2008 Readings: K&F: 4.1, 4.2, 4.3, 4.4,
Basics of Statistical Estimation
Delay Analysis and Optimality of Scheduling Policies for Multihop Wireless Networks Gagan Raj Gupta Post-Doctoral Research Associate with the Parallel.
1 Giuliano Casale, Eddy Z. Zhang, Evgenia Smirni {casale, eddy, Speaker: Giuliano Casale Numerical Methods for Structured Markov Chains,
1 KPC-Toolbox Demonstration Eddy Zheng Zhang, Giuliano Casale, Evgenia Smirni Computer Science Department College of William & Mary.
© 2006 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Injecting Realistic Burstiness to.
Presentation transcript:

Bound Analysis of Closed Queueing Networks with Workload Burstiness Giuliano Casale Ningfang Mi Evgenia Smirni College of William and Mary Department of Computer Science Williamsburg, Virginia ACM SIGMETRICS 2008 Annapolis, June 3, 2008

Integrate in queueing networks service time burstiness bursts Long peaks (bursts) of consecutively large requests Real workloads often characterized by burstiness Seagate (disks, [Usenix06,Perf07] ),HPLabs (multi-tier, [HotMetrics] ) Workload Burstiness G.Casale, N.Mi, E.Smirni. Bound Analysis of Closed Queueing Networks with Workload Burstiness 2 SIGMETRICS 2008

Classes of Closed Queueing Networks G.Casale, N.Mi, E.Smirni. Bound Analysis of Closed Queueing Networks with Workload Burstiness 3 SIGMETRICS 2008 Product-Form Networks High Service Variability Networks (GI) Queueing Networks with Burstiness (G) BCMP assumptions Exact Solution: MVA General Independent Service/FCFS Approximations: AMVA, Decomposition No prior formalization Can analyze also GI/Product-Form Burstiness: High-variability and correlation of service times

Research Contributions 1.Definition of Closed QNs with Burstiness (Superset) Markovian Arrival Processes Service times are Markovian Arrival Processes (MAPs) Generalization of PH-Type distributions MAP Queueing Networks 2.State-Space Explosion Linear Reduction Transformation: Linear Reduction (LR) of state space 3.Linear Reduction Bounds LR of state space + Linear Programming Mean error 2% on random models G.Casale, N.Mi, E.Smirni. Bound Analysis of Closed Queueing Networks with Workload Burstiness 4 SIGMETRICS 2008

MAP Queueing Networks Model Definition

Markovian Arrival Processes (MAPs) Hyper-exponential: samples independent of past history Two-phase MAP with burstiness (high-CV+correlations) G.Casale, N.Mi, E.Smirni. Bound Analysis of Closed Queueing Networks with Workload Burstiness 6 SIGMETRICS FAST SLOW Job 1 completion Job 2 completion FAST SLOW Job 1 completion FAST SLOW FAST SLOW FAST SLOW FAST SLOW Job 2 completion

Markovian Arrival Processes (MAPs) MAP model both distribution (e.g., high-CV) and burstiness method of phases Generalization of the method of phases Building block: exponential distribution Easy to integrate in Markov chains and queueing models Tools and fitting algorithms KPC-Toolbox: automatic fitting from traces [Demo, QEST08] G.Casale, N.Mi, E.Smirni. Bound Analysis of Closed Queueing Networks with Workload Burstiness 7 SIGMETRICS 2008

3 queues, Population N Single MAP server with two phases Example MAP Queueing Network G.Casale, N.Mi, E.Smirni. Bound Analysis of Closed Queueing Networks with Workload Burstiness 8 SIGMETRICS 2008 M M Station 1 Station 2 Station 3 p1p1p1p1 p2p2p2p2 MAP 1-p 1 -p 2 FAST SLOW

Roadmap Bound Derivation G.Casale, N.Mi, E.Smirni. Bound Analysis of Closed Queueing Networks with Workload Burstiness 9 SIGMETRICS 2008 Dimensionality Reduction Bound Analysis Conditioning Transformation Characterization Bounding (Linear Programming)

MAP Queueing Networks Dimensionality Reduction

State Space Dimensionality G.Casale, N.Mi, E.Smirni. Bound Analysis of Closed Queueing Networks with Workload Burstiness 11 SIGMETRICS 2008 JOB Distribution = Job Completions Station 3 empty Station 3 1 job Station 3 2 jobs QueuesStates 3 ~ ~ ~10 12 State Space Explosion Population N=100 Population N=2

MAP QN State Space (Markov chain) G.Casale, N.Mi, E.Smirni. Bound Analysis of Closed Queueing Networks with Workload Burstiness 12 SIGMETRICS 2008 Station 3 MAP FAST SLOW FAST FAST phase SLOW SLOW phase

Disjoint partitions solved as separate product-form networks Scalability thanks to MVA Decomposition-Aggregation G.Casale, N.Mi, E.Smirni. Bound Analysis of Closed Queueing Networks with Workload Burstiness 13 SIGMETRICS 2008 Partition 1 FAST FAST phase Partition 1 SLOW SLOW phase

Decomposition performance Decomposition unable to approximate MAP QN performance G.Casale, N.Mi, E.Smirni. Bound Analysis of Closed Queueing Networks with Workload Burstiness 14 SIGMETRICS 2008

Busy Conditioning G.Casale, N.Mi, E.Smirni. Bound Analysis of Closed Queueing Networks with Workload Burstiness 15 SIGMETRICS Overlapping States = Not Lumping/Decomposition Station 3 busy FAST FAST phase Station 1 busy FAST FAST phase Station 3 busy SLOW SLOW phase Station 1 busy SLOW SLOW phase Station 2 busy SLOW SLOW phase Station 2 busy FAST FAST phase busy More information available to partitions: assume a station is busy No longer a product-form network: we lose scalability!

Idle Conditioning G.Casale, N.Mi, E.Smirni. Bound Analysis of Closed Queueing Networks with Workload Burstiness 16 SIGMETRICS Station 2 idle FAST FAST phase Station 3 idle FAST FAST phase Station 1 idle FAST FAST phase Station 1 idle SLOW SLOW phase Station 2 idle SLOW SLOW phase Station 3 idle SLOW SLOW phase How do we restore scalability? How do we use the new information? idle Alternatively assume a certain station is idle

Linear Reduction (LR) Transformation G.Casale, N.Mi, E.Smirni. Bound Analysis of Closed Queueing Networks with Workload Burstiness 17 SIGMETRICS Station 3 busy FAST FAST phase 0 1 Conditional Queue-Length Station 1 ? 0 1 Conditional Queue-Length Station 2 ? 1 2 Conditional Queue-Length Station 3 ? Population N=2 Loss of information to reduce dimension Number of states scales well with model size

MAP Queueing Networks Bound Analysis

Necessary conditions Necessary conditions of equilibrium (12 equation types) Example 1: Example 1: population constraint Exact Characterization G.Casale, N.Mi, E.Smirni. Bound Analysis of Closed Queueing Networks with Workload Burstiness 19 SIGMETRICS ? Q3Q3 + + = N Q2Q2 Q1Q1 cond Conditional Queue-Length ? Conditional Queue-Length ? Conditional Queue-Length 1

Example 2: Example 2: Flow Balance Assumption (FBA) Marginal balance Marginal balance: fine grain probabilistic version of FBA X IN (k) = X OUT (k) Exact Characterization G.Casale, N.Mi, E.Smirni. Bound Analysis of Closed Queueing Networks with Workload Burstiness 20 SIGMETRICS 2008 X IN X OUT X IN =X OUT MAP X IN (k) k jobs X OUT (k) X IN (k), X OUT (k) function of conditional queue-lengths

Summary of Linear Reduction G.Casale, N.Mi, E.Smirni. Bound Analysis of Closed Queueing Networks with Workload Burstiness 21 SIGMETRICS 2008 QueuesJobsNum statesLR statesLR eqs ,3023,300 2, ,196,2527,4225, ,526,843,022,54224,93716,044 linearly Computational complexity scales linearly with population Many equations between conditional queue-lengths

Linear Reduction (LR) bounds Intelligent guess of conditional queue-length probabilities Best guess searched by linear programming Objective function Utilizations Throughput ( Response Time) Mean queue-lengths Linear programming analysis Unknowns: marginal subspace probabilities Constraints: exact characterization LR lower bounds: solve min F(x) subject to constraints LR upper bounds: solve max F(x) subject to constraints G.Casale, N.Mi, E.Smirni. Bound Analysis of Closed Queueing Networks with Workload Burstiness 22 SIGMETRICS 2008 F(x)

LR Bounds Example G.Casale, N.Mi, E.Smirni. Bound Analysis of Closed Queueing Networks with Workload Burstiness 23 SIGMETRICS 2008

Random Validation Methodology G.Casale, N.Mi, E.Smirni. Bound Analysis of Closed Queueing Networks with Workload Burstiness 24 SIGMETRICS 2008 Validation on 10,000 random queueing networks Arbitrary routing, three queues Random two-phase MAP distribution and burstiness LR bounds compared to exact for populations 1000 jobs Reference metric: response time R Error function = worst case relative error

LR Bounds: Worst Case Error G.Casale, N.Mi, E.Smirni. Bound Analysis of Closed Queueing Networks with Workload Burstiness 25 SIGMETRICS 2008

Conclusion Major extension of closed QNs to workload burstiness Linear Reduction state-space transformation LR Bounds Future work delay servers/load-dependent MAP service (we have it ) mean-value analysis version (no state space, we almost have it) open queueing networks (not yet) Online resources: Supported by NSF grants ITR and CNS G.Casale, N.Mi, E.Smirni. Bound Analysis of Closed Queueing Networks with Workload Burstiness 26 SIGMETRICS 2008

References [HotMetrics] Giuliano Casale, Ningfang Mi, Lucy Cherkasova, Evgenia Smir ni: How to Parameterize Models with Bursty Workloads. To be presented at 1 st HotMetrics Worshop (6 th June 2008), Annapolis, MD, US. [KPC-Toolbox] Giuliano Casale, Eddy Z. Zhang, Evgenia Smirni. KPC-Toolb ox: Simple Yet Effective Trace Fitting Using Markovian Arrival Processes. To be presented at QEST 2008 Conference, St.Malo, France, Sep [Performance07] Ningfang Mi, Qi Zhang, Alma Riska, Evgenia Smirni, Erik Riedel. Performance impacts of autocorrelated flows in multi-tiered systems. Perform. Eval. 64(9-12): (2007) [Usenix06] Alma Riska, Erik Riedel. Disk Drive Level Workload Characteriz ation. USENIX Annual Technical Conference, General Track 2006: G.Casale, N.Mi, E.Smirni. Bound Analysis of Closed Queueing Networks with Workload Burstiness 28 SIGMETRICS 2008

Applicability to Real Workloads 3 queues, 16-phases MAP fitting the Bellcore-Aug89 trace G.Casale, N.Mi, E.Smirni. Bound Analysis of Closed Queueing Networks with Workload Burstiness 30 SIGMETRICS 2008