Научная статья на тему 'Cfbltq: a closed feed back loop type queuing system; modeling and analysis'

Cfbltq: a closed feed back loop type queuing system; modeling and analysis Текст научной статьи по специальности «Компьютерные и информационные науки»

CC BY
58
15
i Надоели баннеры? Вы всегда можете отключить рекламу.

Аннотация научной статьи по компьютерным и информационным наукам, автор научной работы — Y. Yoshioka, T. Nagase

This paper presents an innovative approach to solve probability distributions of a closed feed back loop type queuing system with general service time distribution. This model is applied to a multi-processors system where some of its nodes are performed a repair procedure during a node’s malfunction condition. Our model is appropriate for a multiprocessor system that employs a common bus or for a multi-node system in computer network. A meticulous analysis of the system’s model has been conducted and numerical results have been obtained to scrutinize the proposed model.

i Надоели баннеры? Вы всегда можете отключить рекламу.
iНе можете найти то, что вам нужно? Попробуйте сервис подбора литературы.
i Надоели баннеры? Вы всегда можете отключить рекламу.

Текст научной работы на тему «Cfbltq: a closed feed back loop type queuing system; modeling and analysis»

CFBLTQ: A CLOSED FEED BACK LOOP TYPE QUEUING SYSTEM;

MODELING AND ANALYSIS

Y. Yoshioka, T. Nagase •

Graduate School of Science and Technology, Hirosaki University, (Hirosaki, Aomori, 036-8561 Japan)

e-mail: nagase@eit.hirosaki-u.ac.jp

ABSTRACT

This paper presents an innovative approach to solve probability distributions of a closed feed back loop type queuing system with general service time distribution. This model is applied to a multi-processors system where some of its nodes are performed a repair procedure during a node's malfunction condition. Our model is appropriate for a multiprocessor system that employs a common bus or for a multi-node system in computer network. A meticulous analysis of the system's model has been conducted and numerical results have been obtained to scrutinize the proposed model.

1 INTRODUCTION

The queuing system is widely classified into an open-type system and a closed-type system model which are described by Baskett et al. (1975). The open-type system model customers arrive from outside and depart to the outside of the system while in the closed system, the customers operate internally where no customers arrive from outside or depart to outside of the system. Numerous research works have been extensively dedicated to investigate the open system model (classical model) which is widely used in computer systems and computer networks. However, the closed system model has not been paid much attention in spite of its paramount importance to computer systems. Some research works have devoted to find an optimal solution to the closed queuing behaviour at a group of systems that form networks (See Benson & Gregory 1961, Jeffrey & Buzen 1973, Kakubava 2010, Denning & Buzen1978, Lavenberg & Reiser1980, Reiser & Lavenberg 1980), or at a particular system such as cyclic systems (See Koenigsberg, 1958, Gordon et al. 1967, Lipsky 1985, Lavenberg 1989). The reliability and flexibility of closed queuing systems with repairable elements has been investigated by Chinho et al. (1994) & Kakubava (2010), both of these works are considered two types of service operations where in Chinho (1994) examined the flexibility and the capacity of the repair station, while Kakubava (2010) scrutinized the closed queuing system for replacements and renewals.

This paper has made very punctilious efforts to formulate the closed system's behaviour for maintenance operation at a maintenance repair center in the course of malfunctions which might develop in the system during repairing procedures. A failed element is removed from the system while keeping the system operates normally. Our proposed a closed queuing system consists of only one type of service operation with a closed feed back loop type queuing system CFBLTQ model. We study the reliability and the limitation of the system in case of failed elements increased, also we will investigate of how far faults tolerance that the system can offer.

2 MODEL OF A CLOSED LOOP TYPE QUEUING SYSTEM

The proposed system consists of multi elements or processors which are autonomously operated. When any of the system's elements malfunction is reported, this element is required for

repair operation (or service) at the service repair center (server). The repaired element is subsequently put to work in the system again.

This kind of element's failure and repair procedure is called Closed Feed Back Loop Type CFBLTQ queuing system, an example of this model is illustrated in Figure 1. The CFBLTQ model has fault tolerance, with respect to a single or a multi-element failure. To formulate the system's model, we define X as elements' failure rate per unit time and p as the rate of completions' repairing per unit time when the system is busy. Meanwhile, the exponential distributions for both arrival time and service time have been considered. The system has also self configuration feature that can tolerant temporary failures while distributing tasks which have been assigned to the failure element to other active elements. The system can tolerant up to m of N elements (m e N) while the system operation will be in a normal operation condition if the number of faulty elements are less than or equal to m. The fault tolerant is defined by probability of working elements in the system which the probability of a minimum number of elements m in the system while keeping the system operates normally. The following sub-section will present a mathematical procedure of how to obtain the probability of working elements.

As mentioned above, the proposed system's model is applicable for numerous systems' applications in computer systems and we will focus on a maintenance operation at a maintenance repair station.

Figure 1. An example model of a closed feed back loop type queuing system model.

3 AN ANALYSIS OF THE CLOSED QUEUING SYSTEM

A systematic approach is given in this section for proper analysis of CFBLTQ model, an example of this model is shown in Figure 1. The CFBLTQ model is described below and the properties of the model is given by

(1) We consider the system is in a steady state, and the queue is first in and first service (FIFS) model's discipline.

(2) Let the number of elements in the system be N (N >1). The request arrivals for service due to elements' malfunctions follow an exponential distribution with elements' failure rate of X.

(3) Let the service time distribution be a general distribution. Suppose the probability that a service is started between arbitrary time t and time t+A is equal to p(x)A+o(A2) on service time x, and the density functionf(x) of service time distribution is given by

System of N elements

Return to element

Server Service time x

f (x) = m(x) •e

f ' y)dy J 0

(1)

The full derivation of above equation is given in the Appendix of this paper. (4) Let the probability density function of the service time x with n queue length be wn(x). The state probabilities pn are given by

JKO

0Wn,( X) dx (n = 1,2,-, N) (2)

End of service

Start of service

t+A

Service time x

time

Wn(x) Wn(x+A)

Figure 2. The relationship among n states wn(x) at arbitrary time t and t+A, when the service continues.

From above notations and since the service is continued, as shown in Figure 2, the relationship between wn(x) in arbitrary time t and wn(x+A) in time (t+A) is given as follows

w0(x + A) = {1 - (N -1 - n) • AA}- {1 - ¡d(x)A}- w0 (x) + o(A2) (3)

wn (x + A) = {1 - (N -1 - n) • AA}- {1 - M(x)A}- Wn (x)

+ (N - n) • AA • wn-1 (x) + o( A2) (n = 1,2, —, N -1) For A ^ 0, we can differentiate the above equations with respect to x to obtain

(4)

dW0 (x) + {(N -1) • A + n(x)}- W0 (x) = 0 (5)

dx

dwn (x) + {(N -1 - n) • A + n( x)} • wn (x) = (N - n) -A-w^ (x) (n = 1,2,- • •, N -1) (6)

dx

In order to solve the above differential equations, the differential Equations wn(x) of (5) and (6) become

Îx

M( x )dx

wo(x) = Co • e

e (7)

W (x) = {Cn + (-1)1 ^ ■ Cn_! ■ e- + (-1)2 (N - n + *N - n) ■ Cn_2 ■ e-

+... + (-1) n ( N -1) ••• ( N - n) . C0 . e -n- }. e -n-ryh:-Xo K y)dy (8)

n!

(n = 1,2,• • •, N -1)

where Cn (n= 0, 1, 2, . . ., N-1) is a constant value given by the boundary conditions at the start point or at the end point of service. Moreover, from (2), the state probabilities are

A =f Wo(x)dx =Co •1 -/*{(N-1)A} (9)

1 Jo oW o (N - 1)A

Pn = L w

JQ wn-l(x)dx =Cn-1 ■

1 - f *{(N - n)1} ^ (N - n +1)!

(N - n)1

+ (-1)1

1!

• C

n-2

1 - f '{(N - n +1)1} ( N - n +1)1

+

+ (-1) n-1 ( N -1) ••• ( N - n +1) • C • 1 - f *{( N -1)1}

(n -1)!

(N -1)1

+(-1) -<N - 1 ;■■< N :n+1 ■ c0 .1 - f,{( N : '>A} (n=2, 3,—, n )

(n -1)!

( N -1) A

(10)

where f (iX) is the Laplace transform of the functionf(x) that was given in (1) and is given by

f » = }" f ( x) ■ e ~i;kxdx

(i = 0,1,2,—, N -1)

(11)

t+A

End of service

Po

Start of service

A

Wo(0)

Request for service

(a)

time

Start of service

End of service t

End of service

t+A

Service time x

A

Start of service

time

Wn(x) wn-1(0) (b)

Figure 3. The states exchange between arbitrary time t and t+A at the start point and/or at the end point of the service. (a) when n=0 at arbitrary time t (b) when n>0 at arbitrary time t

On the other hand, the boundary conditions at the start point or at the end point of the service, as shown in Fig.3, are given by the following formulas

w.

p0 = {1 - N • AA}- p0 + J" ¡u(x)A • w0(x) dx + o(A2)

iНе можете найти то, что вам нужно? Попробуйте сервис подбора литературы.

pœ 2

w0 (0)A = I ¡u(x)A • w1 (x) dx + N • 1A • p0 + o(A2 ) »0

Îw -

n(x)A ■ wn (x) dx + o(A2) (n = 2, 3,—, N -1)

JQ

(12)

(13)

(14)

If A ^ 0, the above equations become as follows

N - A- p0 =| u( x) - w0( x) dx (15)

(0) =r u(x) - w1(x) dx + N-A- p0 (16)

»0

w„-1(0) =f" u(x) - wn (x) dx (n = 2,3,---, N-1) (17)

0

By substituting the values of w0 and wn in Equations (7) and (8), respectively, into (15), (16) and (17) to obtain the constant values C0, Ciand Cn which are given as follows

C0 = N - A-p0 (18)

0 f •{(N - 1)A}

C = C 1 + (N - 2)- f'{(N - 1)A} (19)

1 0 f *{(N - 2)A}

1 N - n

Cn = -™■ [{1+■ f ((N-n)*)}■ Cn-1

f {(N - n - 1)A} 1

/ (N - n +1) M N - n r*,,,T „ „ „

+ (-1)^-1-^{1 + ■ f ((N-n +1)*)}■ Cn_2 +■■■ (20)

+ (-1) n-1( N-1)(-( N- n +1) ■fl + — ■ f*((N -1) ^ C0]

(n -1)! n

(n = 2, 3, —, N -1)

Insert the above constant values into the Equations (9) into (10), then we have the state probabilitiespn (n=0, 1, 2, . . ., N-1). The empty state probabilityp0 is given by

I Pn = 1 (21)

n

n=0

To calculate the average waiting time, we need to define another parameter which is average service time TS, this parameter is given by

0 x -f (x) dx (22)

If the state probabilities pn (n=0, 1, 2, . . ., N) are solved by above (9) to (10) and (19) to (22) then the average queue length Lq and the average waiting time Wq are given respectively by

N-1

x n

Lq =I (n -1) pn =I n pn+1 (23)

q / v v ' -L n

n-1 n=0

N- r r f(x + y) J L T T N-1^ f ((N - n - 1)A)

I I w (x)1 nTS + 1 y—-—dy \dx = L ■TS +I {C ^-

¿0 J° n 1 S J° M - F(x) y\ q S n ((N - n - 1)A)2

I (-1) C (N - n + i -1)---( N - n) f'((N - n + i - 1)A)} tT ) n-i i! ((N - n + i - 1)A)2 }

(24)

Suppose Pw is working probability which it means that the probability of a minimum number of elements m in the system while keeping the system operates normally and it's given by

Pw = p 0 + p1 + ■■■+ pn - m (N > m > 0) (25)

The above (25) means that the system is able to operate normally with minimum elements in operations. Therefore, our model has fault tolerance and has the ability to respond properly to an unexpected failure, and we can realize that the system's operation works normally even the system has some faulty elements.

4 NUMERICAL RESULTS AND DISCUSSIONS

In previous section, we assumed in our previous calculations that the service time was general service distribution, however, if we consider that the service time is Erlang type k distributed then Equation (11) will be

f *(iA) = P f (x)e-^dx = P ^Lxk^e^dx = i-^T (26)

Jo (k -1)! ^ iX+ kn)

1,0

0,8

•JS 0,6 «

-a

©

PM

<u 0,4

0,2

0,0

0,0

0,2

0,4

0,6

0,8 X

1,0

1,2

1,4

Figure 4. The state probabilities pn versus the arrival rate X on condition of N=5, k=10, TW (unit time)

Equation (33) is Laplace transformation off(x), where p is any arbitrary positive service rate. We analyze the initial system performance by evaluating (9) to (21) and (22) for N=5, Ts=1 with different k phase and is plotted in Figure 4. As shown in figures, the state probability of all elements in operations p0, where no defective elements in the system or n=0 is reported, is sharply decreased while the state probabilitypn for (n=N) is increased as arrival rate X expanded. However, for each state probabilitiespn (0< n <N) has a maximum value at a specific rate of X. This maximum value becomes higher as k increased. As we mentioned above, the number of faulty elements should be less than or equal to m (m e N), for keeping the system operates normally.

Figure 5 shows the probability of the system operates normally Pw versus arrival rate of the defective elements with various k phases. However, if the system has not fault tolerance capability then any defective element in the system will cause a system's termination. For example, if the system has 5 elements then the probability Pw = po =0.269 at X=0.2 with k=1. However, in case of the system has fault tolerance capability, suppose that the system has 3 of 5 elements are out of services, then the probability Pw=0.798 at X=0.2 with k=1. Therefore, our model has fault tolerance and has the ability to respond reasonably to an unexpected failure, and we can realize that system's operation works normally even the system has some faulty elements.

Figure 5. The probability Pw of the 3 out of 5 system versus the arrival rate X on conditions of N=5, TS=1 (unit time).

5 CONCLUSIONS

A study of a closed system's behavior is very important because is widely used in recent computer systems and in factories. In this paper, we presented an analytical method for a closed feed back loop type queuing CFBLTQ model, which is appropriated for failure and repair processes in the maintenance station. Numerical examples were given to gain a better understanding of the system's behavior. The system model has fault tolerance capabilities by considering the system has a self configuration feature that can tolerant temporary failures while operation's tasks which have been assigned to failure elements are distributed to other active elements.

6 REFERENCES

1. Baskett, F., Chandy K., Muntz R. and Palacios F. 1975. Open, Closed, and Mixed Networks of Queues with Different Classes of Customers. Journal of the ACM 22 (2):248-260.

2. Benson, F and Gregory, G. 1961. Closed Queueing Systems: A Generalization of the Machine Interference Model. Journal of the Royal Statistical Society. Series B (Methodological) Vol. 23, No. 2: pp. 385-393.

3. Jeffrey P. and Buzen, J. 1973. Computational Algorithms for Closed Queueing Networks with Exponential Servers. Communications ofthe ACM September Vol. 16 No. 9: pp. 527-531.

4. Kakubava, R. V. 2010. Multi-line Closed Queuing System for Two Maintenance Operations. Journal of Reliability : Theory & Applications. Vol.1 No. 1 (16): pp.15-22.

5. Denning, P. and Buzen, J., 1978. The Operational Analysis of Queueing Network Models. ACM Computing Surveys. Vol. 10 No. 3: pp. 225-261.

6. Lavenberg, S. S. and Reiser, M. 1980. Stationary State Probabilities at Arrival Instants for Closed Queueing Networks with Multiple Types of Customers. J. Applied Probability. Vol. 17 No. 4: pp. 1048-1061.

7. Reiser, M. and Lavenberg, S. S. 1980. Mean Value Analysis on Closed Multichain Queueing Networks. J.

ACM. Vol. 27 No. 2: pp. 313-322.

8. Koenigsberg, E. 1958. Cyclic Queues. Operations Research. Vol. 9:pp. 22-35.

9. Gordon W. J. and Newell G. F. 1967. Closed Queuing Systems with Exponential Servers. Operations Research. Vol. 15 No. 2: pp. 254-265.

10. William J. Gordon and Gordon F. Newell, (1967) "Cyclic Queuing Systems with Restricted Length Queues," Operations Research, Vol. 15, No. 2, pp. 266-277.

11. Lipsky L. 1985. Explicit Solutions of M/G/C/ /N-Type Queueing Loops with Generalizations. Operations Research. Vol. 33 No. 4: pp. 911-927.

12. Lavenberg S. S. 1989. A Perspective on Queueing Models of Computer Performance. Performance Evaluation. Vol. 10 No. 1: pp. 53-76.

13. Lin C., Madu C. N. and Kuei C. 1994. A closed queuing maintenance network for a flexible manufacturing system. Operations Research. Vol. 45 No. 10: pp. 1141-1155.

14. Kakubava R. V. 2010. Multi-line Markov closed queuing system for tow maintenance operations. J. of Reliability Theory & Applications. Vol. 1 No. 1 (16): pp. 15-22.

15. Yoshioka Y. 1988. Designing of Computer Systems Using the queuing System: Morikita Publishers (in Japanese).

16. Yoshioka Y. 2004. Queuing Systems and Probability Distributions: Morikita Publishers (in Japanese).

APPENDIX

In this Appendix, we will derive (1) which is the density functionf(x) of service time distribution (See Yoshioka 1988, Yoshioka 2oo4). Suppose the probability that service is completed on arbitrary service time x to x+A is the conditional probability and is defined by

F ( x + A) - F ( x)_ f (x) A , „,A2,_ \ , „,A2

1 - F (x) 1 - F (x)

A + o(A2) = x) ■ A + o(A2) (A1)

where F(x) and f(x) are the probability distribution function and the probability density function, respectively. From (A1), we can obtain the following function

f (x) = u( x) (A2)

f dt = 'og'1 - F(x) = f ^ (A3)

iНе можете найти то, что вам нужно? Попробуйте сервис подбора литературы.

1 - F (x)

By taking limit integration for both sides of (A2) with respect to t, where (0 < t < x)

f (t) - F (t)

The function F(x) in (A3) can be expressed as

F(x) = 1 - eu(t)dt (A4)

Finally, the probability density function f(x) can be obtained, as well

f (x) = dF(x) = u(x)- eS u(t)dt (A5)

dx

i Надоели баннеры? Вы всегда можете отключить рекламу.