SlideShare a Scribd company logo
Seminar
on
INTRODUCTION TO QUEUING THEORY
Submitted to: Submitted by:
Dr. Harikesh Singh Shiwangi Yadav
Er. No.: 142107
• Queuing
• Queuing Notation
• Rules For All Queues
• Little’s Law
• Types Of Stochastic Processes
 A queue is a waiting line of customers requiring service from
one server to another and it is a mathematical study of waiting
lines or queues.
 It is extremely useful in predicting and evaluating the system
performance.
 There are some applications of queuing like Traffic control ,
Health service , Ticket sales etc.
1
1. Arrival Process: If the students arrive at times t1,t2,...,tj
the random variables τj = tj – tj-1 are called the interarrival
times. It is generally assumed that τj form a sequence of
Independent and Identically Distributed random variables.
2. Service Time Distribution: We also need to know the
time each student spends at the terminal. This is called the
service time. It is common to assume that the service times
are random variables, which are IID.
2
3. Number of Servers: The terminal room may have one or
more terminals, all are considered part of the same queuing
system since they are all identical, and any terminal may be
assigned to any student.
If all the servers are not identical, they are usually divided
into groups of identical servers with separate queues for each
group.
4. System Capacity: The maximum number of students who
can stay may be limited due to space availability and also to
avoid long waiting times. This number is called the system
capacity.
3
5. Population Size: The total number of potential students
who can ever come to the computer centre is the
population size.
6. Service Discipline: The order in which the students are
served is called the service discipline. The most common
discipline is First Come First Served (FCFS). Other
possibilities are Last Come First Served (LCFS) and Last
Come First Served with Preempt and Resume (LCFS-
PR).
4
There are some key variables used in queueing analysis are
as follow:
 τ = interarrival time, the time between two successive
arrivals.
 λ = mean arrival rate.
 s = service time per job.
 m = number of servers.
 μ= mean service rate per server.
 n= number of jobs in the system. This is also called
queue length.
5
 nq = number of jobs waiting to receive service.
 ns = number of jobs receiving service.
 r = response time.
 w = waiting time.
There are a number of relationships among these variables
that apply to G/G/m queues.
1. Stability Condition: If the number of jobs in a system
grows continuously and becomes infinite, the system is
said to be unstable. For stability the mean arrival rate
should be less than the mean service rate is
λ > mμ
6
2. Number in System versus Number in Queue: The
number of jobs in the system is always equal to the sum of
the number in the queue and the number receiving service:
n=nq + ns
n, nq, and ns, are random variables.
The mean number of jobs in the system is equal to the
sum of the mean number in of job in the queue and the
mean number receiving service.
E[n]=E[nq] + E[ns]
If the service rate of each server is independent of the
number in the queue, we have
Cov(nq,ns) = 0 and Var[n] = Var[nq] + Var[ns]
7
3. Number versus Time: If jobs are not lost due to
insufficient buffers, the mean number of jobs in a system
is related to its mean response time as follows:
Mean number of jobs in system = arrival rate × mean
response time.
Mean number of jobs in queue = arrival rate × mean
waiting time.
8
4. Time in System versus Time in Queue: The time
spent by a job in a queueing system.
r = w + s
r, w, and s are random variables
The mean response time is equal to the sum of the mean
waiting time and the mean service time.
E[r] = E[w] + E[s]
If the service rate is independent of the number of jobs in
the queue, we have
Cov(w,s) = 0 and Var[r] = Var[w] + Var[s]
9
 Little’s law, which was first proven by Little in 1961.
 The most commonly used theorems in queuing theory is
Little’s law, which allows us to relate the mean number of
jobs in any system with the mean time spent in the system as
follows:
Mean number in the system = arrival rate × mean response
time
 The law applies as long as the number of jobs entering the
system is equal to completing service, so that no new jobs
are created in the system and no jobs are lost inside the
system.
10
 The law can be applied to the part of the system
consisting of the waiting and serving positions because
once a job finds a waiting position , it is not lost.
11
1. Discrete-State and Continuous-State Processes: A
process is called discrete or continuous state depending
upon the values its state can take.
 If the number of possible values is finite or countable, the
process is called a discrete-state process.
 The waiting time w(t) can take any value on the real line
then, w(t) is a continuous-state process.
12
2. Markov Process: If the future states of a process are
independent of the past and depend only on the present,
the process is called a Markov process.
 It can be used to model a random system that change the
state according to transition rule that only depend on
current state.
13
3. Birth-Death Processes: The discrete-space Markov
processes in which the transitions are restricted to
neighboring states only are called birth-death processes.
 It is possible to represent states by integer such that a
process in state n can change only two state n+1 or n-1.
14
4. Poisson Processes: It is a random process which
counts the number of event and time that these event
occur in given time interval (t, t+x) has a Poisson
distribution, and then, the arrival process is referred to
as a Poisson process.
15
Poisson process have the following properties:
 Merging of k Poisson process with mean rate λi results
in a Poisson stream with mean rate λ given by
λ =
 If a Poisson process is split into k substreams such that
the probability of a job going to the ith substream is pi,
each substream is also Poisson with a mean rate of piλ.
16

k
i
i
1

 If the arrivals to a single server with exponential service
time are Poisson with mean rate λ, the departures are also
Poisson with the same rate λ, provided the arrival rate λ is
less than the service rate μ.
 If the arrivals to a service facility with m service centres
are Poisson with a mean rate λ, then the departures also
a Poisson with the same rate λ and provided the arrival
rate λ is less than the total service rate
17
Queuing theory is major for computer system
performance and also in our daily life. It can be used to
help reduce waiting times. It helps in determining the
time that the jobs spend in various queues in the system.
18
Any Question?
Thank You

More Related Content

What's hot

basics of stochastic and queueing theory
basics of stochastic and queueing theorybasics of stochastic and queueing theory
basics of stochastic and queueing theory
jyoti daddarwal
 
QUEUING THEORY
QUEUING THEORYQUEUING THEORY
QUEUING THEORYavtarsingh
 
Introduction to queueing theory
Introduction to queueing theoryIntroduction to queueing theory
Introduction to queueing theoryPresi
 
Queuing theory
Queuing theoryQueuing theory
Queuing theoryAbu Bashar
 
Queing theory and delay analysis
Queing theory and delay analysisQueing theory and delay analysis
Queing theory and delay analysis
Priyanka Negi
 
Queuing theory and simulation (MSOR)
Queuing theory and simulation (MSOR)Queuing theory and simulation (MSOR)
Queuing theory and simulation (MSOR)
snket
 
Queuing theory and its applications
Queuing theory and its applicationsQueuing theory and its applications
Queuing theory and its applications
DebasisMohanty37
 
Opersea report waiting lines and queuing theory
Opersea report waiting lines and queuing theoryOpersea report waiting lines and queuing theory
Opersea report waiting lines and queuing theory
Isaac Andaya
 
Queuing theory
Queuing theoryQueuing theory
Queuing theory
Venkatasami murugesan
 
Queuing theory
Queuing theoryQueuing theory
Queuing theory
Shinki Jalhotra
 
Unit 7 dynamic programming
Unit 7   dynamic programmingUnit 7   dynamic programming
Unit 7 dynamic programming
Nageswara Rao Thots
 
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
Zeal Education Society, Pune
 
Operational research queuing theory
Operational research queuing theoryOperational research queuing theory
Operational research queuing theory
Vidhya Kannan
 
Queueing Theory and its BusinessS Applications
Queueing Theory and its BusinessS ApplicationsQueueing Theory and its BusinessS Applications
Queueing Theory and its BusinessS Applications
Biswajit Bhattacharjee
 
14 queuing
14 queuing14 queuing
14 queuing
Dian Saputra
 
Queueing Theory- Waiting Line Model, Heizer and Render
Queueing Theory- Waiting Line Model, Heizer and RenderQueueing Theory- Waiting Line Model, Heizer and Render
Queueing Theory- Waiting Line Model, Heizer and Render
Ai Lun Wu
 
Waiting line model(or presentation)
Waiting line model(or presentation)Waiting line model(or presentation)
Waiting line model(or presentation)Muhammad NasRi
 

What's hot (20)

basics of stochastic and queueing theory
basics of stochastic and queueing theorybasics of stochastic and queueing theory
basics of stochastic and queueing theory
 
QUEUING THEORY
QUEUING THEORYQUEUING THEORY
QUEUING THEORY
 
Queue
QueueQueue
Queue
 
Introduction to queueing theory
Introduction to queueing theoryIntroduction to queueing theory
Introduction to queueing theory
 
Queuing theory
Queuing theoryQueuing theory
Queuing theory
 
Queing theory and delay analysis
Queing theory and delay analysisQueing theory and delay analysis
Queing theory and delay analysis
 
Queuing theory and simulation (MSOR)
Queuing theory and simulation (MSOR)Queuing theory and simulation (MSOR)
Queuing theory and simulation (MSOR)
 
Queuing theory and its applications
Queuing theory and its applicationsQueuing theory and its applications
Queuing theory and its applications
 
Opersea report waiting lines and queuing theory
Opersea report waiting lines and queuing theoryOpersea report waiting lines and queuing theory
Opersea report waiting lines and queuing theory
 
Queueing theory
Queueing theoryQueueing theory
Queueing theory
 
Queuing theory
Queuing theoryQueuing theory
Queuing theory
 
Queuing theory
Queuing theoryQueuing theory
Queuing theory
 
Ramniwas final
Ramniwas finalRamniwas final
Ramniwas final
 
Unit 7 dynamic programming
Unit 7   dynamic programmingUnit 7   dynamic programming
Unit 7 dynamic programming
 
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
 
Operational research queuing theory
Operational research queuing theoryOperational research queuing theory
Operational research queuing theory
 
Queueing Theory and its BusinessS Applications
Queueing Theory and its BusinessS ApplicationsQueueing Theory and its BusinessS Applications
Queueing Theory and its BusinessS Applications
 
14 queuing
14 queuing14 queuing
14 queuing
 
Queueing Theory- Waiting Line Model, Heizer and Render
Queueing Theory- Waiting Line Model, Heizer and RenderQueueing Theory- Waiting Line Model, Heizer and Render
Queueing Theory- Waiting Line Model, Heizer and Render
 
Waiting line model(or presentation)
Waiting line model(or presentation)Waiting line model(or presentation)
Waiting line model(or presentation)
 

Similar to Queuing theory

Simple queuingmodelspdf
Simple queuingmodelspdfSimple queuingmodelspdf
Simple queuingmodelspdfAnkit Katiyar
 
Lecture-2-01-02-2022.pdf
Lecture-2-01-02-2022.pdfLecture-2-01-02-2022.pdf
Lecture-2-01-02-2022.pdf
Zakria Bilal
 
Queuing Theory
Queuing TheoryQueuing Theory
Queuing Theory
Dallina1
 
Analysis of single server fixed batch service queueing system under multiple ...
Analysis of single server fixed batch service queueing system under multiple ...Analysis of single server fixed batch service queueing system under multiple ...
Analysis of single server fixed batch service queueing system under multiple ...
Alexander Decker
 
Queueing Theory.pptx
Queueing Theory.pptxQueueing Theory.pptx
Queueing Theory.pptx
Manish Agarwal
 
Management Queuing theory Lec 2
Management Queuing theory Lec 2Management Queuing theory Lec 2
Management Queuing theory Lec 2
cairo university
 
Unit V - Queuing Theory
Unit V - Queuing TheoryUnit V - Queuing Theory
25700722037-(HM-HU601).pptx mechanical engineering
25700722037-(HM-HU601).pptx mechanical engineering25700722037-(HM-HU601).pptx mechanical engineering
25700722037-(HM-HU601).pptx mechanical engineering
AnantaKumarNandi
 
25700722037-(HM-HU601).pdf mechanical engineering
25700722037-(HM-HU601).pdf mechanical engineering25700722037-(HM-HU601).pdf mechanical engineering
25700722037-(HM-HU601).pdf mechanical engineering
AnantaKumarNandi
 
Operations Research_18ME735_module 4 - queuing systems.pdf
Operations Research_18ME735_module 4 - queuing systems.pdfOperations Research_18ME735_module 4 - queuing systems.pdf
Operations Research_18ME735_module 4 - queuing systems.pdf
RoopaDNDandally
 
Analytical approximations of real-time systems with a single joint queue and ...
Analytical approximations of real-time systems with a single joint queue and ...Analytical approximations of real-time systems with a single joint queue and ...
Analytical approximations of real-time systems with a single joint queue and ...
International journal of scientific and technical research in engineering (IJSTRE)
 
Unit 3 des
Unit 3 desUnit 3 des
Unit 3 des
DevaKumari Vijay
 
Queueing theory
Queueing theoryQueueing theory
Queueing theory
MenglinLiu1
 
solving restaurent model problem by using queueing theory
solving restaurent model problem by using queueing theorysolving restaurent model problem by using queueing theory
solving restaurent model problem by using queueing theory
Subham kumar
 
Queuing Theory
Queuing TheoryQueuing Theory
Queuing Theory
RenjithVRavi1
 
Queuing analysis
Queuing analysisQueuing analysis
Queuing analysis
Parthipan Parthi
 
Queueing theory basics
Queueing theory basicsQueueing theory basics
Queueing theory basicsTala Alnaber
 

Similar to Queuing theory (20)

Simple queuingmodelspdf
Simple queuingmodelspdfSimple queuingmodelspdf
Simple queuingmodelspdf
 
QUEUING THEORY
QUEUING THEORY QUEUING THEORY
QUEUING THEORY
 
Lecture-2-01-02-2022.pdf
Lecture-2-01-02-2022.pdfLecture-2-01-02-2022.pdf
Lecture-2-01-02-2022.pdf
 
Queuing Theory
Queuing TheoryQueuing Theory
Queuing Theory
 
Operation Research
Operation ResearchOperation Research
Operation Research
 
Analysis of single server fixed batch service queueing system under multiple ...
Analysis of single server fixed batch service queueing system under multiple ...Analysis of single server fixed batch service queueing system under multiple ...
Analysis of single server fixed batch service queueing system under multiple ...
 
Queueing Theory.pptx
Queueing Theory.pptxQueueing Theory.pptx
Queueing Theory.pptx
 
Management Queuing theory Lec 2
Management Queuing theory Lec 2Management Queuing theory Lec 2
Management Queuing theory Lec 2
 
Unit V - Queuing Theory
Unit V - Queuing TheoryUnit V - Queuing Theory
Unit V - Queuing Theory
 
Chapter 14R
Chapter 14RChapter 14R
Chapter 14R
 
25700722037-(HM-HU601).pptx mechanical engineering
25700722037-(HM-HU601).pptx mechanical engineering25700722037-(HM-HU601).pptx mechanical engineering
25700722037-(HM-HU601).pptx mechanical engineering
 
25700722037-(HM-HU601).pdf mechanical engineering
25700722037-(HM-HU601).pdf mechanical engineering25700722037-(HM-HU601).pdf mechanical engineering
25700722037-(HM-HU601).pdf mechanical engineering
 
Operations Research_18ME735_module 4 - queuing systems.pdf
Operations Research_18ME735_module 4 - queuing systems.pdfOperations Research_18ME735_module 4 - queuing systems.pdf
Operations Research_18ME735_module 4 - queuing systems.pdf
 
Analytical approximations of real-time systems with a single joint queue and ...
Analytical approximations of real-time systems with a single joint queue and ...Analytical approximations of real-time systems with a single joint queue and ...
Analytical approximations of real-time systems with a single joint queue and ...
 
Unit 3 des
Unit 3 desUnit 3 des
Unit 3 des
 
Queueing theory
Queueing theoryQueueing theory
Queueing theory
 
solving restaurent model problem by using queueing theory
solving restaurent model problem by using queueing theorysolving restaurent model problem by using queueing theory
solving restaurent model problem by using queueing theory
 
Queuing Theory
Queuing TheoryQueuing Theory
Queuing Theory
 
Queuing analysis
Queuing analysisQueuing analysis
Queuing analysis
 
Queueing theory basics
Queueing theory basicsQueueing theory basics
Queueing theory basics
 

Recently uploaded

AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
SamSarthak3
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Dr.Costas Sachpazis
 
ethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.pptethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.ppt
Jayaprasanna4
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
fxintegritypublishin
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
ankuprajapati0525
 
space technology lecture notes on satellite
space technology lecture notes on satellitespace technology lecture notes on satellite
space technology lecture notes on satellite
ongomchris
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
WENKENLI1
 
Runway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptxRunway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptx
SupreethSP4
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
AJAYKUMARPUND1
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
Kamal Acharya
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
ViniHema
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
Osamah Alsalih
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
Pratik Pawar
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
bakpo1
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
ydteq
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
TeeVichai
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
gerogepatton
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
AafreenAbuthahir2
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
thanhdowork
 
Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
manasideore6
 

Recently uploaded (20)

AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
 
ethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.pptethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.ppt
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
 
space technology lecture notes on satellite
space technology lecture notes on satellitespace technology lecture notes on satellite
space technology lecture notes on satellite
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
 
Runway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptxRunway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptx
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
 
Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
 

Queuing theory

  • 1. Seminar on INTRODUCTION TO QUEUING THEORY Submitted to: Submitted by: Dr. Harikesh Singh Shiwangi Yadav Er. No.: 142107
  • 2. • Queuing • Queuing Notation • Rules For All Queues • Little’s Law • Types Of Stochastic Processes
  • 3.  A queue is a waiting line of customers requiring service from one server to another and it is a mathematical study of waiting lines or queues.  It is extremely useful in predicting and evaluating the system performance.  There are some applications of queuing like Traffic control , Health service , Ticket sales etc. 1
  • 4. 1. Arrival Process: If the students arrive at times t1,t2,...,tj the random variables τj = tj – tj-1 are called the interarrival times. It is generally assumed that τj form a sequence of Independent and Identically Distributed random variables. 2. Service Time Distribution: We also need to know the time each student spends at the terminal. This is called the service time. It is common to assume that the service times are random variables, which are IID. 2
  • 5. 3. Number of Servers: The terminal room may have one or more terminals, all are considered part of the same queuing system since they are all identical, and any terminal may be assigned to any student. If all the servers are not identical, they are usually divided into groups of identical servers with separate queues for each group. 4. System Capacity: The maximum number of students who can stay may be limited due to space availability and also to avoid long waiting times. This number is called the system capacity. 3
  • 6. 5. Population Size: The total number of potential students who can ever come to the computer centre is the population size. 6. Service Discipline: The order in which the students are served is called the service discipline. The most common discipline is First Come First Served (FCFS). Other possibilities are Last Come First Served (LCFS) and Last Come First Served with Preempt and Resume (LCFS- PR). 4
  • 7. There are some key variables used in queueing analysis are as follow:  τ = interarrival time, the time between two successive arrivals.  λ = mean arrival rate.  s = service time per job.  m = number of servers.  μ= mean service rate per server.  n= number of jobs in the system. This is also called queue length. 5
  • 8.  nq = number of jobs waiting to receive service.  ns = number of jobs receiving service.  r = response time.  w = waiting time. There are a number of relationships among these variables that apply to G/G/m queues. 1. Stability Condition: If the number of jobs in a system grows continuously and becomes infinite, the system is said to be unstable. For stability the mean arrival rate should be less than the mean service rate is λ > mμ 6
  • 9. 2. Number in System versus Number in Queue: The number of jobs in the system is always equal to the sum of the number in the queue and the number receiving service: n=nq + ns n, nq, and ns, are random variables. The mean number of jobs in the system is equal to the sum of the mean number in of job in the queue and the mean number receiving service. E[n]=E[nq] + E[ns] If the service rate of each server is independent of the number in the queue, we have Cov(nq,ns) = 0 and Var[n] = Var[nq] + Var[ns] 7
  • 10. 3. Number versus Time: If jobs are not lost due to insufficient buffers, the mean number of jobs in a system is related to its mean response time as follows: Mean number of jobs in system = arrival rate × mean response time. Mean number of jobs in queue = arrival rate × mean waiting time. 8
  • 11. 4. Time in System versus Time in Queue: The time spent by a job in a queueing system. r = w + s r, w, and s are random variables The mean response time is equal to the sum of the mean waiting time and the mean service time. E[r] = E[w] + E[s] If the service rate is independent of the number of jobs in the queue, we have Cov(w,s) = 0 and Var[r] = Var[w] + Var[s] 9
  • 12.  Little’s law, which was first proven by Little in 1961.  The most commonly used theorems in queuing theory is Little’s law, which allows us to relate the mean number of jobs in any system with the mean time spent in the system as follows: Mean number in the system = arrival rate × mean response time  The law applies as long as the number of jobs entering the system is equal to completing service, so that no new jobs are created in the system and no jobs are lost inside the system. 10
  • 13.  The law can be applied to the part of the system consisting of the waiting and serving positions because once a job finds a waiting position , it is not lost. 11
  • 14. 1. Discrete-State and Continuous-State Processes: A process is called discrete or continuous state depending upon the values its state can take.  If the number of possible values is finite or countable, the process is called a discrete-state process.  The waiting time w(t) can take any value on the real line then, w(t) is a continuous-state process. 12
  • 15. 2. Markov Process: If the future states of a process are independent of the past and depend only on the present, the process is called a Markov process.  It can be used to model a random system that change the state according to transition rule that only depend on current state. 13
  • 16. 3. Birth-Death Processes: The discrete-space Markov processes in which the transitions are restricted to neighboring states only are called birth-death processes.  It is possible to represent states by integer such that a process in state n can change only two state n+1 or n-1. 14
  • 17. 4. Poisson Processes: It is a random process which counts the number of event and time that these event occur in given time interval (t, t+x) has a Poisson distribution, and then, the arrival process is referred to as a Poisson process. 15
  • 18. Poisson process have the following properties:  Merging of k Poisson process with mean rate λi results in a Poisson stream with mean rate λ given by λ =  If a Poisson process is split into k substreams such that the probability of a job going to the ith substream is pi, each substream is also Poisson with a mean rate of piλ. 16  k i i 1 
  • 19.  If the arrivals to a single server with exponential service time are Poisson with mean rate λ, the departures are also Poisson with the same rate λ, provided the arrival rate λ is less than the service rate μ.  If the arrivals to a service facility with m service centres are Poisson with a mean rate λ, then the departures also a Poisson with the same rate λ and provided the arrival rate λ is less than the total service rate 17
  • 20. Queuing theory is major for computer system performance and also in our daily life. It can be used to help reduce waiting times. It helps in determining the time that the jobs spend in various queues in the system. 18