Stochastic Processes and Queueing Theory used in Cloud Computer Performance Simulations
|
|
|
- Noah Eaton
- 10 years ago
- Views:
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.
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)
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: [email protected] Abstract Load
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
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
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
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
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
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.
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
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
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 [email protected]
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
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
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
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 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......................
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.
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?
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
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
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,
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
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
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
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
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
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
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
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
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
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
How To Balance In A Distributed System
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
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,
TEACHING SIMULATION WITH SPREADSHEETS
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: [email protected],
Process simulation. Enn Õunapuu [email protected]
Process simulation Enn Õunapuu [email protected] Content Problem How? Example Simulation Definition Modeling and simulation functionality allows for preexecution what-if modeling and simulation. Postexecution
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
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
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
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
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
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
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
Lecture 7: Continuous Random Variables
Lecture 7: Continuous Random Variables 21 September 2005 1 Our First Continuous Random Variable The back of the lecture hall is roughly 10 meters across. Suppose it were exactly 10 meters, and consider
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
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
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
OPTIMIZED PERFORMANCE EVALUATIONS OF CLOUD COMPUTING SERVERS
OPTIMIZED PERFORMANCE EVALUATIONS OF CLOUD COMPUTING SERVERS K. Sarathkumar Computer Science Department, Saveetha School of Engineering Saveetha University, Chennai Abstract: The Cloud computing is one
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
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
LECTURE - 1 INTRODUCTION TO QUEUING SYSTEM
LECTURE - 1 INTRODUCTION TO QUEUING SYSTEM Learning objective To introduce features of queuing system 9.1 Queue or Waiting lines Customers waiting to get service from server are represented by queue and
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
UNIT 2 QUEUING THEORY
UNIT 2 QUEUING THEORY LESSON 24 Learning Objective: Apply formulae to find solution that will predict the behaviour of the single server model II. Apply formulae to find solution that will predict the
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 : [email protected] [email protected] Bilgisayar Mühendisliği
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
APPLYING A STOCHASTIC LINEAR SCHEDULING METHOD TO PIPELINE CONSTRUCTION
APPLYING A STOCHASTIC LINEAR SCHEDULING METHOD TO PIPELINE CONSTRUCTION Fitria H. Rachmat 1, Lingguang Song 2, and Sang-Hoon Lee 2 1 Project Control Engineer, Bechtel Corporation, Houston, Texas, USA 2
Notes on Continuous Random Variables
Notes on Continuous Random Variables Continuous random variables are random quantities that are measured on a continuous scale. They can usually take on any value over some interval, which distinguishes
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
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-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,
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
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
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
TEST 2 STUDY GUIDE. 1. Consider the data shown below.
2006 by The Arizona Board of Regents for The University of Arizona All rights reserved Business Mathematics I TEST 2 STUDY GUIDE 1 Consider the data shown below (a) Fill in the Frequency and Relative Frequency
1 Interest rates, and risk-free investments
Interest rates, and risk-free investments Copyright c 2005 by Karl Sigman. Interest and compounded interest Suppose that you place x 0 ($) in an account that offers a fixed (never to change over time)
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
Joint Exam 1/P Sample Exam 1
Joint Exam 1/P Sample Exam 1 Take this practice exam under strict exam conditions: Set a timer for 3 hours; Do not stop the timer for restroom breaks; Do not look at your notes. If you believe a question
Marshall-Olkin distributions and portfolio credit risk
Marshall-Olkin distributions and portfolio credit risk Moderne Finanzmathematik und ihre Anwendungen für Banken und Versicherungen, Fraunhofer ITWM, Kaiserslautern, in Kooperation mit der TU München und
Generating Random Samples from the Generalized Pareto Mixture Model
Generating Random Samples from the Generalized Pareto Mixture Model MUSTAFA ÇAVUŞ AHMET SEZER BERNA YAZICI Department of Statistics Anadolu University Eskişehir 26470 TURKEY [email protected]
MATH4427 Notebook 2 Spring 2016. 2 MATH4427 Notebook 2 3. 2.1 Definitions and Examples... 3. 2.2 Performance Measures for Estimators...
MATH4427 Notebook 2 Spring 2016 prepared by Professor Jenny Baglivo c Copyright 2009-2016 by Jenny A. Baglivo. All Rights Reserved. Contents 2 MATH4427 Notebook 2 3 2.1 Definitions and Examples...................................
Response Times in an Accident and Emergency Service Unit. Apurva Udeshi [email protected]
IMPERIAL COLLEGE, LONDON Department of Computing Response Times in an Accident and Emergency Service Unit Apurva Udeshi [email protected] Supervisor: Professor Peter Harrison Second Marker: Dr. William
Fluid Approximation of a Priority Call Center With Time-Varying Arrivals
Fluid Approximation of a Priority Call Center With Time-Varying Arrivals Ahmad D. Ridley, Ph.D. William Massey, Ph.D. Michael Fu, Ph.D. In this paper, we model a call center as a preemptive-resume priority
Rule-based Traffic Management for Inbound Call Centers
Vrije Universiteit Amsterdam Research Paper Business Analytics Rule-based Traffic Management for Inbound Call Centers Auteur: Tim Steinkuhler Supervisor: Prof. Dr. Ger Koole October 7, 2014 Contents Preface
How To Find The Optimal Base Stock Level In A Supply Chain
Optimizing Stochastic Supply Chains via Simulation: What is an Appropriate Simulation Run Length? Arreola-Risa A 1, Fortuny-Santos J 2, Vintró-Sánchez C 3 Abstract The most common solution strategy for
Simple Linear Regression Inference
Simple Linear Regression Inference 1 Inference requirements The Normality assumption of the stochastic term e is needed for inference even if it is not a OLS requirement. Therefore we have: Interpretation
Betting with the Kelly Criterion
Betting with the Kelly Criterion Jane June 2, 2010 Contents 1 Introduction 2 2 Kelly Criterion 2 3 The Stock Market 3 4 Simulations 5 5 Conclusion 8 1 Page 2 of 9 1 Introduction Gambling in all forms,
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
PURSUITS IN MATHEMATICS often produce elementary functions as solutions that need to be
Fast Approximation of the Tangent, Hyperbolic Tangent, Exponential and Logarithmic Functions 2007 Ron Doerfler http://www.myreckonings.com June 27, 2007 Abstract There are some of us who enjoy using our
Institute of Actuaries of India Subject CT3 Probability and Mathematical Statistics
Institute of Actuaries of India Subject CT3 Probability and Mathematical Statistics For 2015 Examinations Aim The aim of the Probability and Mathematical Statistics subject is to provide a grounding in
Integration. Topic: Trapezoidal Rule. Major: General Engineering. Author: Autar Kaw, Charlie Barker. http://numericalmethods.eng.usf.
Integration Topic: Trapezoidal Rule Major: General Engineering Author: Autar Kaw, Charlie Barker 1 What is Integration Integration: The process of measuring the area under a function plotted on a graph.
Extended warranty pricing considering the time of money. Hui-Ming Teng
Extended warranty pricing considering the time of money Hui-Ming Teng Department of Business Administration Chihlee Institute of Technology Panchiao 22005 Taiwan R.O.C. Abstract Warranty usually plays
Poisson processes (and mixture distributions)
Poisson processes (and mixture distributions) James W. Daniel Austin Actuarial Seminars www.actuarialseminars.com June 26, 2008 c Copyright 2007 by James W. Daniel; reproduction in whole or in part without
Information Theory and Coding Prof. S. N. Merchant Department of Electrical Engineering Indian Institute of Technology, Bombay
Information Theory and Coding Prof. S. N. Merchant Department of Electrical Engineering Indian Institute of Technology, Bombay Lecture - 17 Shannon-Fano-Elias Coding and Introduction to Arithmetic Coding
Simulation Software 1
Simulation Software 1 Introduction The features that should be programmed in simulation are: Generating random numbers from the uniform distribution Generating random variates from any distribution Advancing
Waiting Times Chapter 7
Waiting Times Chapter 7 1 Learning Objectives Interarrival and Service Times and their variability Obtaining the average time spent in the queue Pooling of server capacities Priority rules Where are the
Practice Exam 1. x l x d x 50 1000 20 51 52 35 53 37
Practice Eam. You are given: (i) The following life table. (ii) 2q 52.758. l d 5 2 5 52 35 53 37 Determine d 5. (A) 2 (B) 2 (C) 22 (D) 24 (E) 26 2. For a Continuing Care Retirement Community, you are given
Change Management in Enterprise IT Systems: Process Modeling and Capacity-optimal Scheduling
Change Management in Enterprise IT Systems: Process Modeling and Capacity-optimal Scheduling Praveen K. Muthusamy, Koushik Kar, Sambit Sahu, Prashant Pradhan and Saswati Sarkar Rensselaer Polytechnic Institute
Estimating the Average Value of a Function
Estimating the Average Value of a Function Problem: Determine the average value of the function f(x) over the interval [a, b]. Strategy: Choose sample points a = x 0 < x 1 < x 2 < < x n 1 < x n = b and
Mathematical Modeling of Inventory Control Systems with Lateral Transshipments
Mathematical Modeling of Inventory Control Systems with Lateral Transshipments Lina Johansson Master Thesis Department of Industrial Management and Logistics Division of Production Management Lund university,
