Jump to content

User:Tqzhang1010/sandbox

From Wikipedia, the free encyclopedia

We added the following sections to the existing page. The detailed citations are in the existing page.

The state space diagram for M/D/1 queue is as below:

Stage Space Diagram of M/D/1 Queue

Transition Matrix:

[edit]

, n = 0,1,....

Classic performance metrics:

[edit]

Example:

[edit]

Customers arrive a Starbucks line at a rate of 20 per hour, and follows an exponential distribution. There is only one server, the service rate is at a constant of 30 per hour.

Arrival Rate: 20 per hour

Service Rate: 60 per hour

ρ=20/30=2/3

Using the queueing theory equations, the results are as following:

Average number in line= 0.6667

Average number in system: 1.333

Average time in line: 0.033

Average time in system: 0.067

Relation for Mean Waiting Time in M/M/1 and M/D/1 queues:

[edit]

For an equilibrium M/G/1 queue, the expected value of the time W spent by a customer in the queue are given by Pollaczek-Khintchine formula as below

where τ is the mean service time; is the variance of service time; and ρ=λτ < 1, λ being the arrival rate of the customers.

For M/M/1 queue, the service times are exponentially distributed, then = and the mean waiting time in the queue denoted by WM is given by the following equation

Using this, the corresponding equation for M/D/1 queue can be derived, assuming constant service times. Then the variance of service time becomes zero, i.e.  =0.  The mean waiting time in the M/D/1 queue denoted as WD is given by the following equation

From the two equations above, we can infer that Mean queue length in M/M/1 queue is twice that in M/D/1 queue.

Finite capacity

[edit]

Stationary distribution

[edit]

, j = 1,..., N-1.

Transient solution

[edit]
  • The transient solution of an M/D/1 queue of finite capacity N, often written M/D/1/N, was published by Garcia et al in 2002.[9]

The mean number of customers in M/D/1/N queue presented in Garcia et al. 2002 is as follows:

The mean waiting time W N in the M/D/1/N queuing system presented in Garcia et al. 2002 is as follows:

Application

[edit]

Includes applications in wide area network design, where a single central processor to read the headers of the packets arriving in exponential fashion, then computes the next adapter to which each packet should go and dispatch the packets accordingly. Here the service time is the processing of the packet header and cyclic redundancy check, which are independent of the length of each arriving packets. Hence, it can be modeled as a M/D/1 queue.