SlideShare ist ein Scribd-Unternehmen logo
1 von 19
1
Queuing Theory
By
Dr.V V HaraGopal
Professor,Dept of Statistics,
Osmania University,
Hyderabad-500 007
Email Id:haragopal_vajjha@yahoo.com
2
Queueing Theory Basics
• Queueing theory provides a very general
framework for modeling systems in
which customers must line up (queue)
for service (use of resource)
– Banks (tellers)
– Restaurants (tables and seats)
– Computer systems (CPU, disk I/O)
– Networks (Web server, router, WLAN)
3
Queue-based Models
• Queueing model represents:
– Arrival of jobs (customers) into system
– Service time requirements of jobs
– Waiting of jobs for service
– Departures of jobs from the system
• Typical diagram:
Customer
Arrivals Departures
Buffer Server
4
Why Queue-based Models?
• In many cases, the use of a queuing model
provides a quantitative way to assess system
performance
– Throughput (e.g., job completions per second)
– Response time (e.g., Web page download time)
– Expected waiting time for service
– Number of buffers required to control loss
• Reveals key system insights (properties)
• Often with efficient, closed-form calculation
5
Caveats and Assumptions
• In many cases, using a queuing model has the
following implicit underlying assumptions:
– Poisson arrival process
– Exponential service time distribution
– Single server
– Infinite capacity queue
– First-Come-First-Serve (FCFS) discipline
(also known as FIFO: First-In-First-Out)
• Note: important role of memoryless property!
6
Advanced Queuing Models
• There is Lot of published work on
variations of the basic model:
– Correlated arrival processes
– General (G) service time distributions
– Multiple servers
– Finite capacity systems
– Other scheduling disciplines (non-FIFO)
• We will start with the basics!
7
Queue Notation
• Queues are concisely described using
the Kendall notation, which specifies:
– Arrival process for jobs {M, D, G, …}
– Service time distribution {M, D, G, …}
– Number of servers {1, n}
– Storage capacity (buffers) {B, infinite}
– Service discipline {FIFO, PS, SRPT, …}
• Examples: M/M/1, M/G/1, M/M/c/c
8
The M/M/1 Queue
• Assumes Poisson arrival process,
exponential service times, single server,
FCFS service discipline, infinite capacity
for storage, with no loss
• Notation: M/M/1
– Markovian arrival process (Poisson)
– Markovian service times (exponential)
– Single server (FCFS, infinite capacity)
9
The M/M/1 Queue (cont’d)
• Arrival rate: λ (e.g., customers/sec)
– Inter-arrival times are exponentially distributed
(and independent) with mean 1 / λ
• Service rate: μ (e.g., customers/sec)
– Service times are exponentially distributed
(and independent) with mean 1 / μ
• System load: ρ = λ / μ
0 ≤ ρ ≤ 1 (also known as utilization factor)
• Stability criterion: ρ < 1 (single server systems)
10
Queue Performance Metrics
• N: Avg number of customers in system
as a whole, including any in service
• Q: Avg number of customers in the
queue (only), excluding any in service
• W: Avg waiting time in queue (only)
• T: Avg time spent in system as a whole,
including wait time plus service time
• Note: Little’s Law: N = λ T
11
M/M/1 Queue Results
• Average number of customers in the
system: N = ρ / (1 – ρ)
• Variance: Var(N) = ρ / (1 - ρ)2
• Waiting time: W = ρ / (μ (1 – ρ))
• Time in system: T = 1 / (μ(1 – ρ))
12
The M/D/1 Queue
• Assumes Poisson arrival process,
deterministic (constant) service times,
single server, FCFS service discipline,
infinite capacity for storage, no loss
• Notation: M/D/1
– Markovian arrival process (Poisson)
– Deterministic service times (constant)
– Single server (FCFS, infinite capacity)
13
M/D/1 Queue Results
• Average number of customers:
Q = ρ/(1 – ρ) – ρ2
/ (2 (1 - ρ))
• Waiting time: W = x ρ / (2 (1 – ρ)) where
x is the mean service time
• Note that lower variance in service time
means less queueing occurs 
14
The M/G/1 Queue
• Assumes Poisson arrival process,
general service times, single server,
FCFS service discipline, infinite capacity
for storage, with no loss
• Notation: M/G/1
– Markovian arrival process (Poisson)
– General service times (must specify F(x))
– Single server (FCFS, infinite capacity)
15
M/G/1 Queue Results
• Average number of customers:
Q = ρ + ρ2
(1 + C2
) / (2 (1 - ρ)) where C is
the Coefficient of Variation (CoV) for the
service-time distn F(x)
• Waiting time:
W = x ρ (1 + C2
) / (2 (1 – ρ)) where x is the mean
service time from distribution F(x)
• Note that variance of service time distn could
be higher or lower than for exponential distn!
16
The G/G/1 Queue
• Assumes general arrival process,
general service times, single server,
FCFS service discipline, infinite capacity
for storage, with no loss
• Notation: G/G/1
– General arrival process (specify G(x))
– General service times (must specify F(x))
– Single server (FCFS, infinite capacity)
17
Queueing Network Models
• So far we have been talking about a
queue in isolation
• In a queueing network model, there can
be multiple queues, connected in series
or in parallel (e.g., CPU, disk, teller)
• Two versions:
– Open queueing network models
– Closed queueing network models
18
Open Queuing Network Models
• Assumes that arrivals occur externally
from outside the system
• Infinite population, with a fixed arrival
rate, regardless of how many in system
• Unbounded number of customers are
permitted within the system
• Departures leave the system (forever)
19
Closed Queuing Network Models
• Assumes that there is a finite number of
customers, in a self-contained world
• Finite population; arrival rate varies
depending on how many and where
• Fixed number of customers (N) that
recirculate in the system (forever)
• Can be analyzed using Mean Value
Analysis (MVA) and balance equations

Weitere ähnliche Inhalte

Was ist angesagt? (20)

Queuing theory
Queuing theoryQueuing theory
Queuing theory
 
Queuing theory
Queuing theoryQueuing theory
Queuing theory
 
Queuing theory
Queuing theoryQueuing theory
Queuing theory
 
Queuing theory
Queuing theoryQueuing theory
Queuing theory
 
Queuing theory and simulation (MSOR)
Queuing theory and simulation (MSOR)Queuing theory and simulation (MSOR)
Queuing theory and simulation (MSOR)
 
Queing theory and delay analysis
Queing theory and delay analysisQueing theory and delay analysis
Queing theory and delay analysis
 
Waiting line model(or presentation)
Waiting line model(or presentation)Waiting line model(or presentation)
Waiting line model(or presentation)
 
Queuing analysis
Queuing analysisQueuing analysis
Queuing analysis
 
Queuing unit v ppt
Queuing unit v pptQueuing unit v ppt
Queuing unit v ppt
 
queueing problems in banking
queueing problems in bankingqueueing problems in banking
queueing problems in banking
 
14 queuing
14 queuing14 queuing
14 queuing
 
Ramniwas final
Ramniwas finalRamniwas final
Ramniwas final
 
516 Queuing
516 Queuing516 Queuing
516 Queuing
 
queuing theory/ waiting line theory
queuing theory/ waiting line theoryqueuing theory/ waiting line theory
queuing theory/ waiting line theory
 
Queuing in Project Management
Queuing in Project ManagementQueuing in Project Management
Queuing in Project Management
 
Queueing theory
Queueing theoryQueueing theory
Queueing theory
 
Waiting line system
Waiting line systemWaiting line system
Waiting line system
 
Unit 1 introduction contd
Unit 1 introduction contdUnit 1 introduction contd
Unit 1 introduction contd
 
Queuing theory
Queuing theoryQueuing theory
Queuing theory
 
Queueing theory
Queueing theoryQueueing theory
Queueing theory
 

Ähnlich wie Q theory

Ähnlich wie Q theory (20)

Queuing theory and traffic analysis in depth
Queuing theory and traffic analysis in depthQueuing theory and traffic analysis in depth
Queuing theory and traffic analysis in depth
 
Queuing Theory
Queuing TheoryQueuing Theory
Queuing Theory
 
Automated Parameterization of Performance Models from Measurements
Automated Parameterization of Performance Models from MeasurementsAutomated Parameterization of Performance Models from Measurements
Automated Parameterization of Performance Models from Measurements
 
Queuing Theory by Dr. B. J. Mohite
Queuing Theory by Dr. B. J. MohiteQueuing Theory by Dr. B. J. Mohite
Queuing Theory by Dr. B. J. Mohite
 
Queuing theory
Queuing theoryQueuing theory
Queuing theory
 
08_Queueing_Models.pdf
08_Queueing_Models.pdf08_Queueing_Models.pdf
08_Queueing_Models.pdf
 
ch06-Queuing & Simulation.ppt
ch06-Queuing & Simulation.pptch06-Queuing & Simulation.ppt
ch06-Queuing & Simulation.ppt
 
Module 2 - Queuing Models and notations.pdf
Module 2 - Queuing Models and notations.pdfModule 2 - Queuing Models and notations.pdf
Module 2 - Queuing Models and notations.pdf
 
Queuing theory network
Queuing theory networkQueuing theory network
Queuing theory network
 
Unit V - Queuing Theory
Unit V - Queuing TheoryUnit V - Queuing Theory
Unit V - Queuing Theory
 
QUEUING THEORY
QUEUING THEORY QUEUING THEORY
QUEUING THEORY
 
Operation Research
Operation ResearchOperation Research
Operation Research
 
Simulation chapter 4
Simulation chapter 4Simulation chapter 4
Simulation chapter 4
 
HIGH SPEED NETWORKS
HIGH SPEED NETWORKSHIGH SPEED NETWORKS
HIGH SPEED NETWORKS
 
Ssme queueing theory
Ssme queueing theorySsme queueing theory
Ssme queueing theory
 
Queuing theory and its applications
Queuing theory and its applicationsQueuing theory and its applications
Queuing theory and its applications
 
Tps04
Tps04Tps04
Tps04
 
Queuing Theory
Queuing TheoryQueuing Theory
Queuing Theory
 
Data Stream Management
Data Stream ManagementData Stream Management
Data Stream Management
 
Lecture7-QuantitativeAnalysis2.pptx
Lecture7-QuantitativeAnalysis2.pptxLecture7-QuantitativeAnalysis2.pptx
Lecture7-QuantitativeAnalysis2.pptx
 

Kürzlich hochgeladen

A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESmohitsingh558521
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
What is Artificial Intelligence?????????
What is Artificial Intelligence?????????What is Artificial Intelligence?????????
What is Artificial Intelligence?????????blackmambaettijean
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 

Kürzlich hochgeladen (20)

A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
What is Artificial Intelligence?????????
What is Artificial Intelligence?????????What is Artificial Intelligence?????????
What is Artificial Intelligence?????????
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 

Q theory

  • 1. 1 Queuing Theory By Dr.V V HaraGopal Professor,Dept of Statistics, Osmania University, Hyderabad-500 007 Email Id:haragopal_vajjha@yahoo.com
  • 2. 2 Queueing Theory Basics • Queueing theory provides a very general framework for modeling systems in which customers must line up (queue) for service (use of resource) – Banks (tellers) – Restaurants (tables and seats) – Computer systems (CPU, disk I/O) – Networks (Web server, router, WLAN)
  • 3. 3 Queue-based Models • Queueing model represents: – Arrival of jobs (customers) into system – Service time requirements of jobs – Waiting of jobs for service – Departures of jobs from the system • Typical diagram: Customer Arrivals Departures Buffer Server
  • 4. 4 Why Queue-based Models? • In many cases, the use of a queuing model provides a quantitative way to assess system performance – Throughput (e.g., job completions per second) – Response time (e.g., Web page download time) – Expected waiting time for service – Number of buffers required to control loss • Reveals key system insights (properties) • Often with efficient, closed-form calculation
  • 5. 5 Caveats and Assumptions • In many cases, using a queuing model has the following implicit underlying assumptions: – Poisson arrival process – Exponential service time distribution – Single server – Infinite capacity queue – First-Come-First-Serve (FCFS) discipline (also known as FIFO: First-In-First-Out) • Note: important role of memoryless property!
  • 6. 6 Advanced Queuing Models • There is Lot of published work on variations of the basic model: – Correlated arrival processes – General (G) service time distributions – Multiple servers – Finite capacity systems – Other scheduling disciplines (non-FIFO) • We will start with the basics!
  • 7. 7 Queue Notation • Queues are concisely described using the Kendall notation, which specifies: – Arrival process for jobs {M, D, G, …} – Service time distribution {M, D, G, …} – Number of servers {1, n} – Storage capacity (buffers) {B, infinite} – Service discipline {FIFO, PS, SRPT, …} • Examples: M/M/1, M/G/1, M/M/c/c
  • 8. 8 The M/M/1 Queue • Assumes Poisson arrival process, exponential service times, single server, FCFS service discipline, infinite capacity for storage, with no loss • Notation: M/M/1 – Markovian arrival process (Poisson) – Markovian service times (exponential) – Single server (FCFS, infinite capacity)
  • 9. 9 The M/M/1 Queue (cont’d) • Arrival rate: λ (e.g., customers/sec) – Inter-arrival times are exponentially distributed (and independent) with mean 1 / λ • Service rate: μ (e.g., customers/sec) – Service times are exponentially distributed (and independent) with mean 1 / μ • System load: ρ = λ / μ 0 ≤ ρ ≤ 1 (also known as utilization factor) • Stability criterion: ρ < 1 (single server systems)
  • 10. 10 Queue Performance Metrics • N: Avg number of customers in system as a whole, including any in service • Q: Avg number of customers in the queue (only), excluding any in service • W: Avg waiting time in queue (only) • T: Avg time spent in system as a whole, including wait time plus service time • Note: Little’s Law: N = λ T
  • 11. 11 M/M/1 Queue Results • Average number of customers in the system: N = ρ / (1 – ρ) • Variance: Var(N) = ρ / (1 - ρ)2 • Waiting time: W = ρ / (μ (1 – ρ)) • Time in system: T = 1 / (μ(1 – ρ))
  • 12. 12 The M/D/1 Queue • Assumes Poisson arrival process, deterministic (constant) service times, single server, FCFS service discipline, infinite capacity for storage, no loss • Notation: M/D/1 – Markovian arrival process (Poisson) – Deterministic service times (constant) – Single server (FCFS, infinite capacity)
  • 13. 13 M/D/1 Queue Results • Average number of customers: Q = ρ/(1 – ρ) – ρ2 / (2 (1 - ρ)) • Waiting time: W = x ρ / (2 (1 – ρ)) where x is the mean service time • Note that lower variance in service time means less queueing occurs 
  • 14. 14 The M/G/1 Queue • Assumes Poisson arrival process, general service times, single server, FCFS service discipline, infinite capacity for storage, with no loss • Notation: M/G/1 – Markovian arrival process (Poisson) – General service times (must specify F(x)) – Single server (FCFS, infinite capacity)
  • 15. 15 M/G/1 Queue Results • Average number of customers: Q = ρ + ρ2 (1 + C2 ) / (2 (1 - ρ)) where C is the Coefficient of Variation (CoV) for the service-time distn F(x) • Waiting time: W = x ρ (1 + C2 ) / (2 (1 – ρ)) where x is the mean service time from distribution F(x) • Note that variance of service time distn could be higher or lower than for exponential distn!
  • 16. 16 The G/G/1 Queue • Assumes general arrival process, general service times, single server, FCFS service discipline, infinite capacity for storage, with no loss • Notation: G/G/1 – General arrival process (specify G(x)) – General service times (must specify F(x)) – Single server (FCFS, infinite capacity)
  • 17. 17 Queueing Network Models • So far we have been talking about a queue in isolation • In a queueing network model, there can be multiple queues, connected in series or in parallel (e.g., CPU, disk, teller) • Two versions: – Open queueing network models – Closed queueing network models
  • 18. 18 Open Queuing Network Models • Assumes that arrivals occur externally from outside the system • Infinite population, with a fixed arrival rate, regardless of how many in system • Unbounded number of customers are permitted within the system • Departures leave the system (forever)
  • 19. 19 Closed Queuing Network Models • Assumes that there is a finite number of customers, in a self-contained world • Finite population; arrival rate varies depending on how many and where • Fixed number of customers (N) that recirculate in the system (forever) • Can be analyzed using Mean Value Analysis (MVA) and balance equations