SlideShare uma empresa Scribd logo
1 de 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

Mais conteúdo relacionado

Mais procurados (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
 

Semelhante a Q theory

Semelhante a 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
 

Último

How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 

Último (20)

How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 

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