# Stochastic Processes and Queueing Theory used in Cloud Computer Performance Simulations

Save this PDF as:

Size: px
Start display at page:

Download "Stochastic Processes and Queueing Theory used in Cloud Computer Performance Simulations"

## Transcription

1 56 Stochastic Processes and Queueing Theory used in Cloud Computer Performance Simulations Stochastic Processes and Queueing Theory used in Cloud Computer Performance Simulations Florin-Cătălin ENACHE Bucharest University of Economic Studies The growing character of the cloud business has manifested exponentially in the last 5 years. The capacity managers need to concentrate on a practical way to simulate the random demands a cloud infrastructure could face, even if there are not too many mathematical tools to simulate such demands.this paper presents an introduction into the most important stochastic processes and queueing theory concepts used for modeling computer performance. Moreover, it shows the cases where such concepts are applicable and when not, using clear programming examples on how to simulate a queue, and how to use and validate a simulation, when there are no mathematical concepts to back it up. Keywords: capacity planning, capacity management, queueing theory, statistics, metrics Introduction During the last years, the types and complexity of people s needs increased fast. In order to face all changes, the technology had to develop new ways to fulfill the new demands. Therefore, I take a deeper look into the basic terms needed for understanding the stochastic analysis and the queueing theory approaches for computers performance models. The most important distribution for analyzing computer performance models is the exponential distribution, while the most representative distribution for statistical analysis is the Gaussian (or normal) distribution. For the purpose of this article, an overview of the exponential distribution will be discussed.. The Poisson Process In probability theory, a Poisson process is a stochastic process that counts the number of events and the time points at which these events occur in a given time interval. The time between each pair of consecutive events has an exponential distribution with parameter λ and each of these inter-arrival times is assumed independent of other inter-arrival times. Considering a process for which requests arrive at random, it turns out that the density function that describes that random process is exponential. This derivation will turn out to be extremely important for simulations, in particular for applications modeling computer performance. A typical example is modeling the arrival of requests at a server. The requests are coming from a large unknown population, but the rate of arrival,λ can be estimated as the number of arrivals in a given period of time. Since it is not reasonable to model the behavior of the individuals in the population sending the requests, it can be safely assumed that the requests are generated independently and at random. Modeling such a process can help answering the question of how a system should be designed, in which requests arrive at random time points. If the system is busy, then the requests queue up, therefore, if the queue gets too long, the users might experience bad delays or request drops, if the buffers are not big enough. From a capacity planner point of view, it is important to know how build up a system that can handle requests that arrive at random and are unpredictable, except in a probability sense. To understand and to simulate such a process, a better understanding of its randomness is required. For example, considering the following time axis (as in the second figure), the random arrivals can be represented as in the figure below.

2 Database Systems Journal vol. VI, no. /05 57 Fig.. Random arrivals in time If X is the random variable representing the times between two consecutive arrivals (arrows), according to the PASTA Theorem(Poisson Arrivals See Time Averages)[], it is safe to assume that all X-es are probabilistically identical. Describing this randomness is equivalent to finding the density function of X that represents the time distance between two consecutive arrows. Fig..Interval of length divided into n intervals. The problem described above needs to be transformed so that it can be handled with known mathematical tools. Supposing that an arbitrary interval of length is chosen, then the probability of the time until the first arrival is longer than is P(X> ). This is by definition -F X ( ), where F X ( ) is the distribution function to be calculated. If time would be discrete, by dividing the interval between 0 and into n intervals, the calculating F X ( ) reduces to calculating the probability of no arrow in the first n intervals, and switching back to the continuous case by taking n. Let p be the probability that an arrow lands in any of the n time intervals, which is true for any of the n intervals since any of them is as likely as any other to have an arrow in it, then P( X t) ( p) > =, which is the probability on no arrow, -p, in the first n intervals. As mentioned, when + taking n, p 0 and np = λt. The equality np = λt represents the average number of arrows in n intervals np which is equal to the average number of arrows calculated as λ t - the arrival rate multiplied by the length of the interval.after switching to the continuous case, it is derived that: n λt P( X > t) = lim( p) = lim( ) ======== e n 443 n n λt n n n p + 0 t > 0 x x np= λt lim + = e n n () Which is equivalent to 0,( t < 0) P( X t) = P( X > t) = λt e,( t 0) d 0,( t < 0) and f X ( t) = FX ( t) = () λt dt λe,( t 0). The exponential distribution. The random variable X derived from the Poisson process studied in section. of this paper is called exponential with the parameter ( X~Exp( ) ).The probability density function(pdf) of X is defined as f X ( )=, which plots as in the figure below for different values of the parameter.

3 58 Stochastic Processes and Queueing Theory used in Cloud Computer Performance Simulations Fig.3. PDF for in (0.5,.0,.5) Integrating by parts,it is easy to demonstrate the property that λt λe dt = 0, which is actually obvious, since the sum of all probabilities of a random variable X has to add up to.if X~Exp( ) then the following properties are true[] : The expected value the random variable X, λt E(X)= tλe dt = (3), λ 0 Expected value of X, E(X )= λt t λe dt = (4) and λ 0 The variance of X, V(X)=E(X ) [E(X)] = = λ λ λ (5). When used in simulating computer performance models,the parameter λ denotes usually the arrival rate. From the properties of the exponential distribution, it can be deduced that the higher the arrival rate λ is, the smaller are the expected value E(X) and variance V(X) of the exponentially distributed random variable X. 3.. Introduction to the Queueing Theory M/G/ Problem FIFO Assumption Considering a system where demands are coming are random, but the resources are limited,the classic queueing problem is how to describe the system as a function of random demands. Moreover, the service times of each request are also random, as in figure 4: Fig. 4. Random arrivals with random service times From a request point of view, when a new request arrives, it has two possibilities: It arrives and the server is available. Then it keeps the server busyfor a random amount of time until the request is processed, or Typical case, when a request arrives, it finds a queue in front of it, and it needs to wait. The queueing theory helps answering questions like what is the average time that a request spends waiting in queue before it is serviced. The time a request must wait is equal to the sum of the service times for every request that is in the queue in front of the current request plus the remaining partial service time of the customer that

4 Database Systems Journal vol. VI, no. /05 59 was in service at the time of the arrival of the current request. Calculating the expected waiting time of the new requestmathematically, it would be the sum(further named convolution ) of the density functions of each of the service time requirements of the requests in the queue, which could be any number of convolutions, plus the convolution with the remaining partial service time of the customer that was in service at the time of the arrival of the current request. Furthermore, the number of terms in the convolution, meaning the number of requests waiting in the queue, is itself a random variable[]. On the other side, looking at the time interval between the arrival and the leave of the n th request, it helps in developing a recursive way of estimating the waiting times. The n th request arrives at time T n and, in general, it waits for a certain amount of time noted in the below figure with W n. This will be 0 if the request arrives when the server is idle, because the request is being served immediately. To enforce the need of queueing theory, in real-life, a request arrives typically when the server is busy, and it has to wait. After waiting, the request gets serviced for a length of time X n, and then leaves the system. Fig. 5. Representation for calculating the waiting time, depending on the arrival of the (n+)th customer Recursively, when the next customer arrives, there are possibilities: The arrival can occur after the n th request was already serviced, therefore W n+ =0 (explained in the right grey-boxed part of figure 5), or The arrival occurs after T n but before the n th request leaves the system. From the fifth figure the waiting time of the (n+) th request is deduced as the distance between its arrival and the moment when the n th request leaves the system, mathematically represented as W n+ =W n +X n -IA n+, where IA n+ is the inter-arrival time between the n th and (n+) th request.this can be easily translated into a single instruction that can be solved recursively using any modern programming language. 3.. Performance measurements for the M/G/ queue If λ is the arrival rate and X is the service time, the server utilization is given by: λe( X ), if λe( X ) < ρ =, otherwise (6) Moreover, if the arrivals are described by a Poisson process, the probability that a request must wait in a queue is P W > 0 = ρ (7), and the mean waiting ( ) time is given by the Pollaczek-Khintchin formula[3] : ρ E( X ) V ( X ) E ( W ) = * ( + ) ρ E ( X ) (8) In addition, if the service times are exponentially distributed and the service follows the FIFO principle ( first-in-firstout, also knows as FCFS, first-comefirst-serve ), then the distribution function

5 60 Stochastic Processes and Queueing Theory used in Cloud Computer Performance Simulations of the waiting time is given by the following formula[]: 0, t < 0 FW ( t) = ( p) t ( ) ρe E X, t 0 (9) There is no simple formula for F w (t)when the service times are not exponentially distributed, but using computer simulation can help developing such models, after validating classic models as the one above. 4.. Software simulation of the Queueing Problem As described previously, modeling the M/G/ queue can be done by using a recursive algorithm by generating the inter-arrival time and the service times using the Inverse Transform Method[4]. The following lines written in the BASIC programming language simulate such an algorithm, although almost any programming language could be used. 00 FOR I= to IA= inter-arrival times to be generated 0 T=T+IA time of the next arrival 30 W=W+X-IA recursive calculation of waiting times 40 IF W<0 THEN W=0 50 IF W>0 THEN C=C+ count all requests that wait 60 SW=SW+W sum of waiting times for calculating E(W) 70 X= service times to be generated 80 SX=SX+X sum of service times for calculating Utilization 90 NEXT I 00 PRINT SX / T, C / 0000, SW / 0000 print Utilization, P(W) and E(W) 4.. Generating random service and inter-arrival times using the Inverse Transform Method Assuming that the computer can generate independent identically distributed values that are uniformly distributed in the interval (0,), a proper method of generating random variable values according to any specified distribution function is using the Inverse Transform Method. To generate the random number X, it is enough to input the randomcomputer generated number on the vertical axis andto project the value over the distribution function G, where G is the desired distribution to be generated. Projecting the point from the G graph furtherdown on the horizontal axis, delivers the desired randomly distributed values described by the G density function.this method is practically reduced to finding the inverse function of the distribution function of the distribution according to which the numbers are generated.by plugging in the computer randomly generated numbers, a new random variable is generated with has its distribution function G(u) [4]. This procedure is schematically described in the below figure. Fig.6. Illustration of the Inverse Transform Method

6 Database Systems Journal vol. VI, no. /05 6 For example, for a Poisson process of arrivals that are exponentially distributed with parameter λ, where λ is the arrival rate and E( IA) λ =, according to the Inverse Transform Method, a value of λ=.6 arrivals per second is derived, equivalent to anaverage inter-arrival time 5 of = seconds. For λ 8 u G( u) = e = R with u 0, it is λ λ deduced that G ( R) = / λ ln( R) where R is the computer generated value. Therefore, the instruction 0 from section 3 of this paper becomes:0 IA=- (5/8)*LOG(-RND), where RND is the BASIC function that generate values uniformly distributed between 0 and.of course, any programming language that is able to generate random independent identically distributed numbersbetween 0 and can be used for simulation. 5. Comparing the mathematical solution of the queueing problemwith the computer simulation To illustrate the applicability of the software simulation, 4 different arrival times distributions are analyzed :. Exponential service time, with mean service time E(X)=0.5. Constant service time, X= Uniformly identical distributed service times between 0 and, X~U(0,) 4. Service times of /3 have a probability of 90%,and service times of have a probability of 0%. For all 4 simulations, exponential distributed inter-arrivals with λ=.6 are used as derived in 4. section. All calculations in the following table are done according to the formulas presented in section 3.. Table. Comparison between the mathematical and simulated results ρ P(W>0) P(W>0.5) E(W) X Formula of Theory Simulation Theory Simulation Theory Simulation Theory Simulation X *LOG(- RND) NA RND NA 0.665,(3) q = RND: NA IF q <= 0.9 THEN X = / 3 ELSE X =

7 6 Stochastic Processes and Queueing Theory used in Cloud Computer Performance Simulations All 4 simulations have been chosen in such way that E(X)=0.5, and the distinction is done by choosing the service times with different distributions. Since the utilization is directly dependent on the arrival rate and mean arrival times, it is equal with 80% in all 4 cases. According to (7), the probability of waiting is also equal to 80% in all 4 cases. In this simulation, the mean waiting time, as deduced from the Pollaczek- Khintchin(8) formula, confirms the accuracy of the simulation model, and gives insights also for the other cases, offering a clear approximation of the behavior of the designed system. It is interesting to observe that mean waiting time when having exponential service times is double in comparison with the mean waiting time when having constant service times, although the mean service time, the utilization and the probability of waiting are equal in both cases. 6. Conclusions Based on all information presented in this paper, I can conclude that computer simulation is an important tool for the analysis of queues whose service times have any arbitrary specified distribution. In addition, the theoretical results for the special case of exponential service times(8) are extremely important because they can be used to check the logic and accuracy of the simulation, before extending it to more complex situations. Moreover, such a simulation gives insight on how such a queue would behave as a result of different service times. Further, I consider that it offers a methodology for looking into more complicated cases, when a mathematical approach cannot help. References [] R. B. Cooper, Introduction to Queueing Theory, Second Edition. New York: North Holland, 98, pp []S. Ghahramani, Fundamentals of Probability with Stochastic Processes, Third Edition. Upper Saddle River, Pearson Prentice Hall 005, pp [3] L. Lakatos, A note on the Pollaczek- Khinchin Formula, Annales Univ. Sci. Budapest., Sect. Comp. 9 pp. 83-9, 008. [4]K. Sigman, Inverse Transform Method. Available : Sigman/4404-Notes-ITM.pdf [January 5, 05]. [5] K. Sigman, Exact Simulation of the stationary distribution of the FIFO M/G/c Queue, J. Appl. Spec. Vol. 48A, pp. 09-3, 0, Available : UESTA-KS-Exact.pdf [January 0, 05] Florin-Catalin ENACHEgraduated from the Faculty of Cybernetics, Statistics and Economic Informatics of the Academy of Economic Studies in 008. Starting 00 he holds a MASTER degree in the field of Economic Informatics, in the area of Maximum Availability Architecture. His main domains of interest are : Computer Sciences, Database Architecture and Cloud Performance Management. Since 04 he is a PhD. Candidate at the Bucharest University of Economic Studies, focusing his research on Performance management in Cloud environments.

### Important Probability Distributions OPRE 6301

Important Probability Distributions OPRE 6301 Important Distributions... Certain probability distributions occur with such regularity in real-life applications that they have been given their own names.

### Load Balancing and Switch Scheduling

EE384Y Project Final Report Load Balancing and Switch Scheduling Xiangheng Liu Department of Electrical Engineering Stanford University, Stanford CA 94305 Email: liuxh@systems.stanford.edu Abstract Load

### IEOR 6711: Stochastic Models, I Fall 2012, Professor Whitt, Final Exam SOLUTIONS

IEOR 6711: Stochastic Models, I Fall 2012, Professor Whitt, Final Exam SOLUTIONS There are four questions, each with several parts. 1. Customers Coming to an Automatic Teller Machine (ATM) (30 points)

### Analysis of a Production/Inventory System with Multiple Retailers

Analysis of a Production/Inventory System with Multiple Retailers Ann M. Noblesse 1, Robert N. Boute 1,2, Marc R. Lambrecht 1, Benny Van Houdt 3 1 Research Center for Operations Management, University

### M/M/1 and M/M/m Queueing Systems

M/M/ and M/M/m Queueing Systems M. Veeraraghavan; March 20, 2004. Preliminaries. Kendall s notation: G/G/n/k queue G: General - can be any distribution. First letter: Arrival process; M: memoryless - exponential

### Performance Analysis of a Telephone System with both Patient and Impatient Customers

Performance Analysis of a Telephone System with both Patient and Impatient Customers Yiqiang Quennel Zhao Department of Mathematics and Statistics University of Winnipeg Winnipeg, Manitoba Canada R3B 2E9

### 2WB05 Simulation Lecture 8: Generating random variables

2WB05 Simulation Lecture 8: Generating random variables Marko Boon http://www.win.tue.nl/courses/2wb05 January 7, 2013 Outline 2/36 1. How do we generate random variables? 2. Fitting distributions Generating

### Contents. TTM4155: Teletraffic Theory (Teletrafikkteori) Probability Theory Basics. Yuming Jiang. Basic Concepts Random Variables

TTM4155: Teletraffic Theory (Teletrafikkteori) Probability Theory Basics Yuming Jiang 1 Some figures taken from the web. Contents Basic Concepts Random Variables Discrete Random Variables Continuous Random

### Discrete-Event Simulation

Discrete-Event Simulation Prateek Sharma Abstract: Simulation can be regarded as the emulation of the behavior of a real-world system over an interval of time. The process of simulation relies upon the

### 4 The M/M/1 queue. 4.1 Time-dependent behaviour

4 The M/M/1 queue In this chapter we will analyze the model with exponential interarrival times with mean 1/λ, exponential service times with mean 1/µ and a single server. Customers are served in order

### Implementing an Approximate Probabilistic Algorithm for Error Recovery in Concurrent Processing Systems

Implementing an Approximate Probabilistic Algorithm for Error Recovery in Concurrent Processing Systems Dr. Silvia Heubach Dr. Raj S. Pamula Department of Mathematics and Computer Science California State

### Example: 1. You have observed that the number of hits to your web site follow a Poisson distribution at a rate of 2 per day.

16 The Exponential Distribution Example: 1. You have observed that the number of hits to your web site follow a Poisson distribution at a rate of 2 per day. Let T be the time (in days) between hits. 2.

### Performance Analysis, Autumn 2010

Performance Analysis, Autumn 2010 Bengt Jonsson November 16, 2010 Kendall Notation Queueing process described by A/B/X /Y /Z, where Example A is the arrival distribution B is the service pattern X the

### The CUSUM algorithm a small review. Pierre Granjon

The CUSUM algorithm a small review Pierre Granjon June, 1 Contents 1 The CUSUM algorithm 1.1 Algorithm............................... 1.1.1 The problem......................... 1.1. The different steps......................

### Supplement to Call Centers with Delay Information: Models and Insights

Supplement to Call Centers with Delay Information: Models and Insights Oualid Jouini 1 Zeynep Akşin 2 Yves Dallery 1 1 Laboratoire Genie Industriel, Ecole Centrale Paris, Grande Voie des Vignes, 92290

### BNG 202 Biomechanics Lab. Descriptive statistics and probability distributions I

BNG 202 Biomechanics Lab Descriptive statistics and probability distributions I Overview The overall goal of this short course in statistics is to provide an introduction to descriptive and inferential

### STT315 Chapter 4 Random Variables & Probability Distributions KM. Chapter 4.5, 6, 8 Probability Distributions for Continuous Random Variables

Chapter 4.5, 6, 8 Probability Distributions for Continuous Random Variables Discrete vs. continuous random variables Examples of continuous distributions o Uniform o Exponential o Normal Recall: A random

### Deployment of express checkout lines at supermarkets

Deployment of express checkout lines at supermarkets Maarten Schimmel Research paper Business Analytics April, 213 Supervisor: René Bekker Faculty of Sciences VU University Amsterdam De Boelelaan 181 181

### Overview of Monte Carlo Simulation, Probability Review and Introduction to Matlab

Monte Carlo Simulation: IEOR E4703 Fall 2004 c 2004 by Martin Haugh Overview of Monte Carlo Simulation, Probability Review and Introduction to Matlab 1 Overview of Monte Carlo Simulation 1.1 Why use simulation?

### Vilnius University. Faculty of Mathematics and Informatics. Gintautas Bareikis

Vilnius University Faculty of Mathematics and Informatics Gintautas Bareikis CONTENT Chapter 1. SIMPLE AND COMPOUND INTEREST 1.1 Simple interest......................................................................

### The Joint Distribution of Server State and Queue Length of M/M/1/1 Retrial Queue with Abandonment and Feedback

The Joint Distribution of Server State and Queue Length of M/M/1/1 Retrial Queue with Abandonment and Feedback Hamada Alshaer Université Pierre et Marie Curie - Lip 6 7515 Paris, France Hamada.alshaer@lip6.fr

### On the mathematical theory of splitting and Russian roulette

On the mathematical theory of splitting and Russian roulette techniques St.Petersburg State University, Russia 1. Introduction Splitting is an universal and potentially very powerful technique for increasing

### Multi-service Load Balancing in a Heterogeneous Network with Vertical Handover

1 Multi-service Load Balancing in a Heterogeneous Network with Vertical Handover Jie Xu, Member, IEEE, Yuming Jiang, Member, IEEE, and Andrew Perkis, Member, IEEE Abstract In this paper we investigate

### Introduction to Queueing Theory and Stochastic Teletraffic Models

Introduction to Queueing Theory and Stochastic Teletraffic Models Moshe Zukerman EE Department, City University of Hong Kong Copyright M. Zukerman c 2000 2015 Preface The aim of this textbook is to provide

### Worked examples Random Processes

Worked examples Random Processes Example 1 Consider patients coming to a doctor s office at random points in time. Let X n denote the time (in hrs) that the n th patient has to wait before being admitted

### Chapter 3 RANDOM VARIATE GENERATION

Chapter 3 RANDOM VARIATE GENERATION In order to do a Monte Carlo simulation either by hand or by computer, techniques must be developed for generating values of random variables having known distributions.

### 6. Distribution and Quantile Functions

Virtual Laboratories > 2. Distributions > 1 2 3 4 5 6 7 8 6. Distribution and Quantile Functions As usual, our starting point is a random experiment with probability measure P on an underlying sample spac

### Keywords: Dynamic Load Balancing, Process Migration, Load Indices, Threshold Level, Response Time, Process Age.

Volume 3, Issue 10, October 2013 ISSN: 2277 128X International Journal of Advanced Research in Computer Science and Software Engineering Research Paper Available online at: www.ijarcsse.com Load Measurement

### The Exponential Distribution

21 The Exponential Distribution From Discrete-Time to Continuous-Time: In Chapter 6 of the text we will be considering Markov processes in continuous time. In a sense, we already have a very good understanding

### Master s Theory Exam Spring 2006

Spring 2006 This exam contains 7 questions. You should attempt them all. Each question is divided into parts to help lead you through the material. You should attempt to complete as much of each problem

### Lesson 17: Graphing the Logarithm Function

Lesson 17 Name Date Lesson 17: Graphing the Logarithm Function Exit Ticket Graph the function () = log () without using a calculator, and identify its key features. Lesson 17: Graphing the Logarithm Function

### ENGINEERING SOLUTION OF A BASIC CALL-CENTER MODEL

ENGINEERING SOLUTION OF A BASIC CALL-CENTER MODEL by Ward Whitt Department of Industrial Engineering and Operations Research Columbia University, New York, NY 10027 Abstract An algorithm is developed to

### MATH 10: Elementary Statistics and Probability Chapter 5: Continuous Random Variables

MATH 10: Elementary Statistics and Probability Chapter 5: Continuous Random Variables Tony Pourmohamad Department of Mathematics De Anza College Spring 2015 Objectives By the end of this set of slides,

### ANALYZING NETWORK TRAFFIC FOR MALICIOUS ACTIVITY

CANADIAN APPLIED MATHEMATICS QUARTERLY Volume 12, Number 4, Winter 2004 ANALYZING NETWORK TRAFFIC FOR MALICIOUS ACTIVITY SURREY KIM, 1 SONG LI, 2 HONGWEI LONG 3 AND RANDALL PYKE Based on work carried out

### Continuous Random Variables

Continuous Random Variables COMP 245 STATISTICS Dr N A Heard Contents 1 Continuous Random Variables 2 11 Introduction 2 12 Probability Density Functions 3 13 Transformations 5 2 Mean, Variance and Quantiles

### Analysis of a production-inventory system with unreliable production facility

Analysis of a production-inventory system with unreliable production facility Katrien Ramaekers Gerrit K Janssens Transportation Research Institute Hasselt University - Campus Diepenbeek Wetenschapspark

### Single Workstation Factory Models

Chapter 3 Single Workstation Factory Models Throughout the analyses given in this textbook, emphasis is on the development of steady-state system measures such as the expected number of jobs in the system

### ESTIMATION OF CLAIM NUMBERS IN AUTOMOBILE INSURANCE

Annales Univ. Sci. Budapest., Sect. Comp. 42 (2014) 19 35 ESTIMATION OF CLAIM NUMBERS IN AUTOMOBILE INSURANCE Miklós Arató (Budapest, Hungary) László Martinek (Budapest, Hungary) Dedicated to András Benczúr

TEACHING SIMULATION WITH SPREADSHEETS Jelena Pecherska and Yuri Merkuryev Deptartment of Modelling and Simulation Riga Technical University 1, Kalku Street, LV-1658 Riga, Latvia E-mail: merkur@itl.rtu.lv,

### Senior Secondary Australian Curriculum

Senior Secondary Australian Curriculum Mathematical Methods Glossary Unit 1 Functions and graphs Asymptote A line is an asymptote to a curve if the distance between the line and the curve approaches zero

### Traffic Behavior Analysis with Poisson Sampling on High-speed Network 1

Traffic Behavior Analysis with Poisson Sampling on High-speed etwork Guang Cheng Jian Gong (Computer Department of Southeast University anjing 0096, P.R.China) Abstract: With the subsequent increasing

### Sums of Independent Random Variables

Chapter 7 Sums of Independent Random Variables 7.1 Sums of Discrete Random Variables In this chapter we turn to the important question of determining the distribution of a sum of independent random variables

### Renewal Theory. (iv) For s < t, N(t) N(s) equals the number of events in (s, t].

Renewal Theory Def. A stochastic process {N(t), t 0} is said to be a counting process if N(t) represents the total number of events that have occurred up to time t. X 1, X 2,... times between the events

### 3 SIMULATION BASICS. 3.1 Introduction. 3.2 Types of Simulation. Zeal without knowledge is fi re without light.

C H A P T E R 3 SIMULATION BASICS Zeal without knowledge is fi re without light. Dr. Thomas Fuller 3.1 Introduction Simulation is much more meaningful when we understand what it is actually doing. Understanding

### Performance Analysis of Computer Systems

Performance Analysis of Computer Systems Introduction to Queuing Theory Holger Brunst (holger.brunst@tu-dresden.de) Matthias S. Mueller (matthias.mueller@tu-dresden.de) Summary of Previous Lecture Simulation

### Lecture 8. Confidence intervals and the central limit theorem

Lecture 8. Confidence intervals and the central limit theorem Mathematical Statistics and Discrete Mathematics November 25th, 2015 1 / 15 Central limit theorem Let X 1, X 2,... X n be a random sample of

### Probabilities and Random Variables

Probabilities and Random Variables This is an elementary overview of the basic concepts of probability theory. 1 The Probability Space The purpose of probability theory is to model random experiments so

### Probability and statistics; Rehearsal for pattern recognition

Probability and statistics; Rehearsal for pattern recognition Václav Hlaváč Czech Technical University in Prague Faculty of Electrical Engineering, Department of Cybernetics Center for Machine Perception

### 18 Poisson Process 18 POISSON PROCESS 196. A counting process is a random process N(t), t 0, such that. 1. N(t) is a nonnegative integer for each t;

18 POISSON PROCESS 196 18 Poisson Process A counting process is a random process N(t), t 0, such that 1. N(t) is a nonnegative integer for each t;. N(t) is nondecreasing in t; and 3. N(t) is right-continuous.

### Decision Theory. 36.1 Rational prospecting

36 Decision Theory Decision theory is trivial, apart from computational details (just like playing chess!). You have a choice of various actions, a. The world may be in one of many states x; which one

### Process simulation. Enn Õunapuu enn.ounapuu@ttu.ee

Process simulation Enn Õunapuu enn.ounapuu@ttu.ee Content Problem How? Example Simulation Definition Modeling and simulation functionality allows for preexecution what-if modeling and simulation. Postexecution

### 1: B asic S imu lati on Modeling

Network Simulation Chapter 1: Basic Simulation Modeling Prof. Dr. Jürgen Jasperneite 1 Contents The Nature of Simulation Systems, Models and Simulation Discrete Event Simulation Simulation of a Single-Server

### Notes on the second moment method, Erdős multiplication tables

Notes on the second moment method, Erdős multiplication tables January 25, 20 Erdős multiplication table theorem Suppose we form the N N multiplication table, containing all the N 2 products ab, where

### 4/1/2017. PS. Sequences and Series FROM 9.2 AND 9.3 IN THE BOOK AS WELL AS FROM OTHER SOURCES. TODAY IS NATIONAL MANATEE APPRECIATION DAY

PS. Sequences and Series FROM 9.2 AND 9.3 IN THE BOOK AS WELL AS FROM OTHER SOURCES. TODAY IS NATIONAL MANATEE APPRECIATION DAY 1 Oh the things you should learn How to recognize and write arithmetic sequences

### A Load Balancing Algorithm based on the Variation Trend of Entropy in Homogeneous Cluster

, pp.11-20 http://dx.doi.org/10.14257/ ijgdc.2014.7.2.02 A Load Balancing Algorithm based on the Variation Trend of Entropy in Homogeneous Cluster Kehe Wu 1, Long Chen 2, Shichao Ye 2 and Yi Li 2 1 Beijing

### Basic Queueing Theory

Basic Queueing Theory Dr. János Sztrik University of Debrecen, Faculty of Informatics Reviewers: Dr. József Bíró Doctor of the Hungarian Academy of Sciences, Full Professor Budapest University of Technology

### Continuous Random Variables

Chapter 5 Continuous Random Variables 5.1 Continuous Random Variables 1 5.1.1 Student Learning Objectives By the end of this chapter, the student should be able to: Recognize and understand continuous

### 3. Continuous Random Variables

3. Continuous Random Variables A continuous random variable is one which can take any value in an interval (or union of intervals) The values that can be taken by such a variable cannot be listed. Such

### IB Mathematics SL :: Checklist. Topic 1 Algebra The aim of this topic is to introduce students to some basic algebraic concepts and applications.

Topic 1 Algebra The aim of this topic is to introduce students to some basic algebraic concepts and applications. Check Topic 1 Book Arithmetic sequences and series; Sum of finite arithmetic series; Geometric

### Summary of Probability

Summary of Probability Mathematical Physics I Rules of Probability The probability of an event is called P(A), which is a positive number less than or equal to 1. The total probability for all possible

### Queueing Systems. Ivo Adan and Jacques Resing

Queueing Systems Ivo Adan and Jacques Resing Department of Mathematics and Computing Science Eindhoven University of Technology P.O. Box 513, 5600 MB Eindhoven, The Netherlands March 26, 2015 Contents

### Internet Dial-Up Traffic Modelling

NTS 5, Fifteenth Nordic Teletraffic Seminar Lund, Sweden, August 4, Internet Dial-Up Traffic Modelling Villy B. Iversen Arne J. Glenstrup Jens Rasmussen Abstract This paper deals with analysis and modelling

### How Useful Is Old Information?

6 IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, VOL. 11, NO. 1, JANUARY 2000 How Useful Is Old Information? Michael Mitzenmacher AbstractÐWe consider the problem of load balancing in dynamic distributed

### Approximation of Aggregate Losses Using Simulation

Journal of Mathematics and Statistics 6 (3): 233-239, 2010 ISSN 1549-3644 2010 Science Publications Approimation of Aggregate Losses Using Simulation Mohamed Amraja Mohamed, Ahmad Mahir Razali and Noriszura

### CMSC 858T: Randomized Algorithms Spring 2003 Handout 8: The Local Lemma

CMSC 858T: Randomized Algorithms Spring 2003 Handout 8: The Local Lemma Please Note: The references at the end are given for extra reading if you are interested in exploring these ideas further. You are

### Basic Multiplexing models. Computer Networks - Vassilis Tsaoussidis

Basic Multiplexing models? Supermarket?? Computer Networks - Vassilis Tsaoussidis Schedule Where does statistical multiplexing differ from TDM and FDM Why are buffers necessary - what is their tradeoff,

### Queuing Formulas. 1 Notation 2. 2 Basic Queueing Formulas 2

Queuing Formulas Contents 1 Notation 2 2 Basic Queueing Formulas 2 3 Single-Server Queues 3 3.1 Formulas...................................... 3 3.2 Some additional useful facts...........................

### ISyE 6650 Probabilistic Models Fall Homework 5 Solution

ISyE 6650 Probabilistic Models Fall 2007 Homework 5 Solution 1. (Ross 5.3) Due to the memoryless property of the exponential distribution, the conditional distribution of X, given that X > 1, is the same

### Prentice Hall Mathematics: Algebra 1 2007 Correlated to: Michigan Merit Curriculum for Algebra 1

STRAND 1: QUANTITATIVE LITERACY AND LOGIC STANDARD L1: REASONING ABOUT NUMBERS, SYSTEMS, AND QUANTITATIVE SITUATIONS Based on their knowledge of the properties of arithmetic, students understand and reason

### SIMULATION. 1 Introduction. Jacques Resing

SIMULATION Jacques Resing 1 Introduction Many systems that we encounter in operation research applications are too complicated for an exact mathematical analysis. In those situations we can decide to make

### CORRELATED TO THE SOUTH CAROLINA COLLEGE AND CAREER-READY FOUNDATIONS IN ALGEBRA

We Can Early Learning Curriculum PreK Grades 8 12 INSIDE ALGEBRA, GRADES 8 12 CORRELATED TO THE SOUTH CAROLINA COLLEGE AND CAREER-READY FOUNDATIONS IN ALGEBRA April 2016 www.voyagersopris.com Mathematical

### Exponential Distribution

Exponential Distribution Definition: Exponential distribution with parameter λ: { λe λx x 0 f(x) = 0 x < 0 The cdf: F(x) = x Mean E(X) = 1/λ. f(x)dx = Moment generating function: φ(t) = E[e tx ] = { 1

### Continuous Random Variables and Probability Distributions. Stat 4570/5570 Material from Devore s book (Ed 8) Chapter 4 - and Cengage

4 Continuous Random Variables and Probability Distributions Stat 4570/5570 Material from Devore s book (Ed 8) Chapter 4 - and Cengage Continuous r.v. A random variable X is continuous if possible values

### Modeling and Performance Evaluation of Computer Systems Security Operation 1

Modeling and Performance Evaluation of Computer Systems Security Operation 1 D. Guster 2 St.Cloud State University 3 N.K. Krivulin 4 St.Petersburg State University 5 Abstract A model of computer system

### Review Exam Suppose that number of cars that passes through a certain rural intersection is a Poisson process with an average rate of 3 per day.

Review Exam 2 This is a sample of problems that would be good practice for the exam. This is by no means a guarantee that the problems on the exam will look identical to those on the exam but it should

### Optimal Hiring of Cloud Servers A. Stephen McGough, Isi Mitrani. EPEW 2014, Florence

Optimal Hiring of Cloud Servers A. Stephen McGough, Isi Mitrani EPEW 2014, Florence Scenario How many cloud instances should be hired? Requests Host hiring servers The number of active servers is controlled

### MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

Math 110 Review for Final Examination 2012 Name MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question. Match the equation to the correct graph. 1) y = -

### Random Variate Generation (Part 3)

Random Variate Generation (Part 3) Dr.Çağatay ÜNDEĞER Öğretim Görevlisi Bilkent Üniversitesi Bilgisayar Mühendisliği Bölümü &... e-mail : cagatay@undeger.com cagatay@cs.bilkent.edu.tr Bilgisayar Mühendisliği

### Key Words: Dynamic Load Balancing, and Distributed System

DYNAMIC ROTATING LOAD BALANCING ALGORITHM IN DISTRIBUTED SYSTEMS ROSE SULEIMAN AL DAHOUD ALI ISSA OTOUM Al-Zaytoonah University Al-Zaytoonah University Neelain University rosesuleiman@yahoo.com aldahoud@alzaytoonah.edu.jo

### Section 1.1 Real numbers. Set Builder notation. Interval notation

Section 1.1 Real numbers Set Builder notation Interval notation Functions a function is the set of all possible points y that are mapped to a single point x. If when x=5 y=4,5 then it is not a function

### LOGNORMAL MODEL FOR STOCK PRICES

LOGNORMAL MODEL FOR STOCK PRICES MICHAEL J. SHARPE MATHEMATICS DEPARTMENT, UCSD 1. INTRODUCTION What follows is a simple but important model that will be the basis for a later study of stock prices as

### Simple Queuing Theory Tools You Can Use in Healthcare

Simple Queuing Theory Tools You Can Use in Healthcare Jeff Johnson Management Engineering Project Director North Colorado Medical Center Abstract Much has been written about queuing theory and its powerful

### Hydrodynamic Limits of Randomized Load Balancing Networks

Hydrodynamic Limits of Randomized Load Balancing Networks Kavita Ramanan and Mohammadreza Aghajani Brown University Stochastic Networks and Stochastic Geometry a conference in honour of François Baccelli

### Information Theory (2)

Some Applications in Computer Science Jean-Marc Vincent MESCAL-INRIA Project Laboratoire d Informatique de Grenoble Universities of Grenoble, France Jean-Marc.Vincent@imag.fr LICIA - joint laboratory LIG

### Practical Calculation of Expected and Unexpected Losses in Operational Risk by Simulation Methods

Practical Calculation of Expected and Unexpected Losses in Operational Risk by Simulation Methods Enrique Navarrete 1 Abstract: This paper surveys the main difficulties involved with the quantitative measurement

### Lectures 5 & / Introduction to Queueing Theory

Lectures 5 & 6 6.263/16.37 Introduction to Queueing Theory MIT, LIDS Slide 1 Packet Switched Networks Messages broken into Packets that are routed To their destination PS PS PS PS Packet Network PS PS

### Software Reliability Nonlinear Modeling and Its Fuzzy Evaluation

Software Reliability Nonlinear Modeling and Its Fuzzy Evaluation GUO JUNHONG 1,2, YANG XIAOZONG 1, LIU HONGWEI 1 School of Computer Science and Engineering 1 Harbin Institute of Technology Harbin, Xidazhi

### Collatz Sequence. Fibbonacci Sequence. n is even; Recurrence Relation: a n+1 = a n + a n 1.

Fibonacci Roulette In this game you will be constructing a recurrence relation, that is, a sequence of numbers where you find the next number by looking at the previous numbers in the sequence. Your job

### Lectures 5-6: Taylor Series

Math 1d Instructor: Padraic Bartlett Lectures 5-: Taylor Series Weeks 5- Caltech 213 1 Taylor Polynomials and Series As we saw in week 4, power series are remarkably nice objects to work with. In particular,

### CHAPTER 5 STAFFING LEVEL AND COST ANALYSES FOR SOFTWARE DEBUGGING ACTIVITIES THROUGH RATE- BASED SIMULATION APPROACHES

101 CHAPTER 5 STAFFING LEVEL AND COST ANALYSES FOR SOFTWARE DEBUGGING ACTIVITIES THROUGH RATE- BASED SIMULATION APPROACHES 5.1 INTRODUCTION Many approaches have been given like rate based approaches for

### Evaluation and optimization of polling systems

Internship report Evaluation and optimization of polling systems Author: Jan-Pieter Dorsman Supervisor CWI: prof. dr. R.D. van der Mei Supervisors VU: dr. ir. E.M.M. Winands A. Roubos, MSc Internship

### This document is published at www.agner.org/random, Feb. 2008, as part of a software package.

Sampling methods by Agner Fog This document is published at www.agner.org/random, Feb. 008, as part of a software package. Introduction A C++ class library of non-uniform random number generators is available

### A Comparative Study of the Pickup Method and its Variations Using a Simulated Hotel Reservation Data

A Comparative Study of the Pickup Method and its Variations Using a Simulated Hotel Reservation Data Athanasius Zakhary, Neamat El Gayar Faculty of Computers and Information Cairo University, Giza, Egypt

### Bakhshi, Andisheh (2011) Modelling and predicting patient recruitment in multi-centre clinical trials.

Bakhshi, Andisheh (2011) Modelling and predicting patient recruitment in multi-centre clinical trials. MSc(R) thesis http://theses.gla.ac.uk/3301/ Copyright and moral rights for this thesis are retained

### The 8th International Conference on e-business (inceb2009) October 28th-30th, 2009

ENHANCED OPERATIONAL PROCESS OF SECURE NETWORK MANAGEMENT Song-Kyoo Kim * Mobile Communication Divisions, Samsung Electronics, 94- Imsoo-Dong, Gumi, Kyungpook 730-350, South Korea amang.kim@samsung.com

### Case study of a batch-production/inventory system E.M.M. Winands 1, A.G. de Kok 2 and C. Timpe 3

Case study of a batch-production/inventory system E.M.M. Winands 1, A.G. de Kok 2 and C. Timpe 3 The plant of BASF under consideration consists of multiple parallel production lines, which produce multiple

### Continuous Random Variables. and Probability Distributions. Continuous Random Variables and Probability Distributions ( ) ( ) Chapter 4 4.

UCLA STAT 11 A Applied Probability & Statistics for Engineers Instructor: Ivo Dinov, Asst. Prof. In Statistics and Neurology Teaching Assistant: Neda Farzinnia, UCLA Statistics University of California,

### Mathematical models to estimate the quality of monitoring software systems for electrical substations

Mathematical models to estimate the quality of monitoring software systems for electrical substations MIHAIELA ILIESCU 1, VICTOR URSIANU 2, FLORICA MOLDOVEANU 2, RADU URSIANU 2, EMILIANA URSIANU 3 1 Faculty