Machine interference problem: introduction

Slides:



Advertisements
Similar presentations
Continuous-Time Markov Chains Nur Aini Masruroh. LOGO Introduction  A continuous-time Markov chain is a stochastic process having the Markovian property.
Advertisements

CS 241 Spring 2007 System Programming 1 Queuing Framework for Process Management Evaluation Lecture 20 Klara Nahrstedt.
INDR 343 Problem Session
Lecture 13 – Continuous-Time Markov Chains
Queuing Models Basic Concepts
Waiting Lines and Queuing Theory Models
Queuing Systems Chapter 17.
Multiple server queues In particular, we look at M/M/k Need to find steady state probabilities.
Waiting Line Models And Service Improvement
Other Markovian Systems
1 Queuing Theory 2 Queuing theory is the study of waiting in lines or queues. Server Pool of potential customers Rear of queue Front of queue Line (or.
Queueing Theory: Part I
Queueing Theory Chapter 17.
Data Communication and Networks Lecture 13 Performance December 9, 2004 Joseph Conron Computer Science Department New York University
1 Queueing Theory H Plan: –Introduce basics of Queueing Theory –Define notation and terminology used –Discuss properties of queuing models –Show examples.
MGTSC 352 Lecture 23: Congestion Management Introduction: Asgard Bank example Simulating a queue Types of congested systems, queueing template Ride’n’Collide.
Queuing. Elements of Waiting Lines  Population –Source of customers Infinite or finite.
To Accompany Russell and Taylor, Operations Management, 4th Edition,  2003 Prentice-Hall, Inc. All rights reserved. Chapter 16 Waiting Line Models and.
Waiting line Models.
7/3/2015© 2007 Raymond P. Jefferis III1 Queuing Systems.
To accompany Quantitative Analysis for Management, 9e by Render/Stair/Hanna 14-1 © 2003 by Prentice Hall, Inc. Upper Saddle River, NJ Chapter 14.
Queuing Theory. Queuing theory is the study of waiting in lines or queues. Server Pool of potential customers Rear of queue Front of queue Line (or queue)
Model Antrian By : Render, ect. M/M/1 Example 2 Five copy machines break down at UM St. Louis per eight hour day on average. The average service time.
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.
Waiting Line Analysis for Service Improvement
Limiting probabilities. The limiting probabilities P j exist if (a) all states of the Markov chain communicate (i.e., starting in state i, there is.
Chapter 9: Queuing Models
Lecture 14 – Queuing Systems
Solutions Queueing Theory 1
Queuing Networks. Input source Queue Service mechanism arriving customers exiting customers Structure of Single Queuing Systems Note: 1.Customers need.
Copyright 2006 John Wiley & Sons, Inc. Beni Asllani University of Tennessee at Chattanooga Waiting Line Analysis for Service Improvement Operations Management.
Introduction to Stochastic Models GSLM 54100
Copyright ©: Nahrstedt, Angrave, Abdelzaher, Caccamo1 Queueing Systems.
Chapter 2 Machine Interference Model Long Run Analysis Deterministic Model Markov Model.
NETE4631:Capacity Planning (2)- Lecture 10 Suronapee Phoomvuthisarn, Ph.D. /
Manijeh Keshtgary. Queuing Network: model in which jobs departing from one queue arrive at another queue (or possibly the same queue)  Open and Closed.
Queueing Theory What is a queue? Examples of queues: Grocery store checkout Fast food (McDonalds – vs- Wendy’s) Hospital Emergency rooms Machines waiting.
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.
Waiting Lines and Queuing Models. Queuing Theory  The study of the behavior of waiting lines Importance to business There is a tradeoff between faster.
M/M/1 queue λn = λ, (n >=0); μn = μ (n>=1) λ μ λ: arrival rate
1 Chapters 8 Overview of Queuing Analysis. Chapter 8 Overview of Queuing Analysis 2 Projected vs. Actual Response Time.
Network Design and Analysis-----Wang Wenjie Queuing Theory III: 1 © Graduate University, Chinese academy of Sciences. Network Design and Performance Analysis.
Copyright 2006 John Wiley & Sons, Inc. Beni Asllani University of Tennessee at Chattanooga Waiting Line Analysis for Service Improvement Operations Management.
Waiting Lines and Queuing Theory Models
Chapter 2 Probability, Statistics and Traffic Theories
Maciej Stasiak, Mariusz Głąbowski Arkadiusz Wiśniewski, Piotr Zwierzykowski Model of the Nodes in the Packet Network Chapter 10.
Waiting Line Models Production and Operations Management Reporter:
Copyright ©: Nahrstedt, Angrave, Abdelzaher, Caccamo1 Queueing Systems.
Introduction Definition M/M queues M/M/1 M/M/S M/M/infinity M/M/S/K.
SIMULATION EXAMPLES. Monte-Carlo (Static) Simulation Estimating profit on a sale promotion Estimating profit on a sale promotion Estimating profit on.
Queuing Models.
Managerial Decision Making Chapter 13 Queuing Models.
Random variables (r.v.) Random variable
Queueing Theory What is a queue? Examples of queues:
Chapter 9: Queuing Models
Birth-Death Process Birth – arrival of a customer to the system
Queuing models Basic definitions, assumptions, and identities
Solutions Queueing Theory 1
System Performance: Queuing
Queuing models Basic definitions, assumptions, and identities
TexPoint fonts used in EMF.
Solutions Queueing Theory 1
Lecture 13 – Queuing Systems
Solutions Queueing Theory 1
Queueing networks.
Model Antrian M/M/s.
Queuing Networks Mean Value Analysis
Waiting Line Models Waiting takes place in virtually every productive process or service. Since the time spent by people and things waiting in line is.
Course Description Queuing Analysis This queuing course
Presentation transcript:

Machine interference problem: introduction 1/λ N machines 1/μ Repair’s man queue N machines Each may break down and join the repair’s man queue Operation time Exponentially distributed with rate λ Repair time Exponentially distributed with rate μ

Machine interference problem: Introduction (cont’d) 1/λ 1/μ 4 customers (tokens) Each of the N machines can be thought of As being a server You get a 2 node closed queuing network As long as the machine holds a client called token The machine is operational # tokens = # machines

Machine interference problem: history Early computer systems Multiple terminals sharing a computer (CPU) Jobs are shifted to the computer Jobs run according to a Time Sharing idea Main performance issue How many terminals can I support so that Response time is in the order of ms => machine interference problem Operational => either thinking or typing Hitting the return key => machine breaks down

Machine interference problem: assumptions Operative Mean = 1/λ Repair time Mean = 1/μ Repair queue FIFO Finite population of customers

Machine interference problem: solution Birth and death equations What about P0?

Normalizing constant Rate diagram#1 State: # of broken down machines Rate diagram#2 (including more redundancy) State: # of both active and broken down machines Nλ (N-1)λ 1 …. μ Nλ (N-1)λ N,0 N-1,1 …. μ

Machine interference problem: performance measures Mean repair’s man queue length Mean # customers in the entire system Mean waiting time (Little’s theorem) What is the arrival rate to the repair’s man queue? W

Arrival rate to repair’s man queue and waiting time Mean waiting time in repair’s man queue Mean waiting in the entire repair’s man system

Single machine: analysis Cycle thru which goes a machine Mean cycle time Rate at which a machine completes a cycle Rate at which all machines complete their cycle Operational Repair Wait

Production rate # of repairs per unit time Production rate = rate at which you see machines Going in front of you

Mean repair’s man queue length Lq

Normalized mean waiting time W (mean waiting time) is given by r = average operation time/average repair time Normalized mean waiting time W = 30 min, 1/μ=10 min => normalized WT = 3 repair times

Normalized mean waiting time: analysis Plot the normalized waiting time As a function of N (# machines) N=1 => W=1/μ => P0 = r/(1+r) N is very large => Normalized mean waiting time Rises almost linearly with the # of machines N-r 1 1+r N

Mean number of machines in the system L Plot L as a function of N N=1 => P0 = r/(1+r) => L = 1/(1+r) N is very large L = N - r L N-r 1/(1+r) N

Examples Find the z-transform for And then calculate Binomial, Geometric, and Poisson distributions And then calculate The expected values, second moments, and variances For these distributions

Z-transform: application in queuing systems X is a discrete r.v. P(X=i) = Pi, i=0, 1, … P0 , P1 , P2 ,… Properties of the z-transform g(1) = 1, P0 = g(0); P1 = g’(0); P2 = ½ . g’’(0) 𝐸 𝑋 = 𝑑 𝑑𝑧 𝑔 𝑧 𝑧=1 , 𝐸 𝑋 2 = 𝑑 2 𝑑 𝑧 2 𝑔 𝑧 𝑧=1 + 𝑑 𝑑𝑧 𝑔 𝑧 𝑧=1

Binomial distribution g 𝑧 = 𝑘=0 𝑛 𝑛 𝑘 𝑝 𝑘 1−𝑝 𝑛−𝑘 𝑧 𝑘 = 1−𝑝+𝑝𝑧 𝑛 𝐸 𝑋 =𝑛𝑝 𝐸 𝑋 2 =𝑛 𝑛−1 𝑝 2 +𝑛𝑝 𝜎 2 =𝑛𝑝(1−𝑝)

Geometric distribution 𝑔 𝑧 = 𝑘=1 ∞ 𝑝 1−𝑝 𝑘−1 𝑧 𝑘 = 𝑝𝑧 1− 1−𝑝 𝑧 𝐸 𝑋 = 1 𝑝 𝜎 2 = 1 𝑝 2 − 1 𝑝

Poisson distribution 𝑔 𝑧 = 𝑘=0 ∞ 𝜆𝑡 𝑘 𝑘! 𝑒 −𝜆𝑡 𝑧 𝑘 = 𝑒 −𝜆𝑡 1−𝑧 𝐸 𝑋 =𝜆𝑡 𝑔 𝑧 = 𝑘=0 ∞ 𝜆𝑡 𝑘 𝑘! 𝑒 −𝜆𝑡 𝑧 𝑘 = 𝑒 −𝜆𝑡 1−𝑧 𝐸 𝑋 =𝜆𝑡 𝜎 2 =𝜆𝑡

Problem I Consider a birth and death system, where: Find Pn 𝜆 𝑛 = 𝑛+2 𝜆, 𝑛=0, 1, 2,,… 𝜇 𝑛 =𝑛𝜇, 𝑛=1, 2, 3, … Find Pn

Problem I (cont’d) Find the average number of customers in system

Problem II In a networking conference Each speaker has 15 min to give his talk Otherwise, he is rudely removed from podium Given that time to give a presentation is exponential With mean 10 min What is the probability a speaker will not finish his talk? E[X] = 1/λ = 10 minutes => λ = 1/10 Let T be the time required to give a presentation: a speaker will not manage to finish his presentation if T exceeds 15 minutes. P(T>15) = e-1.5

Problem III Jobs arriving to a computer require a CPU time exponentially distributed with mean 140 msec. The CPU scheduling algorithm is quantum-oriented job not completing within 100 msec will go to back of queue What is the probability that an arriving job will be forced to wait for a second quantum? Of the 800 jobs coming per day, how many Finish within the first quantum>

Problem IV A taxi driver provides service in two zones of a city. Customers picked up in zone A will have destinations in zone A with probability 0.6 or in zone B with probability 0.4. Customers picked up in zone B will have destinations in zone A with probability 0.3 or in zone B with probability 0.7. The driver’s expected profit for a trip entirely in zone A is 6$; for a trip in zone B is 8$; and for a trip involving both zones is 12$. Find the taxi driver’s average profit per trip. Hint: condition on whether the trip is entirely in zone A, zone B, or in both zones.

Problem V Suppose a repairman has been assigned For each machine The responsibility of maintaining 3 machines. For each machine The probability distribution of running time Is exponential with a mean of 9 hours The repair time is also exponential With a mean of 12 hrs Calculate the pdf and expected # of machines not running

Problem V (continued) As a crude approximation It could be assumed that the calling population is infinite => input process is Poisson with mean arrival rate of 3 / 9 hrs Compare the results of part 1 to those obtained from M/M/1 model and an M/M/1/3 model Which one is a better approximation?