Základy teorie front
|
|
- Leo Harrison
- 5 years ago
- Views:
Transcription
1 Základy teorie front Mgr. Rudolf B. Blažek, Ph.D. prof. RNDr. Roman Kotecký, DrSc. Katedra počítačových systémů Katedra teoretické informatiky Fakulta informačních technologií České vysoké učení technické v Praze Rudolf Blažek & Roman Kotecký, 2011 Statistika pro informatiku MI-SPI, ZS 2011/12, Přednáška 16 Evropský sociální fond Praha & EU: Investujeme do vaší budoucnos@
2 Introduction to Queueing Theory Mgr. Rudolf B. Blažek, Ph.D. prof. RNDr. Roman Kotecký, DrSc. Department of Computer Systems Department of Theoretical Informatics Faculty of Information Technologies Czech Technical University in Prague Rudolf Blažek & Roman Kotecký, 2011 Statistics for Informatics MI-SPI, ZS 2011/12, Lecture 16 The European Social Fund Prague & EU: We Invest in Your Future
3 Random Processes White Random Processes White Random Processes 3
4 Random Processes White Random Processes White Random Processes Definition!!!!!!!!!!!!!!! Bílý šum White noise random process is a process whose power spectral density is constant for all frequencies S X ( )= 1 2 N 0, for 1< < 1 Notes N0 > 0 is a fixed constant May or may not be Gaussian white noise This process does not exist in real life, but is useful for theory 4
5 Random Processes White Random Processes White Random Processes The Autocorrelation Function of the White Random Process If the power spectral density is constant for all frequencies S X ( )= 1 2 N 0, for 1< < 1 then the autocorrelation function of the process (the inverse Fourier transform of SX) is given by R X ( )=F 1 (S X )= 1 2 N 0 ( ) where δ(τ) is the Dirac delta function ( pulse at 0). 5
6 White Random Processes White Random Processes The Dirac Delta Function Definition The Dirac delta function ( pulse at 0) is defined as +1 if t =0 such that (t) = Z " 0 otherwise, " (t) dt = 1, 8" > 0. The integration notation is only a symbolic convention Such function δ does not exist as an ordinary function 6
7 Random Processes White Random Processes The Dirac Delta Function δ(t) Dirac delta function δ(t) is the ( pulse at 0) 0 t 7
8 Random Processes White Random Processes We Can Find the Autocorrelation Function Backwards Assume S X ( )= 1 2 N 0, for 1< < 1 Then 1 2 N 0 = S X ( ) = Z 1 1 R X ( ) e i d. Does not depend on ξ That only works for τ = 0 We will try δ(τ) (infinite pulse at 0) Z 1 1 Z N 0 ( ) e i d = 1 2 N 0 1 ( ) e i d = 1 2 N 0 1 for τ = 0 8
9 Random Processes White Random Processes White Random Processes The white random process is not physically realizable It would have infinite average power: R X (0) = 1 2 R 1 1 S X ( ) d = 1 2 Its autocorrelation function is the Dirac Delta which itself does not exist as an ordinary function It is useful for theoretical calculations R N 0 d = 1 If it is passed through a filter, the output is an observable random process Gaussian white noise (GWN) is often assumed in problems where we need to filter-out noise from signal 9
10 Random Processes Final Remarks Sampling of Continuous Random Processes Originally electronic filters used to be analog circuits The input signals were processed continuously The output of filters was really an integral of the input Today we use mostly digital circuits Input signals are periodically sampled at times T, 2T, 3T,... ( ( ( ( ( X [k] = X(kT ), k = 1, 2, 3,... Stationarity of X(t ) implies stationarity of X [k] The mean and autocorrelation fn. can be sampled as well: EX[k] =EX(kT )= X (kt ) R X [k 1, k 2 ]=EX(k 1 T )X(k 2 T )=R X (k 1 T, k 2 T ) 10
11 Random Processes Final Remarks Important Types of Random Processes Second-Order Stationary Processes Wide Sense Stationary Processes Gaussian Processes, White Noise,... (Multi)Linear Systems (filtering and detection of signals) Ergodic Processes (we will discuss them later) Autoregressive Moving Average Processes (ARMA) Autocorrelation function is hard to find directly via densities It becomes easy if we define ARMA as linear systems and use spectral densities to find the autocorrelation function 11
12 Introduction to Queueing Theory Základy teorie front Alternative Spelling: Queuing 12
13 Literature Textbook Chee-Hock Ng & Soong Boon-Hee Queueing Modelling Fundamentals With Applications in Communication Networks John Wiley and Sons, Inc., 2 edition,
14 Literature Textbook Richard Durrett Essentials of Stochastic Processes Springer Texts in Statistics 1st ed Corr. 2nd printing edition (November 2, 2010) 14
15 Basic Principles and Terminology Queueing Systems ( ( Systémy hromadné obsluhy Activities today are highly interdependent and intertwined Sharing of resources is common in all walks of life Sharing leads to waiting for resources in queues In data communications (e.g. the Internet) Data packets are queued in switch/router buffers for transmission In computer systems Jobs are queued for processing by CPU or I/O devices 15
16 Basic Principles and Terminology Queueing Theory Originally developed for telephone networks A.K. Erlang (Danish engineer, published a paper in 1909) D.G. Kendall (British statistician, Oxford, Cambridge, introduced notation in 1953) In modern packet switching networks L. Kleinrock (American engineer, MIT, UCLA, main work in early 1960s) Poisson Process The most common model for customer arrivals 16
17 Basic Principles and Terminology Basic Principles and Terminology Customers Arrive according to an arrival process Want to obtain service from a service facility Networking: Data packets, data frames,... Computing: Jobs, transactions, user requests,... Service facility Contains one or more servers Each server can serve one customer at a time Customers join a queue if all servers are occupied 17
18 Basic Principles and Terminology Queueing System Diagram Fronta Waiting Queue Obsluha Service Facility Customer Population Arriving Customers Vstupní tok požadavků Departing Customers Výstupní tok požadavků Prvky systému hromadné obsluhy 18
19 Basic Principles and Terminology Basic Principles and Terminology Queueing System Arrival process Service Facility Waiting Queue Systém hromadné obsluhy Vstupní tok požadavků Obsluha a její režim Fronta a její režim We need a mathematical description of The input process The system structure Queueing policy; Service policy The output process 19
20 Basic Principles and Terminology Characteristics of the Input Process Charakteristiky vstupního toku požadavků (i) The size of arriving population Finite or infinite Infinite is easier to solve arrival rate not affected by size We often assume infinite arriving population It approximates a very large population (ii) Behavior of arriving customers May leave forever if the queue is full May leave randomly if the queue is too long 20
21 Basic Principles and Terminology Characteristics of the Input Process Charakteristiky vstupního toku požadavků (iii) Arriving patterns M: ( Markovian or Memoryless Poisson Process ( ( (I.e. exponential & independent interarrival times) D:( Ek:( G:( GI:( Deterministic, constant interarrival times Erlang distribution of order k of interarrival times General probability distribution of interarrival times General & Independent distribution of interarrival times Default Assumption: Poisson Process 21
22 Basic Principles and Terminology Characteristics of the System Structure (i) Physical number and layout of servers One or more; identical or different; serial or parallel We will focus on parallel identical servers I.e. customers can go to any free server and then leave (ii) The system capacity ( System capacity = waiting customers + served customers Non-blocking system infinite queue Easier to solve often we assume this Blocking system finite queue Customers leave forever if the queue is full 22
23 Basic Principles and Terminology Physical Layout of Servers Arriving Customers Departing Customers Parallel Servers Arriving Customers Departing Customers Serial Servers 23
24 Basic Principles and Terminology Characteristics of the Output Process Charakteristiky výstupního toku požadavků (i) Queueing discipline or serving discipline ( ( ( ( ( ( Obsluha a její režim / Fronta a její režim First-come-first-served (FCFS) / First-in-first-out (FIFO) Last-come-first-served (LCFS) / First-in-last-out (FILO) Priority based (preemptive or non-preemptive) Processor sharing (1/k of time to each of k customers) Random Default Assumption: FCFS/FIFO 24
25 Basic Principles and Terminology Characteristics of the Output Process Charakteristiky výstupního toku požadavků (ii) Service time distribution M: ( Markovian or Memoryless exponential service times D:( Deterministic, constant service times Ek:( Erlang distribution of order k of service times G:( General probability distribution of service times Default Assumption: Exponential service times 25
26 Basic Principles and Terminology Web and Database Servers Example Pool of m application servers (e.g. Tomcat) submits a job to a central database server Application server 1 Application server 2 Central Database Server Application server m 26
27 Basic Principles and Terminology Web and Database Servers Example We assume the Poisson arrival process for the requests. So we obtain a state-dependent Poisson arrival process with the rate (m k) k < m (k) = 0 k m 27
28 Basic Principles and Terminology Kendall Notation A / B / X / Y / Z A:( Customer arrival pattern ( ( (Interarrival time distribution) B:( Service pattern (Service time distribution) X:( Number of parallel servers Y: ( System capacity Z:( Queueing discipline Default values:( Y =, Z = FCFS Example: ( M / M / 1 = M / M / 1 / / FCFS ( ( ( ( (Poisson arrivals, Exp. service times, 1 server) 28
29 Basic Principles and Terminology Plan of Study We will focus on M/M/m systems We must therefore study The Exponential Distribution (interarrival & service times) The Poisson Process (interarrival times are Exponential) Birth & Death Markov chains with continuous time (the number of customers in the system) We will also look at a M/G/ system Poisson arrivals, General service time, many servers But we will look at some general results first... 29
30 Little s Theorem and Related Results Little s Theorem and Related Results 30
31 Little s Theorem and Related Results Ergodicity Two ways of calculating the average value of a process: Time average Expected value X t = 1 t 1X Z t 0 X( ) d EX(t) = k P[X(t) =k] k=0 Definition A random process X is ergodic if the two averages are equal (have the same limit) as t 31
32 Little s Theorem and Related Results Little s Theorem Theorem N = λ T where ( ( N (=( average number of customers in the system ( ( λ ( =( average arrival rate of customers ( ( T( =( average time a customer spends in the system Very general no assumptions about Interarrival and service time distribution Queueing policy Number of parallel servers 32
33 Little s Theorem and Related Results Proof of Little s Theorem Assume FCFS (FIFO) policy Define ( ( A(t)( =( Number of arrivals during time interval (0,t) ( ( D(t)( =( Number of departures during (0,t) ( ( N(t)( =( Number of customers in the system at time t Assume we start wit empty system at time 0, then!!!!!!! N(t)( =( A(t) D(t) ( ( ( ( 33
34 Little s Theorem and Related Results Proof of Little s Theorem Z t 0 Number of arrivals or departures 0 N( ) d = Z t 0 N(t) = A(t) D(t) T1 T2 t1 t2 t3 [A( ) D( )] d A(t)... arrivals D(t)... departures tk(...( arrival time of k th customer Tk(...( time spent in the system ( ( by the k th customer Time t Area between the curves: departed in the system = t D(t) X k=1 T k 1 + A(t) X k=d(t)+1 (t t k ) 1 34
35 Little s Theorem and Related Results Before we got the total number of customers up to time t Z t 0 N( ) d = Z t 0 [A( ) D( )] d = D(t) X k=1 T k 1 + A(t) X k=d(t)+1 (t t k ) 1 The time average of the number of customers Nt is Z " # t X D(t) XA(t) N t = 1 t 0 N( ) d = = " D(t) X k=1 k=1 T k + T k + k=d(t)+1 A(t) X k=d(t)+1 (t t k ) (t t k ) # 1 t 1 A(t) A(t) t Nt = Tt time average of the time spent by a customer λt time average of the arrival rate 35
36 Little s Theorem and Related Results Proof of Little s Theorem We have ( ( ( ( ( ( ( ( Nt =Tt λt ( ( Nt(...( time average of the number of customers ( ( Tt(...( time average of the time spent by a customer ( ( λt(...( time average of the arrival rate For ergodic processes the time average ( ( Nt( N = Expectation in steady state, as t Let t to get ( ( ( ( ( ( ( ( N =T λ Note: Most queueing systems are ergodic. 36
37 Little s Theorem and Related Results Resource Utilization Definition Resource utilization of a queueing system is the fraction of time the system is used = Time a server is occupied Time available 37
38 Little s Theorem and Related Results Resource Utilization Note With m servers, N customers during (t, t+t ), arrival rate λ each server serves on average N /m = (λt / m) customers. If the average service time is (1/μ) then = Time a server is occupied Time available = ( T/m) (1/µ) T = mµ 38
39 Little s Theorem and Related Results Traffic Intensity Definition Traffic Intensity (offered load) of a queueing system is the product of the average arrival rate λ and the average service time (1/μ): = µ 39
40 Little s Theorem and Related Results Flow Conservation Law Proposition For a stable queueing system rate of customers leaving = rate of customers entering λout = λin 40
Základy teorie front II
Základy teorie front II Aplikace Poissonova procesu v teorii front Mgr. Rudolf B. Blažek, Ph.D. prof. RNDr. Roman Kotecký, DrSc. Katedra počítačových systémů Katedra teoretické informatiky Fakulta informačních
More informationMarkovské řetězce se spojitým parametrem
Markovské řetězce se spojitým parametrem Mgr. Rudolf B. Blažek, Ph.D. prof. RNDr. Roman Kotecký, DrSc. Katedra počítačových systémů Katedra teoretické informatiky Fakulta informačních technologií České
More informationBootstrap metody II Kernelové Odhady Hustot
Bootstrap metody II Kernelové Odhady Hustot Mgr. Rudolf B. Blažek, Ph.D. prof. RNDr. Roman Kotecký, DrSc. Katedra počítačových systémů Katedra teoretické informatiky Fakulta informačních technologií České
More informationPerformance Evaluation of Queuing Systems
Performance Evaluation of Queuing Systems Introduction to Queuing Systems System Performance Measures & Little s Law Equilibrium Solution of Birth-Death Processes Analysis of Single-Station Queuing Systems
More informationQueueing Theory I Summary! Little s Law! Queueing System Notation! Stationary Analysis of Elementary Queueing Systems " M/M/1 " M/M/m " M/M/1/K "
Queueing Theory I Summary Little s Law Queueing System Notation Stationary Analysis of Elementary Queueing Systems " M/M/1 " M/M/m " M/M/1/K " Little s Law a(t): the process that counts the number of arrivals
More informationQUEUING SYSTEM. Yetunde Folajimi, PhD
QUEUING SYSTEM Yetunde Folajimi, PhD Part 2 Queuing Models Queueing models are constructed so that queue lengths and waiting times can be predicted They help us to understand and quantify the effect of
More informationIntroduction to queuing theory
Introduction to queuing theory Queu(e)ing theory Queu(e)ing theory is the branch of mathematics devoted to how objects (packets in a network, people in a bank, processes in a CPU etc etc) join and leave
More informationStatistika pro informatiku
Statistika pro informatiku prof. RNDr. Roman Kotecký DrSc., Dr. Rudolf Blažek, PhD Katedra teoretické informatiky FIT České vysoké učení technické v Praze MI-SPI, ZS 2011/12, Přednáška 2 Evropský sociální
More informationCPSC 531: System Modeling and Simulation. Carey Williamson Department of Computer Science University of Calgary Fall 2017
CPSC 531: System Modeling and Simulation Carey Williamson Department of Computer Science University of Calgary Fall 2017 Motivating Quote for Queueing Models Good things come to those who wait - poet/writer
More informationIntroduction to Queueing Theory
Introduction to Queueing Theory Raj Jain Washington University in Saint Louis Saint Louis, MO 63130 Jain@cse.wustl.edu Audio/Video recordings of this lecture are available at: http://www.cse.wustl.edu/~jain/cse567-11/
More informationNetworking = Plumbing. Queueing Analysis: I. Last Lecture. Lecture Outline. Jeremiah Deng. 29 July 2013
Networking = Plumbing TELE302 Lecture 7 Queueing Analysis: I Jeremiah Deng University of Otago 29 July 2013 Jeremiah Deng (University of Otago) TELE302 Lecture 7 29 July 2013 1 / 33 Lecture Outline Jeremiah
More informationElementary queueing system
Elementary queueing system Kendall notation Little s Law PASTA theorem Basics of M/M/1 queue M/M/1 with preemptive-resume priority M/M/1 with non-preemptive priority 1 History of queueing theory An old
More informationIntroduction to Queueing Theory
Introduction to Queueing Theory Raj Jain Washington University in Saint Louis Saint Louis, MO 63130 Jain@cse.wustl.edu Audio/Video recordings of this lecture are available at: 30-1 Overview Queueing Notation
More informationIntroduction to Queueing Theory
Introduction to Queueing Theory Raj Jain Washington University in Saint Louis Jain@eecs.berkeley.edu or Jain@wustl.edu A Mini-Course offered at UC Berkeley, Sept-Oct 2012 These slides and audio/video recordings
More informationStatistika pro informatiku
Statistika pro informatiku prof. RNDr. Roman Kotecký DrSc., Dr. Rudolf Blažek, PhD Katedra teoretické informatiky FIT České vysoké učení technické v Praze MI-SPI, ZS 2011/12, Přednáška 5 Evropský sociální
More informationIntroduction to Markov Chains, Queuing Theory, and Network Performance
Introduction to Markov Chains, Queuing Theory, and Network Performance Marceau Coupechoux Telecom ParisTech, departement Informatique et Réseaux marceau.coupechoux@telecom-paristech.fr IT.2403 Modélisation
More informationKendall notation. PASTA theorem Basics of M/M/1 queue
Elementary queueing system Kendall notation Little s Law PASTA theorem Basics of M/M/1 queue 1 History of queueing theory An old research area Started in 1909, by Agner Erlang (to model the Copenhagen
More informationLecture 7: Simulation of Markov Processes. Pasi Lassila Department of Communications and Networking
Lecture 7: Simulation of Markov Processes Pasi Lassila Department of Communications and Networking Contents Markov processes theory recap Elementary queuing models for data networks Simulation of Markov
More informationQueues and Queueing Networks
Queues and Queueing Networks Sanjay K. Bose Dept. of EEE, IITG Copyright 2015, Sanjay K. Bose 1 Introduction to Queueing Models and Queueing Analysis Copyright 2015, Sanjay K. Bose 2 Model of a Queue Arrivals
More informationData analysis and stochastic modeling
Data analysis and stochastic modeling Lecture 7 An introduction to queueing theory Guillaume Gravier guillaume.gravier@irisa.fr with a lot of help from Paul Jensen s course http://www.me.utexas.edu/ jensen/ormm/instruction/powerpoint/or_models_09/14_queuing.ppt
More informationGI/M/1 and GI/M/m queuing systems
GI/M/1 and GI/M/m queuing systems Dmitri A. Moltchanov moltchan@cs.tut.fi http://www.cs.tut.fi/kurssit/tlt-2716/ OUTLINE: GI/M/1 queuing system; Methods of analysis; Imbedded Markov chain approach; Waiting
More informationPart II: continuous time Markov chain (CTMC)
Part II: continuous time Markov chain (CTMC) Continuous time discrete state Markov process Definition (Markovian property) X(t) is a CTMC, if for any n and any sequence t 1
More informationQueueing systems. Renato Lo Cigno. Simulation and Performance Evaluation Queueing systems - Renato Lo Cigno 1
Queueing systems Renato Lo Cigno Simulation and Performance Evaluation 2014-15 Queueing systems - Renato Lo Cigno 1 Queues A Birth-Death process is well modeled by a queue Indeed queues can be used to
More informationQueueing Theory and Simulation. Introduction
Queueing Theory and Simulation Based on the slides of Dr. Dharma P. Agrawal, University of Cincinnati and Dr. Hiroyuki Ohsaki Graduate School of Information Science & Technology, Osaka University, Japan
More informationM/G/1 and M/G/1/K systems
M/G/1 and M/G/1/K systems Dmitri A. Moltchanov dmitri.moltchanov@tut.fi http://www.cs.tut.fi/kurssit/elt-53606/ OUTLINE: Description of M/G/1 system; Methods of analysis; Residual life approach; Imbedded
More informationQueueing Systems: Lecture 3. Amedeo R. Odoni October 18, Announcements
Queueing Systems: Lecture 3 Amedeo R. Odoni October 18, 006 Announcements PS #3 due tomorrow by 3 PM Office hours Odoni: Wed, 10/18, :30-4:30; next week: Tue, 10/4 Quiz #1: October 5, open book, in class;
More informationChapter 2 Queueing Theory and Simulation
Chapter 2 Queueing Theory and Simulation Based on the slides of Dr. Dharma P. Agrawal, University of Cincinnati and Dr. Hiroyuki Ohsaki Graduate School of Information Science & Technology, Osaka University,
More informationChapter 10. Queuing Systems. D (Queuing Theory) Queuing theory is the branch of operations research concerned with waiting lines.
Chapter 10 Queuing Systems D. 10. 1. (Queuing Theory) Queuing theory is the branch of operations research concerned with waiting lines. D. 10.. (Queuing System) A ueuing system consists of 1. a user source.
More informationNon Markovian Queues (contd.)
MODULE 7: RENEWAL PROCESSES 29 Lecture 5 Non Markovian Queues (contd) For the case where the service time is constant, V ar(b) = 0, then the P-K formula for M/D/ queue reduces to L s = ρ + ρ 2 2( ρ) where
More informationFigure 10.1: Recording when the event E occurs
10 Poisson Processes Let T R be an interval. A family of random variables {X(t) ; t T} is called a continuous time stochastic process. We often consider T = [0, 1] and T = [0, ). As X(t) is a random variable
More informationChapter 1. Introduction. 1.1 Stochastic process
Chapter 1 Introduction Process is a phenomenon that takes place in time. In many practical situations, the result of a process at any time may not be certain. Such a process is called a stochastic process.
More informationAnalysis of Software Artifacts
Analysis of Software Artifacts System Performance I Shu-Ngai Yeung (with edits by Jeannette Wing) Department of Statistics Carnegie Mellon University Pittsburgh, PA 15213 2001 by Carnegie Mellon University
More informationPBW 654 Applied Statistics - I Urban Operations Research
PBW 654 Applied Statistics - I Urban Operations Research Lecture 2.I Queuing Systems An Introduction Operations Research Models Deterministic Models Linear Programming Integer Programming Network Optimization
More informationCDA5530: Performance Models of Computers and Networks. Chapter 4: Elementary Queuing Theory
CDA5530: Performance Models of Computers and Networks Chapter 4: Elementary Queuing Theory Definition Queuing system: a buffer (waiting room), service facility (one or more servers) a scheduling policy
More informationLecture 20: Reversible Processes and Queues
Lecture 20: Reversible Processes and Queues 1 Examples of reversible processes 11 Birth-death processes We define two non-negative sequences birth and death rates denoted by {λ n : n N 0 } and {µ n : n
More informationQueuing Theory. Using the Math. Management Science
Queuing Theory Using the Math 1 Markov Processes (Chains) A process consisting of a countable sequence of stages, that can be judged at each stage to fall into future states independent of how the process
More informationPart I Stochastic variables and Markov chains
Part I Stochastic variables and Markov chains Random variables describe the behaviour of a phenomenon independent of any specific sample space Distribution function (cdf, cumulative distribution function)
More informationQueuing Networks: Burke s Theorem, Kleinrock s Approximation, and Jackson s Theorem. Wade Trappe
Queuing Networks: Burke s Theorem, Kleinrock s Approximation, and Jackson s Theorem Wade Trappe Lecture Overview Network of Queues Introduction Queues in Tandem roduct Form Solutions Burke s Theorem What
More informationAdvanced Computer Networks Lecture 3. Models of Queuing
Advanced Computer Networks Lecture 3. Models of Queuing Husheng Li Min Kao Department of Electrical Engineering and Computer Science University of Tennessee, Knoxville Spring, 2016 1/13 Terminology of
More informationCS418 Operating Systems
CS418 Operating Systems Lecture 14 Queuing Analysis Textbook: Operating Systems by William Stallings 1 1. Why Queuing Analysis? If the system environment changes (like the number of users is doubled),
More informationQueuing Theory and Stochas St t ochas ic Service Syste y ms Li Xia
Queuing Theory and Stochastic Service Systems Li Xia Syllabus Instructor Li Xia 夏俐, FIT 3 618, 62793029, xial@tsinghua.edu.cn Text book D. Gross, J.F. Shortle, J.M. Thompson, and C.M. Harris, Fundamentals
More informationIEOR 6711, HMWK 5, Professor Sigman
IEOR 6711, HMWK 5, Professor Sigman 1. Semi-Markov processes: Consider an irreducible positive recurrent discrete-time Markov chain {X n } with transition matrix P (P i,j ), i, j S, and finite state space.
More informationComputer Systems Modelling
Computer Systems Modelling Computer Laboratory Computer Science Tripos, Part II Michaelmas Term 2003 R. J. Gibbens Problem sheet William Gates Building JJ Thomson Avenue Cambridge CB3 0FD http://www.cl.cam.ac.uk/
More informationQuantum computing. Jan Černý, FIT, Czech Technical University in Prague. České vysoké učení technické v Praze. Fakulta informačních technologií
České vysoké učení technické v Praze Fakulta informačních technologií Katedra teoretické informatiky Evropský sociální fond Praha & EU: Investujeme do vaší budoucnosti MI-MVI Methods of Computational Intelligence(2010/2011)
More informationChapter 3 Balance equations, birth-death processes, continuous Markov Chains
Chapter 3 Balance equations, birth-death processes, continuous Markov Chains Ioannis Glaropoulos November 4, 2012 1 Exercise 3.2 Consider a birth-death process with 3 states, where the transition rate
More informationQueuing Theory. Richard Lockhart. Simon Fraser University. STAT 870 Summer 2011
Queuing Theory Richard Lockhart Simon Fraser University STAT 870 Summer 2011 Richard Lockhart (Simon Fraser University) Queuing Theory STAT 870 Summer 2011 1 / 15 Purposes of Today s Lecture Describe general
More informationBIRTH DEATH PROCESSES AND QUEUEING SYSTEMS
BIRTH DEATH PROCESSES AND QUEUEING SYSTEMS Andrea Bobbio Anno Accademico 999-2000 Queueing Systems 2 Notation for Queueing Systems /λ mean time between arrivals S = /µ ρ = λ/µ N mean service time traffic
More informationLink Models for Circuit Switching
Link Models for Circuit Switching The basis of traffic engineering for telecommunication networks is the Erlang loss function. It basically allows us to determine the amount of telephone traffic that can
More informationStatistics 150: Spring 2007
Statistics 150: Spring 2007 April 23, 2008 0-1 1 Limiting Probabilities If the discrete-time Markov chain with transition probabilities p ij is irreducible and positive recurrent; then the limiting probabilities
More informationQueueing. Chapter Continuous Time Markov Chains 2 CHAPTER 5. QUEUEING
2 CHAPTER 5. QUEUEING Chapter 5 Queueing Systems are often modeled by automata, and discrete events are transitions from one state to another. In this chapter we want to analyze such discrete events systems.
More informationNEW FRONTIERS IN APPLIED PROBABILITY
J. Appl. Prob. Spec. Vol. 48A, 209 213 (2011) Applied Probability Trust 2011 NEW FRONTIERS IN APPLIED PROBABILITY A Festschrift for SØREN ASMUSSEN Edited by P. GLYNN, T. MIKOSCH and T. ROLSKI Part 4. Simulation
More informationLink Models for Packet Switching
Link Models for Packet Switching To begin our study of the performance of communications networks, we will study a model of a single link in a message switched network. The important feature of this model
More informationClassification of Queuing Models
Classification of Queuing Models Generally Queuing models may be completely specified in the following symbol form:(a/b/c):(d/e)where a = Probability law for the arrival(or inter arrival)time, b = Probability
More informationStochastic process. X, a series of random variables indexed by t
Stochastic process X, a series of random variables indexed by t X={X(t), t 0} is a continuous time stochastic process X={X(t), t=0,1, } is a discrete time stochastic process X(t) is the state at time t,
More informationPerformance Modelling of Computer Systems
Performance Modelling of Computer Systems Mirco Tribastone Institut für Informatik Ludwig-Maximilians-Universität München Fundamentals of Queueing Theory Tribastone (IFI LMU) Performance Modelling of Computer
More informationContents Preface The Exponential Distribution and the Poisson Process Introduction to Renewal Theory
Contents Preface... v 1 The Exponential Distribution and the Poisson Process... 1 1.1 Introduction... 1 1.2 The Density, the Distribution, the Tail, and the Hazard Functions... 2 1.2.1 The Hazard Function
More informationCOMP9334: Capacity Planning of Computer Systems and Networks
COMP9334: Capacity Planning of Computer Systems and Networks Week 2: Operational analysis Lecturer: Prof. Sanjay Jha NETWORKS RESEARCH GROUP, CSE, UNSW Operational analysis Operational: Collect performance
More informationNICTA Short Course. Network Analysis. Vijay Sivaraman. Day 1 Queueing Systems and Markov Chains. Network Analysis, 2008s2 1-1
NICTA Short Course Network Analysis Vijay Sivaraman Day 1 Queueing Systems and Markov Chains Network Analysis, 2008s2 1-1 Outline Why a short course on mathematical analysis? Limited current course offering
More informationModels and Simulations of Queueing Systems
Models and Simulations of Queueing Systems Miloš Šeda 1(&), Jindřiška Šedová 2, and Miroslav Horký 1 1 Faculty of Mechanical Engineering, Brno University of Technology, Technická 2, 616 69 Brno, Czech
More informationNATCOR: Stochastic Modelling
NATCOR: Stochastic Modelling Queueing Theory II Chris Kirkbride Management Science 2017 Overview of Today s Sessions I Introduction to Queueing Modelling II Multiclass Queueing Models III Queueing Control
More informationIntroduction to Queueing Theory with Applications to Air Transportation Systems
Introduction to Queueing Theory with Applications to Air Transportation Systems John Shortle George Mason University February 28, 2018 Outline Why stochastic models matter M/M/1 queue Little s law Priority
More informationContinuous Time Processes
page 102 Chapter 7 Continuous Time Processes 7.1 Introduction In a continuous time stochastic process (with discrete state space), a change of state can occur at any time instant. The associated point
More informationName of the Student:
SUBJECT NAME : Probability & Queueing Theory SUBJECT CODE : MA 6453 MATERIAL NAME : Part A questions REGULATION : R2013 UPDATED ON : November 2017 (Upto N/D 2017 QP) (Scan the above QR code for the direct
More informationMarkov processes and queueing networks
Inria September 22, 2015 Outline Poisson processes Markov jump processes Some queueing networks The Poisson distribution (Siméon-Denis Poisson, 1781-1840) { } e λ λ n n! As prevalent as Gaussian distribution
More informationIntroduction to Queuing Theory. Mathematical Modelling
Queuing Theory, COMPSCI 742 S2C, 2014 p. 1/23 Introduction to Queuing Theory and Mathematical Modelling Computer Science 742 S2C, 2014 Nevil Brownlee, with acknowledgements to Peter Fenwick, Ulrich Speidel
More information5/15/18. Operations Research: An Introduction Hamdy A. Taha. Copyright 2011, 2007 by Pearson Education, Inc. All rights reserved.
The objective of queuing analysis is to offer a reasonably satisfactory service to waiting customers. Unlike the other tools of OR, queuing theory is not an optimization technique. Rather, it determines
More informationLECTURE #6 BIRTH-DEATH PROCESS
LECTURE #6 BIRTH-DEATH PROCESS 204528 Queueing Theory and Applications in Networks Assoc. Prof., Ph.D. (รศ.ดร. อน นต ผลเพ ม) Computer Engineering Department, Kasetsart University Outline 2 Birth-Death
More informationContinuous-Time Markov Chain
Continuous-Time Markov Chain Consider the process {X(t),t 0} with state space {0, 1, 2,...}. The process {X(t),t 0} is a continuous-time Markov chain if for all s, t 0 and nonnegative integers i, j, x(u),
More informationQueueing Theory. VK Room: M Last updated: October 17, 2013.
Queueing Theory VK Room: M1.30 knightva@cf.ac.uk www.vincent-knight.com Last updated: October 17, 2013. 1 / 63 Overview Description of Queueing Processes The Single Server Markovian Queue Multi Server
More informationSystems Simulation Chapter 6: Queuing Models
Systems Simulation Chapter 6: Queuing Models Fatih Cavdur fatihcavdur@uludag.edu.tr April 2, 2014 Introduction Introduction Simulation is often used in the analysis of queuing models. A simple but typical
More informationCOMP9334 Capacity Planning for Computer Systems and Networks
COMP9334 Capacity Planning for Computer Systems and Networks Week 2: Operational Analysis and Workload Characterisation COMP9334 1 Last lecture Modelling of computer systems using Queueing Networks Open
More informationIntroduction to queuing theory
Introduction to queuing theory Claude Rigault ENST claude.rigault@enst.fr Introduction to Queuing theory 1 Outline The problem The number of clients in a system The client process Delay processes Loss
More informationOperations Research Letters. Instability of FIFO in a simple queueing system with arbitrarily low loads
Operations Research Letters 37 (2009) 312 316 Contents lists available at ScienceDirect Operations Research Letters journal homepage: www.elsevier.com/locate/orl Instability of FIFO in a simple queueing
More informationChapter 11. Performance Modeling
Chapter Performance Modeling . Problem Statement Whether a computer system consisting of hard- and software really achieves the desired performance turns out during operation at the latest. Then, however,
More informationLecture Notes of Communication Network I y: part 5. Lijun Qian. Rutgers The State University of New Jersey. 94 Brett Road. Piscataway, NJ
Lecture Notes of Communication Network I y: part 5 Lijun Qian Department of Electrical Engineering Rutgers The State University of New Jersey 94 Brett Road Piscataway, NJ 08854-8058 October 6, 1998 Abstract
More informationProbability Models in Electrical and Computer Engineering Mathematical models as tools in analysis and design Deterministic models Probability models
Probability Models in Electrical and Computer Engineering Mathematical models as tools in analysis and design Deterministic models Probability models Statistical regularity Properties of relative frequency
More informationIEOR 6711: Stochastic Models I, Fall 2003, Professor Whitt. Solutions to Final Exam: Thursday, December 18.
IEOR 6711: Stochastic Models I, Fall 23, Professor Whitt Solutions to Final Exam: Thursday, December 18. Below are six questions with several parts. Do as much as you can. Show your work. 1. Two-Pump Gas
More informationQueueing Theory II. Summary. ! M/M/1 Output process. ! Networks of Queue! Method of Stages. ! General Distributions
Queueing Theory II Summary! M/M/1 Output process! Networks of Queue! Method of Stages " Erlang Distribution " Hyperexponential Distribution! General Distributions " Embedded Markov Chains M/M/1 Output
More informationChapter 5: Special Types of Queuing Models
Chapter 5: Special Types of Queuing Models Some General Queueing Models Discouraged Arrivals Impatient Arrivals Bulk Service and Bulk Arrivals OR37-Dr.Khalid Al-Nowibet 1 5.1 General Queueing Models 1.
More informationClass 11 Non-Parametric Models of a Service System; GI/GI/1, GI/GI/n: Exact & Approximate Analysis.
Service Engineering Class 11 Non-Parametric Models of a Service System; GI/GI/1, GI/GI/n: Exact & Approximate Analysis. G/G/1 Queue: Virtual Waiting Time (Unfinished Work). GI/GI/1: Lindley s Equations
More informationReadings: Finish Section 5.2
LECTURE 19 Readings: Finish Section 5.2 Lecture outline Markov Processes I Checkout counter example. Markov process: definition. -step transition probabilities. Classification of states. Example: Checkout
More informationIntro Refresher Reversibility Open networks Closed networks Multiclass networks Other networks. Queuing Networks. Florence Perronnin
Queuing Networks Florence Perronnin Polytech Grenoble - UGA March 23, 27 F. Perronnin (UGA) Queuing Networks March 23, 27 / 46 Outline Introduction to Queuing Networks 2 Refresher: M/M/ queue 3 Reversibility
More informationIntro to Queueing Theory
1 Intro to Queueing Theory Little s Law M/G/1 queue Conservation Law 1/31/017 M/G/1 queue (Simon S. Lam) 1 Little s Law No assumptions applicable to any system whose arrivals and departures are observable
More informationMarkov Chains. X(t) is a Markov Process if, for arbitrary times t 1 < t 2 <... < t k < t k+1. If X(t) is discrete-valued. If X(t) is continuous-valued
Markov Chains X(t) is a Markov Process if, for arbitrary times t 1 < t 2
More informationIntroduction to Queuing Networks Solutions to Problem Sheet 3
Introduction to Queuing Networks Solutions to Problem Sheet 3 1. (a) The state space is the whole numbers {, 1, 2,...}. The transition rates are q i,i+1 λ for all i and q i, for all i 1 since, when a bus
More informationAn engineering approximation for the mean waiting time in the M/H 2 b /s queue
An engineering approximation for the mean waiting time in the M/H b /s queue Francisco Barceló Universidad Politécnica de Catalunya c/ Jordi Girona, -3, Barcelona 08034 Email : barcelo@entel.upc.es Abstract
More informationBernoulli Counting Process with p=0.1
Stat 28 October 29, 21 Today: More Ch 7 (Sections 7.4 and part of 7.) Midterm will cover Ch 7 to section 7.4 Review session will be Nov. Exercises to try (answers in book): 7.1-, 7.2-3, 7.3-3, 7.4-7 Where
More informationExercises Stochastic Performance Modelling. Hamilton Institute, Summer 2010
Exercises Stochastic Performance Modelling Hamilton Institute, Summer Instruction Exercise Let X be a non-negative random variable with E[X ]
More informationChapter 11. Performance Modeling
Chapter Performance Modeling . Problem Statement Whether a computer system consisting of hard- and software really achieves the desired performance turns out during operation at the latest. Then, however,
More informationM/G/1 and Priority Queueing
M/G/1 and Priority Queueing Richard T. B. Ma School of Computing National University of Singapore CS 5229: Advanced Compute Networks Outline PASTA M/G/1 Workload and FIFO Delay Pollaczek Khinchine Formula
More informationPerformance analysis of queueing systems with resequencing
UNIVERSITÀ DEGLI STUDI DI SALERNO Dipartimento di Matematica Dottorato di Ricerca in Matematica XIV ciclo - Nuova serie Performance analysis of queueing systems with resequencing Candidato: Caraccio Ilaria
More informationThe effect of probabilities of departure with time in a bank
International Journal of Scientific & Engineering Research, Volume 3, Issue 7, July-2012 The effect of probabilities of departure with time in a bank Kasturi Nirmala, Shahnaz Bathul Abstract This paper
More informationReview of Queuing Models
Review of Queuing Models Recitation, Apr. 1st Guillaume Roels 15.763J Manufacturing System and Supply Chain Design http://michael.toren.net/slides/ipqueue/slide001.html 2005 Guillaume Roels Outline Overview,
More informationAnalysis of A Single Queue
Analysis of A Single Queue Raj Jain Washington University in Saint Louis Jain@eecs.berkeley.edu or Jain@wustl.edu A Mini-Course offered at UC Berkeley, Sept-Oct 2012 These slides and audio/video recordings
More information10.2 For the system in 10.1, find the following statistics for population 1 and 2. For populations 2, find: Lq, Ls, L, Wq, Ws, W, Wq 0 and SL.
Bibliography Asmussen, S. (2003). Applied probability and queues (2nd ed). New York: Springer. Baccelli, F., & Bremaud, P. (2003). Elements of queueing theory: Palm martingale calculus and stochastic recurrences
More informationLittle s result. T = average sojourn time (time spent) in the system N = average number of customers in the system. Little s result says that
J. Virtamo 38.143 Queueing Theory / Little s result 1 Little s result The result Little s result or Little s theorem is a very simple (but fundamental) relation between the arrival rate of customers, average
More informationBirth-Death Processes
Birth-Death Processes Birth-Death Processes: Transient Solution Poisson Process: State Distribution Poisson Process: Inter-arrival Times Dr Conor McArdle EE414 - Birth-Death Processes 1/17 Birth-Death
More informationQueueing Review. Christos Alexopoulos and Dave Goldsman 10/6/16. (mostly from BCNN) Georgia Institute of Technology, Atlanta, GA, USA
1 / 24 Queueing Review (mostly from BCNN) Christos Alexopoulos and Dave Goldsman Georgia Institute of Technology, Atlanta, GA, USA 10/6/16 2 / 24 Outline 1 Introduction 2 Queueing Notation 3 Transient
More informationChapter 5. Continuous-Time Markov Chains. Prof. Shun-Ren Yang Department of Computer Science, National Tsing Hua University, Taiwan
Chapter 5. Continuous-Time Markov Chains Prof. Shun-Ren Yang Department of Computer Science, National Tsing Hua University, Taiwan Continuous-Time Markov Chains Consider a continuous-time stochastic process
More informationλ λ λ In-class problems
In-class problems 1. Customers arrive at a single-service facility at a Poisson rate of 40 per hour. When two or fewer customers are present, a single attendant operates the facility, and the service time
More information