System Provisioning.

Slides:



Advertisements
Similar presentations
Modeling of Data. Basic Bayes theorem Bayes theorem relates the conditional probabilities of two events A, and B: A might be a hypothesis and B might.
Advertisements

Lecture 10 Queueing Theory. There are a few basic elements common to almost all queueing theory application. Customers arrive, they wait for service in.
Modeling and Dimensioning of Mobile Networks: from GSM to LTE
Maciej Stasiak, Mariusz Głąbowski Arkadiusz Wiśniewski, Piotr Zwierzykowski Groups models Modeling and Dimensioning of Mobile Networks: from GSM to LTE.
IE 429, Parisay, January 2003 Review of Probability and Statistics: Experiment outcome: constant, random variable Random variable: discrete, continuous.
Maciej Stasiak, Mariusz Głąbowski Arkadiusz Wiśniewski, Piotr Zwierzykowski Modeling of Overflow Traffic Systems Modeling and Dimensioning of Mobile Networks:
1 Chapter 8 Queueing models. 2 Delay and Queueing Main source of delay Transmission (e.g., n/R) Propagation (e.g., d/c) Retransmission (e.g., in ARQ)
Author: Wayne Grover (materials set in PowerPoint by J. Doucette 2002) 1 Alternate Routing Other H. U. C Alternate Route AB High Usage Route (Direct Route)
Nur Aini Masruroh Queuing Theory. Outlines IntroductionBirth-death processSingle server modelMulti server model.
Previously Optimization Probability Review Inventory Models Markov Decision Processes.
Chap. 20, page 1051 Queuing Theory Arrival process Service process Queue Discipline Method to join queue IE 417, Chap 20, Jan 99.
ECS 152A Acknowledgement: slides from S. Kalyanaraman & B.Sikdar
Multiple server queues In particular, we look at M/M/k Need to find steady state probabilities.
Fundamental Characteristics of Queues with Fluctuating Load VARUN GUPTA Joint with: Mor Harchol-Balter Carnegie Mellon Univ. Alan Scheller-Wolf Carnegie.
Rensselaer Polytechnic Institute © Shivkumar Kalvanaraman & © Biplab Sikdar1 ECSE-4730: Computer Communication Networks (CCN) Network Layer Performance.
Fundamental Characteristics of Queues with Fluctuating Load (appeared in SIGMETRICS 2006) VARUN GUPTA Joint with: Mor Harchol-Balter Carnegie Mellon Univ.
Queuing Networks. Input source Queue Service mechanism arriving customers exiting customers Structure of Single Queuing Systems Note: 1.Customers need.
Moment Generating Functions 1/33. Contents Review of Continuous Distribution Functions 2/33.
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  …
Flows and Networks Plan for today (lecture 5): Last time / Questions? Blocking of transitions Kelly / Whittle network Optimal design of a Kelly / Whittle.
Copyright ©: Nahrstedt, Angrave, Abdelzaher, Caccamo1 Queueing Systems.
DATA ANALYSIS Module Code: CA660 Lecture Block 3.
Further distributions
Statistics for Engineer Week II and Week III: Random Variables and Probability Distribution.
CS433 Modeling and Simulation Lecture 13 Queueing Theory Dr. Anis Koubâa 03 May 2009 Al-Imam Mohammad Ibn Saud University.
MIT Fun queues for MIT The importance of queues When do queues appear? –Systems in which some serving entities provide some service in a shared.
Introduction to Operations Research
Networks of Queues Plan for today (lecture 6): Last time / Questions? Product form preserving blocking Interpretation traffic equations Kelly / Whittle.
Queueing Theory What is a queue? Examples of queues: Grocery store checkout Fast food (McDonalds – vs- Wendy’s) Hospital Emergency rooms Machines waiting.
TexPoint fonts used in EMF.
M/M/1 queue λn = λ, (n >=0); μn = μ (n>=1) λ μ λ: arrival rate
EE6610: Week 6 Lectures.
An Optimal Design of the M/M/C/K Queue for Call Centers
State N 2.6 The M/M/1/N Queueing System: The Finite Buffer Case.
Approximating the Performance of Call Centers with Queues using Loss Models Ph. Chevalier, J-Chr. Van den Schrieck Université catholique de Louvain.
M/M/1 Queues Customers arrive according to a Poisson process with rate. There is only one server. Service time is exponential with rate  j-1 jj+1...
The M/M/ N / N Queue etc COMP5416 Advanced Network Technologies.
CSCI1600: Embedded and Real Time Software Lecture 19: Queuing Theory Steven Reiss, Fall 2015.
Maciej Stasiak, Mariusz Głąbowski Arkadiusz Wiśniewski, Piotr Zwierzykowski Model of the Nodes in the Packet Network Chapter 10.
Review of Statistical Terms Population Sample Parameter Statistic.
Copyright ©: Nahrstedt, Angrave, Abdelzaher, Caccamo1 Queueing Systems.
Waiting Line Theory Akhid Yulianto, SE, MSc (log).
Introduction Definition M/M queues M/M/1 M/M/S M/M/infinity M/M/S/K.
Queuing Theory.  Queuing Theory deals with systems of the following type:  Typically we are interested in how much queuing occurs or in the delays at.
Random Variables r Random variables define a real valued function over a sample space. r The value of a random variable is determined by the outcome of.
Mohammad Khalily Islamic Azad University.  Usually buffer size is finite  Interarrival time and service times are independent  State of the system.
Queueing Theory II.
Standard Errors Beside reporting a value of a point estimate we should consider some indication of its precision. For this we usually quote standard error.
Models of Traffic Flow 1.
Serve Assignment Policies
CTMCs & N/M/* Queues.
Queueing Theory What is a queue? Examples of queues:
B.Ramamurthy Appendix A
Internet Queuing Delay Introduction
Birth-Death Process Birth – arrival of a customer to the system
Queuing models Basic definitions, assumptions, and identities
Delays Deterministic Stochastic Assumes “error free” type case
Probability & Statistics Probability Theory Mathematical Probability Models Event Relationships Distributions of Random Variables Continuous Random.
System Performance: Queuing
The Regression Model Suppose we wish to estimate the parameters of the following relationship: A common method is to choose parameters to minimise the.
TexPoint fonts used in EMF.
“Sizing the Direct Route”
Queueing Theory II.
Delays Deterministic Stochastic Assumes “error free” type case
Queueing networks.
Queueing Theory 2008.
CSE 550 Computer Network Design
The Binomial Distributions
Processor Sharing Queues
Erlang, Hyper-exponential, and Coxian distributions
Presentation transcript:

System Provisioning

Provisioning a Multi-Server System Consider and M/M/k system with a load R =λ/μ How big should k be to ensure a queueing probability less than α? Square-root staffing rule states kα ≈ R + c  R½ where c is the solution of the equation αc(c) = (1-α)(c), with (c) the c.d.f. of the standard Normal distribution and (c) its p.d.f. Derivation relies on relationship between blocking in an M/M/k/k system and queueing in the corresponding M/M/k system, and the fact that the Normal distribution is a good approximation for the Poisson distribution when the mean of the Poisson distribution is large

Blocking in Overflow Systems M/M/m/m 1 2 m1 Consider a system with m1 primary servers and m2 secondary servers Arrivals are Poisson with rate λ, and service times are exponentially distributed with parameter μ (a= λ/ μ) The secondary servers are used only when the primary servers are all full If all servers are full, job is blocked Arrivals to secondary system are NOT POISSON What is the blocking probability of the jobs sent to the secondary servers? λ primary λ * Pfull 1 2 m2 secondary

Blocking in Overflow Systems 1 2 m1 Blocking in overall system is B(a,m1+m2) Blocked traffic intensity is aB(a,m1+m2) Overflow traffic intensity is a’ = aB(a,m1) Blocking of overflow traffic is Bo=[aB(a,m1+m2)]/aB(a,m1) = B(a,m1+m2))/B(a,m1) Can show that Bo>B(a’,m2) a primary aB(a,m1) 1 2 m2 secondary

Example Total traffic a =50 Primary system: m1 = 50 servers Secondary system: m2 = 5 servers Overflow traffic: a’ = 50 * B(50,50) = 5.24 Overall blocked traffic: b = 50 * B(50,55) = 2.69 Blocking of overflow traffic: Bo = 0.513 Blocking if Poisson: BP = B(5.24,5) = 0.304 < 0.513

Approximating Blocking in Non-Poisson Systems (including Overflow) Two main approaches Hayward approximation Wilkinson Equivalent Random Theory (ERT) Method Both rely on the notion of traffic “peakedness” Consider offering traffic to an infinite server system The peakedness, z, is the ratio of the variance of the number of servers occupied by the traffic to the mean number of servers occupied by the traffic: z = Var[N]/E[N] For Poisson traffic, z = 1 (the distribution of the number of busy server in an M/M/∞ queue is Poisson) For overflow traffic of system of m1 servers offered a units of traffic z = 1-a’+a/(m1+1- a+a’), where a’=B(a,m1)

Peakedness

Hayward’s Approximation Let c be capacity (# servers) for a single job R = Nc is total capacity used by N jobs Poisson: E[N] = a and Var[N] = a E[R] = E[cN] = c  a; Var[R] = Var[c  N] = c2  a Non-Poisson: E[N] = a and Var[N] = v E[R] = c  a; Var[R] = c2  v Replace non-Poisson traffic by an “equivalent” Poisson traffic (a',c‘) E[R] = E[R']  a'  c' = a  c Var[R] = Var[R']  a'  c'2= v  c2 This yields a' = a2/v (equivalent intensity) c' = c  v/a (equivalent per job capacity) Note: a' c' = ac (same traffic intensity) Non-Poisson system with m servers and traffic intensity a is modeled as an equivalent system with m' = (m  c)/c' = m  a/v servers a' = a2/v (input traffic) Blocking probability approximation BNP(a,m) = B(a',m’) = B(a2/v,m  a/v)  BNP(a,m) = B(a/z,m/z) where z = v/a, the overflow traffic peakedness As peakedness increases, the system size decreases while keeping the load constant, and blocking increases

ERT Method BNP = B(a*,m+m*)/B(a*,m*) 1 2 m* a* a, v Similar premises as Hayward’s approximation Non-Poisson traffic of intensity a and peakedness z = v/a Model non-Poisson traffic (a,v) as overflow from Poisson traffic of intensity a* offered to m* servers a = a*  B(a*,m*) v = a[1-a+a*/(m*+1-a*+a)] Solving for a* and m* is numerical in nature Possible approximation (inaccurate if a is small and z is large) a* = v + 3z(z-1) m* = [a*(a+z)]/[a+z-1] – a - 1 Estimate of blocking for non-Poisson traffic offered to m servers BNP = B(a*,m+m*)/B(a*,m*)