How Do You Calculate Idle and Blocking Probabilities in M/D/1/n Queues?

  • Thread starter Turboshortbus
  • Start date
  • Tags
    Theory
In summary: However, if you are lost, I suggest looking for a more concise resource or finding someone who can help you with the calculations.In summary, the author outlines the general concepts of a M/D/1/n queue and describes how to calculate the blocking probability, idle probability, and average waiting time. He also suggests ways to improve the efficiency of a service process.
  • #1
Turboshortbus
2
0
Hello PF,

I have an assignment on M/D/1/n queues and between all the formulas and theory, I am completely lost. I need to be able to calculate the idle probability, blocking probability, and average waiting time for different buffer sizes n (0,1,4, etc.). I can find the answers for the boundary cases 0 and infiniti, but its the others I am clueless. Can anyone give me some tips to point me in the right direction?
 
Physics news on Phys.org
  • #2
Turboshortbus said:
Hello PF,

I have an assignment on M/D/1/n queues and between all the formulas and theory. I am completely lost. I need to be able to calculate the idle probability, blocking probability, and average waiting time for different buffer sizes n (0,1,4, etc.). I can find the answers for the boundary cases 0 and infiniti, but its the others I am clueless. Can anyone give me some tips to point me in the right direction?

With the M/D/n type queue you usually have a Poisson arrival process and a deterministic service process. For any given [itex]\lambda[/itex] (mean arrival rate) you can calculate the probability that the actual rate of arrivals exceeds the service capacity using the Poisson distribution. Calculators are available online or in statistical software. This would be the blocking probability. The idle probability is when the arrival rate falls below the service capacity leaving at least one server idle. The stationary state is when the system is in equilibrium. Average waiting time is just [itex]1/\lambda[/itex] and [itex]k/\lambda[/itex] is the average waiting time for the kth entity in the buffer. The buffer is simply the "waiting room" or allowable queue. The blocking probability is usually adjusted so that blocking only occurs when the buffer is full.

There's quite a few papers and articles available if you google queuing therory or Erlang's formulas.
 
Last edited:
  • #3
SW VandeCarr said:
There's quite a few papers and articles available if you google queuing therory or Erlang's formulas.

Spelling and typo corrections: Apparently the word is "queueing" but my spellcheck accepts "queuing" and not "queueing". "Theory" is just a typo.
 
Last edited:
  • #4
I have determined my utilizations and chance of blocking for various n size buffers but I am unsure how to calculate the estimated waiting times. I can use the pollaczek kinchen formula for n = 0 and infiniti but am unsure how to find the W(n) for finite buffers...any pointers anyone?

I think I should use Little's Theorem, but I don't have a formula for the queue length in a M/D/1/n system.
 
Last edited:
  • #5
Turboshortbus said:
I have determined my utilizations and chance of blocking for various n size buffers but I am unsure how to calculate the estimated waiting times. I can use the pollaczek kinchen formula for n = 0 and infiniti but am unsure how to find the W(n) for finite buffers...any pointers anyone?

I think I should use Little's Theorem, but I don't have a formula for the queue length in a M/D/1/n system.

It doesn't look like anyone else is going to respond to your question so you'll have to put up with (or ignore) me just one more time. First this reference:

http://spiderman-2.laas.fr/esquimaux/Documents/md1n-transitoire.pdf

Note some of the formulas refer to the probability mass function of the Poisson distribution. The calculations are tedious and most people use tables or calculators.

I outlined a direction for a steady state solution in my last post which either you did not understand or found too superficial. I suspect the former because you keep asking for a solution for W(n) without specifying whether it's the mean waiting time or the distribution of waiting times. Waiting time is a random variable in this kind of queue.

In the steady state, the mean waiting time for the first arrival will be zero if the service process is efficient. However, because the arrival process is a random variable with a mean [itex]\lambda[/itex] there will be queues as well as idle time for a fixed service capacity at various points. To make such a system more efficient a buffer is created that holds arrivals when queues develop which are then served during what would otherwise be idle time for the service process. I explained how to calculate the expected waiting time for the kth customer in the buffer in my last post.

It's clear that an inefficient service process will lead to an ever growing queue or to a long term excess service capacity. In a customer oriented situation, the former leads to customer losses because real queues are finite and the latter leads to financial losses.

You may know all of this, in which case others might be interested.
 
Last edited by a moderator:

Related to How Do You Calculate Idle and Blocking Probabilities in M/D/1/n Queues?

1. What is an M/D/1/n queueing system?

An M/D/1/n queueing system is a mathematical model used to analyze the performance of a single server queue with Poisson arrivals and exponentially distributed service times. The notation M/D/1/n stands for Markovian arrival process, deterministic service time, 1 server, and n maximum queue size.

2. What is the significance of the M/D/1/n model in queueing theory?

The M/D/1/n model is one of the most commonly studied queueing models because it can be used to analyze a wide range of real-life scenarios, such as customer service systems, transportation systems, and telecommunication networks. It also provides insights into the behavior of queues and helps in making decisions to improve efficiency and reduce waiting times.

3. How is the average waiting time calculated in an M/D/1/n queueing system?

The average waiting time in an M/D/1/n queueing system can be calculated using Little's Law, which states that the average number of customers in the system is equal to the average arrival rate multiplied by the average time a customer spends in the system. This formula can also be used to calculate the average queue length and the average number of customers being served simultaneously.

4. What are some common applications of M/D/1/n queueing theory?

M/D/1/n queueing theory has various applications in different fields, such as call centers, healthcare systems, transportation, and manufacturing. It is used to determine the optimal number of servers and resources needed to handle incoming requests, improve customer satisfaction, and reduce costs.

5. Can the M/D/1/n model be extended to include multiple servers?

Yes, the M/D/1/n model can be extended to include multiple servers, known as the M/D/m/n queueing model. This model takes into account the number of servers available to serve customers and can provide a more accurate analysis of the system's performance. It is commonly used in scenarios where there are multiple service points, such as grocery store checkout counters.

Similar threads

  • Set Theory, Logic, Probability, Statistics
Replies
3
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
1
Views
2K
  • Set Theory, Logic, Probability, Statistics
Replies
2
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
2
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
4
Views
3K
  • Set Theory, Logic, Probability, Statistics
Replies
16
Views
2K
  • Set Theory, Logic, Probability, Statistics
Replies
1
Views
2K
  • Introductory Physics Homework Help
Replies
3
Views
211
  • Advanced Physics Homework Help
Replies
4
Views
318
  • Set Theory, Logic, Probability, Statistics
Replies
4
Views
2K
Back
Top