Effect of higher moments of job size distribution on the performance of an M/G/k system VARUN GUPTA Joint work with: Mor Harchol-Balter Carnegie Mellon.

Slides:



Advertisements
Similar presentations
VARUN GUPTA Carnegie Mellon University 1 Partly based on joint work with: Anshul Gandhi Mor Harchol-Balter Mike Kozuch (CMU) (CMU) (Intel Research)
Advertisements

VARUN GUPTA Carnegie Mellon University 1 With: Mor Harchol-Balter (CMU)
Sequences and Mathematical Induction
Optimal Fast Hashing Yossi Kanizo (Technion, Israel) Joint work with Isaac Keslassy (Technion, Israel) and David Hay (Hebrew Univ., Israel)
Testing Theories: Three Reasons Why Data Might not Match the Theory.
Inference for Regression
CmpE 104 SOFTWARE STATISTICAL TOOLS & METHODS MEASURING & ESTIMATING SOFTWARE SIZE AND RESOURCE & SCHEDULE ESTIMATING.
1 A class of Generalized Stochastic Petri Nets for the performance Evaluation of Mulitprocessor Systems By M. Almone, G. Conte Presented by Yinglei Song.
Anshul Gandhi (Carnegie Mellon University) Varun Gupta (CMU), Mor Harchol-Balter (CMU) Michael Kozuch (Intel, Pittsburgh)
Ch11 Curve Fitting Dr. Deshi Ye
Chap 8: Estimation of parameters & Fitting of Probability Distributions Section 6.1: INTRODUCTION Unknown parameter(s) values must be estimated before.
Page 1 Alan Scheller-Wolf Lunteren, The Netherlands January 15, 2013 Things I Thought I Knew About Queueing Theory, but was Wrong About: Part 1, Multiserver.
June 3, 2015Windows Scheduling Problems for Broadcast System 1 Amotz Bar-Noy, and Richard E. Ladner Presented by Qiaosheng Shi.
A New Approach for Accurate Modelling of Medium Access Control (MAC) Protocols Presenter: Moshe Zukerman ARC Centre for Ultra Broadband Information Networks.
Queuing Analysis Based on noted from Appendix A of Stallings Operating System text 6/10/20151.
Chapter 10 Simple Regression.
DISTRIBUTION OF THE SAMPLE MEAN
Hash Tables With Finite Buckets Are Less Resistant to Deletions Yossi Kanizo (Technion, Israel) Joint work with David Hay (Columbia U. and Hebrew U.) and.
ECS 152A Acknowledgement: slides from S. Kalyanaraman & B.Sikdar
Chapter 7 Sampling and Sampling Distributions
A gentle introduction to fluid and diffusion limits for queues Presented by: Varun Gupta April 12, 2006.
1 Performance Evaluation of Computer Networks Objectives  Introduction to Queuing Theory  Little’s Theorem  Standard Notation of Queuing Systems  Poisson.
Performance Analysis of Wavelength-Routed Optical Networks with Connection Request Retrials Fei Xue+, S. J. Ben Yoo+, Hiroyuki Yokoyama*, and Yukio Horiuchi*
FINDING THE OPTIMAL QUANTUM SIZE Revisiting the M/G/1 Round-Robin Queue VARUN GUPTA Carnegie Mellon University.
I think your suggestion is, Can we do two things at once? Well, we’re of the view that we can walk and chew gum at the same time. —Richard Armitage, deputy.
Join-the-Shortest-Queue (JSQ) Routing in Web Server Farms
Preference Analysis Joachim Giesen and Eva Schuberth May 24, 2006.
Fundamental Characteristics of Queues with Fluctuating Load VARUN GUPTA Joint with: Mor Harchol-Balter Carnegie Mellon Univ. Alan Scheller-Wolf Carnegie.
Fluid level in tandem queues with an On/Off source VARUN GUPTA Carnegie Mellon University Joint work with PETER HARRISON Imperial College.
Probability theory 2008 Outline of lecture 5 The multivariate normal distribution  Characterizing properties of the univariate normal distribution  Different.
Fundamental Characteristics of Queues with Fluctuating Load (appeared in SIGMETRICS 2006) VARUN GUPTA Joint with: Mor Harchol-Balter Carnegie Mellon Univ.
Effect of higher moments of job size distribution on the performance of an M/G/k system VARUN GUPTA Joint work with: Mor Harchol-Balter Carnegie Mellon.
Thesis Proposal VARUN GUPTA 1. Thesis Proposal VARUN GUPTA 2.
Introduction to Queuing Theory
Asaf Cohen (joint work with Rami Atar) Department of Mathematics University of Michigan Financial Mathematics Seminar University of Michigan March 11,
Decentralised load balancing in closed and open systems A. J. Ganesh University of Bristol Joint work with S. Lilienthal, D. Manjunath, A. Proutiere and.
Testing Theories: Three Reasons Why Data Might not Match the Theory Psych 437.
1 Exponential distribution: main limitation So far, we have considered Birth and death process and its direct application To single server queues With.
Topic 5 Statistical inference: point and interval estimate
© 2009 IBM Corporation 1 Improving Consolidation of Virtual Machines with Risk-aware Bandwidth Oversubscription in Compute Clouds Amir Epstein Joint work.
Physics 270 – Experimental Physics. Standard Deviation of the Mean (Standard Error) When we report the average value of n measurements, the uncertainty.
Queuing Theory Basic properties, Markovian models, Networks of queues, General service time distributions, Finite source models, Multiserver queues Chapter.
Modeling and Analysis of Computer Networks
Joint work with Yuval Peres, Mikkel Thorup, Peter Winkler and Uri Zwick Overhang Bounds Mike Paterson DIMAP & Dept of Computer Science University of Warwick.
On the variance curve of outputs for some queues and networks Yoni Nazarathy Gideon Weiss Yoav Kerner CWI Amsterdam March 2009.
ELEC 303 – Random Signals Lecture 18 – Classical Statistical Inference, Dr. Farinaz Koushanfar ECE Dept., Rice University Nov 4, 2010.
An Optimal Design of the M/M/C/K Queue for Call Centers
Overhang bounds Mike Paterson Joint work with Uri Zwick,
The M/M/ N / N Queue etc COMP5416 Advanced Network Technologies.
The Asymptotic Variance of Departures in Critically Loaded Queues Yoni Nazarathy * EURANDOM, Eindhoven University of Technology, The Netherlands. (As of.
Review of Probability. Important Topics 1 Random Variables and Probability Distributions 2 Expected Values, Mean, and Variance 3 Two Random Variables.
Order Optimal Delay for Opportunistic Scheduling In Multi-User Wireless Uplinks and Downlinks Michael J. Neely University of Southern California
Analysis of RED Goal: impact of RED on loss and delay of bursty (TCP) and less bursty or smooth (UDP) traffic RED eliminates loss bias against bursty traffic.
1 Probability and Statistical Inference (9th Edition) Chapter 5 (Part 2/2) Distributions of Functions of Random Variables November 25, 2015.
1 Introduction to Statistics − Day 4 Glen Cowan Lecture 1 Probability Random variables, probability densities, etc. Lecture 2 Brief catalogue of probability.
Charles University FSV UK STAKAN III Institute of Economic Studies Faculty of Social Sciences Institute of Economic Studies Faculty of Social Sciences.
Section 10.5 Let X be any random variable with (finite) mean  and (finite) variance  2. We shall assume X is a continuous type random variable with p.d.f.
Yoni Nazarathy Gideon Weiss University of Haifa Yoni Nazarathy Gideon Weiss University of Haifa The Asymptotic Variance of the Output Process of Finite.
Charles University Charles University STAKAN III
Confidence Intervals Cont.
The Best Duo
Load Balancing and Data centers
Serve Assignment Policies
Generalized Jackson Networks (Approximate Decomposition Methods)
Summarizing Data by Statistics
Feifei Li, Ching Chang, George Kollios, Azer Bestavros
Deadline Scheduling and Heavy tailED distributions
Presentation transcript:

Effect of higher moments of job size distribution on the performance of an M/G/k system VARUN GUPTA Joint work with: Mor Harchol-Balter Carnegie Mellon University Jim Dai, Bert Zwart Georgia Institute of Technology

2 Multi-server/resource sharing systems are the norm today Multicore chips Call centers Server Farms

3 M/G/k: the classical multi-server model Poisson arrivals (rate ) J1J1 J i+1 JiJi J2J2 J i+2 GOAL : Analysis of mean delay (time spent in buffer)

4 M/G/k model assumptions and notation Poisson arrivals Service requirements (job sizes) are i.i.d. S ≡ random variable for job sizes Define Per server utilization or load: 0 <  < 1 Squared coefficient of variability (SCV) of job sizes: C 2  0

5 M/G/k mean delay analysis Lets take a step back: M/G/1

6 M/G/k mean delay analysis Lets take a step back: M/G/1

7 M/G/k mean delay analysis Lee and Longton (1959) –Simple and closed-form –Involves only first two moments of S –Exact for k=1 –Asymptotically exact in heavy traffic [Köllerström[74]] No exact analysis exists All closed-form approximations involve only the first two moments of S –Takahashi[77], Hokstad[78], Nozaki Ross[78], Boxma Cohen Huffels[79], Whitt [93], Kimura[94]

8 But… Q1: Are 2 moments of S enough to reasonably approximate E[Delay]? Does the third moment have no/negligible effect? Q2: How inaccurate can a 2-moment approximation be? Q3: Are 3 moments enough? 4 moments?

9 Outline Q1: Are 2 moments of S enough to reasonably approximate E[Delay]? Does the third moment have no/negligible effect? Q2: How inaccurate can a 2-moment approximation be? Q3: Are 3 moments enough? 4 moments?

10 H2H2 The H 2 class has three degrees of freedom Can vary E[ S 3 ] while keeping first two moments constant Can numerically evaluate M/H 2 /k using the matrix analytic method

11 E[Delay] vs. E[ S 3 ] k=10, E[ S ]=1, C 2 =19,  =0.9 E[Delay] E[S3]E[S3] X moment approx E[Delay] M/H 2 /k

12 X10 4 E[S3]E[S3] E[Delay] E[Delay] M/H 2 /k 2-moment approx E[ S 3 ] can have a huge impact on mean delay! The mean delay decreases as E[ S 3 ] increases!

13  x) Intuition for the effect of E[ S 3 ]  x) = load due to jobs smaller than x E[ S ]=1C 2 =19 x

14  x) E[ S 3 ]=600 Intuition for the effect of E[ S 3 ]  x) = load due to jobs smaller than x E[ S ]=1C 2 =19 x

15  x) E[ S 3 ]=600 E[ S 3 ]=700 Intuition for the effect of E[ S 3 ]  x) = load due to jobs smaller than x E[ S ]=1C 2 =19 x

16  x) E[ S 3 ]=600 E[ S 3 ]=700 E[ S 3 ]=1200 Intuition for the effect of E[ S 3 ]  x) = load due to jobs smaller than x E[ S ]=1C 2 =19 x

17 E[ S 3 ]=600 E[ S 3 ]=700 E[ S 3 ]=1200 E[ S 3 ]=15000  x) = load due to jobs smaller than x E[ S ]=1C 2 =19 Intuition for the effect of E[ S 3 ] x  x)

18 As E[ S 3 ] increases (with fixed E[ S ] and E[ S 2 ]): Load gets ‘concentrated’ on small jobs Load due to ‘big’ jobs vanishes Bigs become rarer, usually see small jobs only Causes drop in E[Delay] M/H 2 /k x  x) Increasing E[ S 3 ] Intuition for the effect of E[ S 3 ]

19 X10 4 E[S3]E[S3] E[Delay] E[Delay] vs. E[ S 3 ] k=10, E[ S ]=1, C 2 =19,  =0.9 E[Delay] M/H 2 /k 2-moment approx

20 Outline Q1: Are 2 moments of S enough to reasonably approximate E[Delay]? Does the third moment have no/negligible effect? Q2: How inaccurate can a 2-moment approximation be? Q3: Are 3 moments enough? 4 moments?

21 Outline Q1: Are 2 moments of S enough to reasonably approximate E[Delay]? Does the third moment have no/negligible effect? Q2: How inaccurate can a 2-moment approximation be? Q3: Are 3 moments enough? 4 moments?

22 {G|C 2 } ≡ positive distributions with mean 1 and SCV C 2 E[Delay] G1G1 G2G2 GAP  Error of 2-moment approx

23 Our Theorems Upper bound Lower bound –  <1-1/k –   1-1/k

24 E[Delay] GAP

25 E[Delay] Conjecture

26 Outline Q1: Are 2 moments of S enough to reasonably approximate E[Delay]? Does the third moment have no/negligible effect? Q2: How inaccurate can a 2-moment approximation be? Q3: Are 3 moments enough? 4 moments?

27 Outline Q1: Are 2 moments of S enough to reasonably approximate E[Delay]? Does the third moment have no/negligible effect? Q2: How inaccurate can a 2-moment approximation be? Q3: Are 3 moments enough? 4 moments?

28 What about higher moments? {G|C 2 } H2H2 H*3H*3 H * 3 class has four degrees of freedom Can vary E[ S 4 ] while keeping first three moments constant

29 X10 4 E[S3]E[S3] E[Delay] Increasing fourth moment E[Delay] vs. E[ S 4 ] k=10, E[S]=1, C 2 =19,  =0.9 E[Delay] M/H 2 /k 2-moment approx

30 X10 4 E[S3]E[S3] E[Delay] Increasing fourth moment E[Delay] M/H 2 /k 2-moment approx Even E[ S 4 ] can have a significant impact on mean delay! High E[ S 4 ] can nullify the effect of E[ S 3 ]!

31 E[Delay] The BIG picture (Conjecture) LB 1 =E[Delay] M/D/k UB 1,2 =(C 2 +1)E[Delay] M/D/k LB 1,2,3 UB 1,2,3,4 LB 1,2,3,4,5 Odd/Even moments refine the Lower/Upper bounds on mean delay

32 Outline Q1: Are 2 moments of S enough to reasonably approximate E[Delay]? Does the third moment have no/negligible effect? Q2: How inaccurate can a 2-moment approximation be? Q3: Are 3 moments enough? 4 moments?

33 Conclusions Shown that 2-moment approximations for M/G/k are insufficient Shown bounds on inaccuracy of 2-moment only approximations –(C 2 +1)/2 inaccuracy factor Observed alternating effects of odd and even moments

34 Thank you!

35 Open Questions Proof (or counter-example) of conjectures on bounds Are there other attributes of service distribution that characterize it better than moments? –For example, mean and variability of small and big jobs Where do real world service distributions sit with respect to these attributes?

36 {G|C 2 } ≡ positive distributions with mean 1 and SCV C 2 H2H2 The H 2 class has three degrees of freedom (  s,  p, p s ) Can vary E[ S 3 ] while holding first two moments constant

37 Look at the moments of H 2 … Load due to big jobs vanishes as E[ S 3 ] increases When k>1, a big job does not block small jobs This reduces the effect of variability (C 2 ) as third moment increases

38 Observations  < 1-1/k  UB/LB  (C 2 +1) –No 2-moment approximation can be accurate in this case [Kiefer Wolfowitz] [Scheller-Wolf]: When  > 1-1/k, E[Delay] is finite iff C 2 is finite. –Matches with the conjectured lower bound –Also popular as the “0 spare server” case

39 What about higher moments? {G|C 2 } H2H2 H*3H*3 H*3H*3 H * 3 allows control over fourth moment while holding first three moments fixed The fourth moment is minimized when p 0 =0 (H 2 distribution)

40 E[Delay]   0 H * has the smallest third moment in H n  {G|C 2 } third moment   as   0

41 Proof outline: Upper bound THEOREM: PROOF: Consider the following service distribution Intuition for conjecture: k>1 should mitigate the effect of variability; D * exposes it completely Note: D * has the smallest third moment in {G|C 2 }

42 Proof outline: Lower bound THEOREM: –  < 1-1/k –   1-1/k PROOF: Consider the following sequence of service distributions in {G|C 2 } as   0

43 E[Delay]   0 D * has the smallest third moment in {G|C 2 } third moment   as   0

44 E[Delay] Conjecture

45 E[Delay] GAP