CDA6530: Performance Models of Computers and Networks Examples of Stochastic Process, Markov Chain, M/M/* Queue TexPoint fonts used in EMF. Read the TexPoint.

Slides:



Advertisements
Similar presentations
Lecture 5 This lecture is about: Introduction to Queuing Theory Queuing Theory Notation Bertsekas/Gallager: Section 3.3 Kleinrock (Book I) Basics of Markov.
Advertisements

Markov Models.
Chapter Queueing Notation
Queueing Models and Ergodicity. 2 Purpose Simulation is often used in the analysis of queueing models. A simple but typical queueing model: Queueing models.
Continuous-Time Markov Chains Nur Aini Masruroh. LOGO Introduction  A continuous-time Markov chain is a stochastic process having the Markovian property.
INDR 343 Problem Session
Lecture 12 – Discrete-Time Markov Chains
TCOM 501: Networking Theory & Fundamentals
Flows and Networks (158052) Richard Boucherie Stochastische Operations Research -- TW wwwhome.math.utwente.nl/~boucherierj/onderwijs/158052/ html.
NETE4631:Capacity Planning (3)- Private Cloud Lecture 11 Suronapee Phoomvuthisarn, Ph.D. /
Lecture 13 – Continuous-Time Markov Chains
Queuing Models Basic Concepts
EMGT 501 Fall 2005 Midterm Exam SOLUTIONS.
CSE 221: Probabilistic Analysis of Computer Systems Topics covered: Simple queuing models (Sec )
Single queue modeling. Basic definitions for performance predictions The performance of a system that gives services could be seen from two different.
Queueing Theory: Part I
Queueing Theory Chapter 17.
INFM 718A / LBSC 705 Information For Decision Making Lecture 9.
Markov Chains Chapter 16.
Queuing Networks: Burke’s Theorem, Kleinrock’s Approximation, and Jackson’s Theorem Wade Trappe.
QUEUING MODELS Queuing theory is the analysis of waiting lines It can be used to: –Determine the # checkout stands to have open at a store –Determine the.
Internet Queuing Delay Introduction How many packets in the queue? How long a packet takes to go through?
Lecture 14 – Queuing Systems
Copyright ©: Nahrstedt, Angrave, Abdelzaher, Caccamo1 Queueing Systems.
Intro. to Stochastic Processes
Chapter 2 Machine Interference Model Long Run Analysis Deterministic Model Markov Model.
S TOCHASTIC M ODELS L ECTURE 1 M ARKOV C HAINS Nan Chen MSc Program in Financial Engineering The Chinese University of Hong Kong (ShenZhen) Sept. 9, 2015.
Lecture 14 – Queuing Networks Topics Description of Jackson networks Equations for computing internal arrival rates Examples: computation center, job shop.
Lecture 10: Queueing Theory. Queueing Analysis Jobs serviced by the system resources Jobs wait in a queue to use a busy server queueserver.
NETE4631:Capacity Planning (2)- Lecture 10 Suronapee Phoomvuthisarn, Ph.D. /
Network Design and Analysis-----Wang Wenjie Queueing System IV: 1 © Graduate University, Chinese academy of Sciences. Network Design and Analysis Wang.
1 Queuing Models Dr. Mahmoud Alrefaei 2 Introduction Each one of us has spent a great deal of time waiting in lines. One example in the Cafeteria. Other.
TexPoint fonts used in EMF.
CDA6530: Performance Models of Computers and Networks Chapter 8: Discrete Event Simulation Example --- Three callers problem in homwork 2 TexPoint fonts.
CDA6530: Performance Models of Computers and Networks Chapter 7: Basic Queuing Networks TexPoint fonts used in EMF. Read the TexPoint manual before you.
Model under consideration: Loss system Collection of resources to which calls with holding time  (c) and class c arrive at random instances. An arriving.
8/14/04J. Bard and J. W. Barnes Operations Research Models and Methods Copyright All rights reserved Lecture 12 – Discrete-Time Markov Chains Topics.
NETE4631: Network Information System Capacity Planning (2) Suronapee Phoomvuthisarn, Ph.D. /
CDA6530: Performance Models of Computers and Networks Chapter 3: Review of Practical Stochastic Processes.
CDA6530: Performance Models of Computers and Networks Mid-Term Review TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.:
Chapter 4. Random Variables - 3
Copyright ©: Nahrstedt, Angrave, Abdelzaher, Caccamo1 Queueing Systems.
CDA6530: Performance Models of Computers and Networks Chapter 8: Statistical Simulation ---- Discrete Event Simulation (DES) TexPoint fonts used in EMF.
Flows and Networks (158052) Richard Boucherie Stochastische Operations Research -- TW wwwhome.math.utwente.nl/~boucherierj/onderwijs/158052/ html.
11. Markov Chains (MCs) 2 Courtesy of J. Bard, L. Page, and J. Heyl.
Flows and Networks Plan for today (lecture 3): Last time / Questions? Output simple queue Tandem network Jackson network: definition Jackson network: equilibrium.
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.
QUEUING. CONTINUOUS TIME MARKOV CHAINS {X(t), t >= 0} is a continuous time process with > sojourn times S 0, S 1, S 2,... > embedded process X n = X(S.
CDA6530: Performance Models of Computers and Networks Mid-Term Review TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.:
Lecture 14 – Queuing Networks
Discrete-time markov chain (continuation)
Queueing Theory What is a queue? Examples of queues:
Discrete Time Markov Chains
Internet Queuing Delay Introduction
Lecture on Markov Chain
Finite M/M/1 queue Consider an M/M/1 queue with finite waiting room.
Internet Queuing Delay Introduction
Solutions Queueing Theory 1
TexPoint fonts used in EMF.
TexPoint fonts used in EMF.
TexPoint fonts used in EMF.
Solutions Markov Chains 1
Solutions Queueing Theory 1
Lecture 13 – Queuing Systems
Solutions Queueing Theory 1
Lecture 14 – Queuing Networks
Chapter 2 Machine Interference Model
TexPoint fonts used in EMF.
CS723 - Probability and Stochastic Processes
Lecture 5 This lecture is about: Introduction to Queuing Theory
Presentation transcript:

CDA6530: Performance Models of Computers and Networks Examples of Stochastic Process, Markov Chain, M/M/* Queue TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AAAAAAAAA

2 Queuing Network: Machine Repairman Model  c machines  Each fails at rate ¸ (expo. distr.)  Single repairman, repair rate ¹ (expo. distr.)  Define: N(t) – no. of machines working  0· N(t) · c

3

4  Utilization rate?   =P(repairman busy) = 1-¼ c  E[N]?  We can use  Complicated

5 E[N] Alternative: Little’s Law  Little’s law: N =¸ T  Here: E[N] = arrival ¢ up-time  Arrival rate:  Up time: expo. E[T]=1/ ¸  Thus

6 Markov Chain: Gambler’s Ruin Problem  A gambler who at each play of the game has probability p of winning one unit and prob. q=1-p of losing one unit. Assuming that successive plays are independent, what is the probability that, starting with i units, the gambler’s fortune will reach N before reaching 0?

7  Define X n : player’s fortune at time n.  X n is a Markov chain  Question:  How many states?  State transition diagram?  Note: there is no steady state for this Markov chain!  Do not try to use balance equation here

8  P i : prob. that starting with fortune i, the gambler reach N eventually.  No consideration of how many steps  Can treat it as using infinite steps  End prob.: P 0 =0, P N =1  Construct recursive equation  Consider first transition  P i = p¢ P i+1 + q¢ P i-1  Law of total probability  This way of deduction is usually used for infinite steps questions  Similar to Example 1 in lecture notes “random”

9 Another Markov Chain Example  Three white and three black balls are distributed in two urns in such a way that each urn contains three balls. At each step, we draw one ball from each urn, and place the ball drawn from the first urn into the second urn, and the ball drawn from the second urn into the first urn. Let X n denote the state of the system after the n-th step.  We say that the system is in state i if the first urn contains i white balls. Draw state transition diagram.  Calculate steady-state prob.

10 Poisson Process  Patients arrive at the doctor's office according to a Poisson process with rate ¸=1/10 minute. The doctor will not see a patient until at least three patients are in the waiting room.  What is the probability that nobody is admitted to see the doctor in the first hour?

11