• Nenhum resultado encontrado

QUEUEING DISCIPLINES BASED ON PRIORITY MATRIX

N/A
N/A
Protected

Academic year: 2017

Share "QUEUEING DISCIPLINES BASED ON PRIORITY MATRIX"

Copied!
7
0
0

Texto

(1)

519.872

И ЦИ

И Ы

И

И

ИЦЫ

И

И

.И. ли вa, Э. в b

a И

, - , 197101, , aliev@cs.ifmo.ru

b , , LV-1019,

и .

. Д

-, ( , )

. , ,

-.

, . ,

, , .

-; ,

,

-. Д .

,

. Д

,

-.

л вы л в : , , ,

-, , .

QUEUEING DISCIPLINES BASED ON PRIORITY MATRIX

T.I. Alieva, E. Maharevsb a ITMO University, Saint Petersburg, 197101, Russian Federation, aliev@cs.ifmo.ru b

Baltic International Academy, Riga, LV-1019, Latvia

Abstract. The paper deals with queueing disciplines for demands of general type inqueueing systems with multivendor load. A priority matrix is proposed to be used for the purpose of mathematical description of such disciplines, which represents the priority type (preemptive priority, not preemptive priority or no priority) between any two demands classes. Having an intuitive and simple way of priority assignment, such description gives mathematical dependencies of system operation characteristics on its parameters. Requirements for priority matrix construction are formulated and the notion of canonical priority matrix is given. It is shown that not every matrix, constructed in accordance with such requirements, is correct. The notion of incorrect priority matrix is illustrated by an example, and it is shown that such matrixes do not ensure any unambiguousness and determinacy in design of algorithm, which realizes corresponding queueing discipline. Rules governing construction of correct matrixes are given for canonical priority matrixes. Residence time for demands of different classes in system, which is the sum of waiting time and service time, is considered as one of the most important characteristics. By introducing extra event method Laplace transforms for these characteristics are obtained, and mathematical dependencies are derived on their basis for calculation of two first moments for corresponding characteristics of demands queueing.

Keywords: queueing system, queueing discipline, mixed priorities, priority matrix, canonical priority matrix, correct and incorrect priority matrix.

в и

( )

,

[1–5].

-, , . Д

, (Д ).

, , ( ) ( )

[6–8].

Д ( )

-. И ,

Д ,

, –

( , ). Д

(Д ) [9–12],

.

Д .

Д ( ),

[10].

(2)

, Д

Д . ,

[10]

, , .

.

и и и в

)] , , 1 , (

[qij i j  H

Q ,

H, . Э qij

i (i- ) j (j- )

-: 0 – , 1 – 2 – .

Д ,

-. , , (H 4) ,

Д , Д Д , :

0 0 0 0 4

1 0 0 0 3

1 1 0 0 2

1 1 1 0 1

4 3 2 1

Q ;

0 0 0 0 4

2 0 0 0 3

2 2 0 0 2

2 2 2 0 1

4 3 2 1

Q ;

0 0 1 0 4

1 0 2 2 3

0 0 0 0 2

1 0 1 0 1

4 3 2 1

Q .

Д ( ),

, « –

» [10], ,

-Q , 3, –

2.

Э :

1. qii 0 (i1,,H);

2. qij 1 2, qji0 ( ,i j1,,H).

, qij 0 ij ( ,i j1,,H).

-,

, ó .

Ч ( 1) / 2

3H H

  , H – ,

-.

-.

,

-. ,

-, . ,

-, .

(H 3) 1 2 3

1 0 1 1 2 0 0 2 3 0 0 0 

Q .

. 2

3, 1,

3,

3 (q131). .

, 2 3,

3 (q232). , 2

1,

2 (q12 1). Э

(3)

3) , .

, .

( . 1).

2×2 3×3 4×4 5×5 6×6

Ч  3 27 729 59049 >14

Ч 3 13 75 541 4683

H

 3 13 75 537 4644

Та а 1. а е

, Д .

Д H 6

: 2

1, 5 1, 44H ! ( 2)

H H H

    . Э , . 1,

-. , H .

-,

H! .

,

, .

1. . , . . qij 1 2,

0

ik

qkj i j k( , , 1,,H);

2. . Э

-: qi1jqij (i1,,H1; j1,,H);

3. - . , - ,

, . . qi i10, qi1jqij j1,,H.

,

-.

,

. Ч ,

.

и и и л ив и в

, H ,

1,,H. Д bk

k bk( ) .

Д , .

, ,

k u

k1,,H,

k x

k v

 ,

:

k k k

u x v

     . (1)

.

1. ( ) Pr( )

k k f

F      – 0

k f

  , fk

: bk, xk, zk, vk, wk, uk.

2. fk( ) Fk( ) – fk.

3. ( ) 0

( )

n n k k

f f d

 

  – n (n1, 2,)

k f

 ,

( )

-: (1)

k k

(4)

4. * 0

( ) s ( ) ( 0)

k k

F s e f d s

  

   – fk( ) .

5. *

0

( ) m ( )

k k

m

M z z P m

– –

k, , P mk( ) – , m k.

6. 1

H i i

R

 – ,   i ibi – , i- ,

, R1, . . .

7. r i kg( , ) – , 0 1 qik

ki

q i k,

( , , ):

r i k0( , )1, i k ;

r i k1( , )1, i- k- ;

r i k2( , )1, i- k- .

( , )

g

r i k . 2.

0( , )

r i k , r i k1( , ) r i k2( , ) .

-3( , )

r i k , r i k4( , ), r i k5( , ) r i k6( , ),

-. ,

, r i kg( , )r k ig( , ).

( , )

g

r i k qik 0 0 0 1 2

ki

q 0 1 2 0 0

0( , ) 0, 5(1 ik ki)(2 ik ki)

r i k  qqqq 1 0 0 0 0

1( , ) ik(2 ik)

r i kqq 0 0 0 1 0

2( , ) 0, 5 ik( ik 1)

r i kq q  0 0 0 0 1

3( , ) 0( , ) 1( , )

r i kr i kr i k 1 0 0 1 0

4( , ) 1( , ) 2( , )

r i kr i kr i k 0 0 0 1 1

5( , ) 0( , ) 4( , )

r i kr i kr i k 1 0 0 1 1

6( , ) 5( , ) 1( , )

r i kr i kr k i 1 1 0 1 1

Та а 2. а е я э е r i kg( , )

8. ( ) 1

( , )

H g

k g i i

r i k

 

 – .

9. ( ) 1

( , )

H g

k g i i

R r i k

 – .

( )g k

 ( )g k

R :

 (0)

k

 ( 0 )

k

R ,

-, , k- , . . ,

k - ;

 (1)

k

 , Rk(1)

( 2)

k

 , ( 2)

k

R – , ,

k- , . .

Д c Д ,

, c

[13]

(5)

И (1) , uk( ) k -( )

k

xvk( ) .

( )

k

u  : * * *

( ) ( ) ( )

k k k

U sX s V s .

( ) k x  (6) * 1 * 1 (0) * 0 1

( , ) [1 ( )] ( )

( , ) ( )]

H

k k i k k i

k H

k i i k i

R r k i B

X s

s r i k B

            

, (2)

( 4) ( 4) * ( )

k s k k D sk

      , D sk*( ) :

(4) * * (4) (4) *

4 1

( ) ( , ) ( ( ))

H

k k i i k k k i

D s r i k B s D s

 

     . (3)

( )

k

vk-

-* * ( 2) ( 2) *

( ) ( ( ))

k k k k k

V sB s    C s , (4)

* ( )

k

C s

(2) * * (2) (2) *

2 1

( ) ( , ) ( ( ))

H

k k i i k k k i

C s r i k B s C s

 

     . (5)

(2)–(5) :

 * ( )

k

C sck( ) ck

, k- :

*

0

( ) s ( )

k k

C s e c d

 

 ; (6)

 * ( )

k

D sdk( )

k d

, k- :

*

0

( ) s ( )

k k

D s e d d

  

 . (7)

(2)–(7)

, , .

И (1) , uk

( 2 )

k

u

k- (k1,H)

k k k

uxv ; (2) (2) ( 2)

2

k k k k k

uxx vv . (2)

,

k k

x x , ( 2)

k k

v v

(2) (4) s0:

(2) 6

1

( 4) (5) ( 2)

(3) ( 2) ( 2)

6 5 6

( 2) 1 1 1

(4) 2 (5) ( 4) 2 (5) 2

( 2) (2)

4 6

1 1

( , )

; ;

2(1 ) (1 ) 1

( , ) ( , ) ( , )

3(1 ) (1 ) 2(1 ) (1 )

( , ) ( , )

H

i i

i k

k k

k k k

H H H

i i i i i i

i i i

k

k k k k

H H

i i i i

i i

r i k b

b

x v

R R R

r i k b r i k b r i k b

x

R R R R

r i k b r i k b

                        

( 4) 3 (5)

( 2) ( 2) 2

(2) 1

( 2) 2 ( 2) 3 ;

2(1 ) (1 )

( , ) ,

(1 ) (1 )

k k H i i k i k k k R R

r i k b

b v R R                        

(8)

( )n i

(6)

(8)

-.

[14].

(1)–(8)

-. , (k1,H)

(2)

(2)

(2)

( 2) 6

1

(4) (5) (2) ;

1

( , )

.

2(1 )(1 ) 1

k k k k k

k H

i i

i k k

k k k

k k k

R b

z v b

R

r i k b

R b

w x z

R R R

  



   

   

(9)

Д ( ) Д ,

Д , (2)–(9).

, , ,

( ), , .

1,

kH, ,

[15]:

* *

( ) ( ) ( 1, )

k k k k

M zU    z kH . (10)

Д (10) z z = 1,

-, ,

, :

( 2) 2 ( 2)

; ( 1, )

k k k k k k k

m   u m   um kH . (11)

(11) [15],

.

л и

, ,

.

.

, .

и

1. . ., . . . , , :

-. 3- . .: , 2006. 944 .

2. Aliev T.I., Nikulsky I.Y., Pyattaev V.O. Modeling of packet switching network with relative prioritization for different traffic types // Proc. 10th International Conference on Advanced Communication Technology (ICACT-2008). Phoenix Park, South Korea, 2008. Art. 4494220. P. 2174–2176.

3. Bogatyrev V.A. An interval signal method of dynamic interrupt handling with load balancing // Automatic Control and Computer Sciences. 2000. V. 34. N 6. P. 51–57.

4. Bogatyrev V.A. On interconnection control in redundancy of local network buses with limited availability // Engineering Simulation. 1999. V. 16. N 4. P. 463–469.

5. . ., . . :

-. -.: , 2007. 312 .

6. - . .

// И . . . 2012. . 55. № 10. . 64–68.

7. .И. // И . . . 2014. . 57. № 4.

. 30–35.

8. .И., . .

// . 1988. . 49. № 7. . 99–106.

9. Alfa A.S. Matrix-geometric solution of discrete time MAP/PH/1 priority queue // Naval Research Logistics. 1998. V. 45. N 1. P. 23–50.

10. / . . . . .: , 1978. 408 .

11. . . Э .

. . .: , 1980. . 73–78.

(7)

13. . . . .: , 1966. 242 .

14. .И. //

-- , . 2013. № 2 (84). . 88–93.

15. . : . . .: , 1979. 600 .

А вТа И а ов ч – , , ,

И , - , 197101, , aliev@cs.ifmo.ru

Ма а в Э а – ,

-, , , ,

, LV-1019, , eduard@rostourism.lv

Taufik I. Aliev – D.Sc., Professor, Department head, ITMO University, Saint Petersburg, 197101,

Rus-sian Federation, aliev@cs.ifmo.ru

Eduards Maharevs – D.Sc., Professor, Baltic International Academy, Riga, LV-1019, Latvia,

eduard@rostourism.lv

Referências

Documentos relacionados

Para a estruturação do produto turístico, muito tem contribuído a implementação em 2014, do Sistema de Valorização de Produtos e Serviços da Rota do Românico

Nesse estudo, o microrganismo foi adicionado tanto na forma livre como encapsulado através de distintas técnicas de encapsulação: a extrusão, emulsão simples e emulsão dupla e

Para aos valores médios obtidos para Hº (Quadro XI e XII) pode-se verificar que existiram diferenças significativas entre algumas espécies, mas em semanas diferentes para

Santos Marrocos. Registrada n'está secretaria de estado dos negócios do Império a fls.. Hei por bem approvar o Regulamento jpara o transporte de emi- grantes, que com este

Assumindo que compreender os temas que atravessam as experiências vividas das pessoas em matéria de saúde proporciona orientações úteis para os enfermeiros no que se refere à

Conjecture about global fixed-priority preemptive multiprocessor scheduling of implicit-deadline sporadic tasks: The utilization bound of SM-US(sqrt(2)-1) is sqrt(2)-1..

The identifier is a unique code given to each request, the priority is used to denote if a request is urgent or not, the category represents the type of request, the

Para a avaliação da atividade sinergística da própolis vermelha associada à vancomicina, foi utilizada a metade da concentração inibitória mínima da vancomicina