Presentation is loading. Please wait.

Presentation is loading. Please wait.

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.

Similar presentations


Presentation on theme: "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."— Presentation transcript:

1 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 2 Multi-server/resource sharing systems are the norm today Multicore chips Call centers Server Farms

3 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 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 5 M/G/k mean delay analysis Lets take a step back: M/G/1

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

7 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 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 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 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 11 E[Delay] vs. E[ S 3 ] k=10, E[ S ]=1, C 2 =19,  =0.9 E[Delay] E[S3]E[S3] X10 4 2-moment approx E[Delay] M/H 2 /k

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

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

24 24 E[Delay] GAP

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

26 26 E[Delay] Conjecture

27 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 28 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?

29 29 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

30 30 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

31 31 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 ]!

32 32 E[Delay] The BIG picture 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

33 33 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?

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

35 35 Thank you!

36 36 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?

37 37 {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

38 38 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

39 39 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

40 40 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 }

41 41 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

42 42 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)


Download ppt "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."

Similar presentations


Ads by Google