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

CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelDeepika Singh
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Angeliki Cooney
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...apidays
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamUiPathCommunity
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 

Kürzlich hochgeladen (20)

CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 

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