20.11.2012 Views

Contents Telektronikk - Telenor

Contents Telektronikk - Telenor

Contents Telektronikk - Telenor

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

36<br />

- Mean response time depends only on<br />

mean value (not higher order moments)<br />

of service time<br />

- For exponential service times a job<br />

with mean service time will have<br />

response time equal to that of a batch<br />

system. Shorter jobs come out better<br />

and longer jobs worse in PS than in<br />

batch. In this sense PS comes between<br />

batch and SJF.<br />

17 Queuing network<br />

analysis<br />

Up till now we have considered only single<br />

nodes, whether loss systems or<br />

queues. In this article we have no ambition<br />

of making any thorough investigation<br />

into networks, as it is a rather complicated<br />

matter that would far exceed the<br />

present aim.<br />

A network model consists of nodes and<br />

links. In traditional networks signal propagation<br />

time is of no particular concern.<br />

Radio propagation has a speed of<br />

300,000 km/s, and for cable transmission<br />

the assumption is roughly 200,000 km/s.<br />

Thus the one-way delay via a geostationary<br />

satellite is 0.25 seconds, and that of a<br />

cable transmission halfway around the<br />

globe 0.1 seconds. Compared to telephone<br />

set-up and conversation times<br />

those delays are short, whereas in a real<br />

time dialogue the 0.25 second delay is<br />

critical. The delay on a 500 m local area<br />

network is 2.5 µs, corresponding to transmission<br />

of 25 bits with 10 Mb/s transmission<br />

speed. With a CSMA/CD access<br />

system even that short delay is of significance.<br />

The interesting parameter is the<br />

Propagation time – to – Transmission<br />

time ratio: Tp /Tt = a. Propagation time is<br />

a fixed value irrespective of signal type,<br />

whereas transmission time is proportional<br />

to frame length in bits and inversely<br />

proportional to the bit rate.<br />

For simple one-way transmission messages<br />

may be chained continuously at the<br />

sending end, and a utilisation of U = 1<br />

can be obtained. If, on the other hand,<br />

after one transmission a far end user<br />

wants to start sending, the utilisation will<br />

be maximum<br />

U = 1/(1 + a) (99)<br />

In data communication flow control is<br />

often performed by acknowledgement,<br />

adding one propagation time (plus a negligible<br />

transmission time) to one transmission<br />

time and one propagation time in<br />

the forward direction. Thus the gross<br />

time used per transmitted information<br />

frame is Tt + 2Tp , and the utilisation<br />

(transmission efficiency) is<br />

U = Tt /(Tt + 2Tp ) = 1/(1 + 2a) (100)<br />

Transmission of a 1 kb frame with<br />

acknowledgement at 64 kb/s over a 10<br />

km cable gives a utilisation U = 0.994,<br />

whereas the same communication over a<br />

satellite leads to U = 0.06.<br />

In these estimates we have assumed that<br />

all transmitted data is useful information.<br />

There will always be a need for some<br />

overhead, and the real utilisation will be<br />

reduced by a factor I/(I + O), where<br />

I = information and O = overhead.<br />

17.1 Basic parameters and<br />

state analysis<br />

The discussion above is included to give<br />

a realistic sense of the propagation delay<br />

importance. In the following approach<br />

we assume that the signal delay may be<br />

neglected, so that a utilisation U = 1 can<br />

be obtained. In data communication networks<br />

information messages are usually<br />

sent as serial bitstreams. Messages may<br />

be sent as complete entities, or they may<br />

be subdivided in frames as sub-entities<br />

sent separately. The time that a link is<br />

occupied, which is the holding time in a<br />

traffic context, depends on the transmission<br />

capacity C. In a similar way a computer<br />

may be considered a server with a<br />

certain capacity C. C may be measured<br />

arbitrarily as operations per second or<br />

bits per second. We can define a service<br />

time by 1/µC, being the time to complete<br />

a job, whether it is a computer job or a<br />

message to be transmitted. Examples are<br />

1 C: operations/second<br />

1/µ: operations/job<br />

µC: jobs/second<br />

2 C: bits/second<br />

1/µ: bits/message<br />

µC: messages/second<br />

If we stick to the second example, µC<br />

means the link capacity that is obtained<br />

by chaining messages continuously on<br />

the link. Assuming that the messages<br />

arrive at a rate λ < µC, we obtain an<br />

average load on the link A = λ/µC. Note<br />

that the product µC here replaces µ in<br />

previous contexts. In a data network the<br />

dynamic aspect of a flow of messages<br />

along some path is often emphasised.<br />

The number of messages per second, λ,<br />

is often termed the throughput. The link<br />

load A expresses the number of messages<br />

arriving per message time, and is thus a<br />

normalised throughput.<br />

Assume a network of N nodes and M<br />

links. The total number of message<br />

arrivals to (= number of departures from)<br />

the network per second is<br />

N N<br />

γ = ∑ ∑ γ jk<br />

j =1 k =1<br />

(101)<br />

where γ jk is the number of messages per<br />

second originated at node j and destined<br />

for node k. For an arbitrary node i the<br />

total number of arrivals per second<br />

(external and internal) is<br />

N<br />

λi = γ i + ∑λ j ⋅ p ji<br />

j =1<br />

(102)<br />

where pji = P{a customer leaving j proceeds<br />

to i}. Since a customer can leave<br />

the network from any node,<br />

P{departure from network at node i} =<br />

N<br />

1− ∑ pij j =1<br />

If each node i is an M/M/ni system,<br />

departures from each node is Poisson,<br />

and the nodes may be analysed independently.<br />

This leads to the important property<br />

of product form solution for the network,<br />

which means that the joint probability<br />

of states ki can be expressed as the<br />

product of the individual probabilities:<br />

p(k1 , k2 , …, kN ) =<br />

p1 (k1 ) ⋅ p2 (k2 ) ⋅ … pN (kN ) (103)<br />

The solution for pi (ki ) is the one developed<br />

for the M/M/n waiting system, equations<br />

(76):<br />

p(i) = (A/i) ⋅ p(i – 1) = (Ai /i!) ⋅ p(0),<br />

0 i n<br />

and<br />

p(i) = (A/n) ⋅ p(i – 1) =<br />

(An /n!) ⋅ (A/n) i–n ≤ ≤<br />

⋅ p(0),<br />

n≤i≤∞ 17.2 Delay calculations<br />

Delay calculations are fairly simple for<br />

the network of M/M/1 nodes. The<br />

sojourn time at a node i is expressed by<br />

Ti = 1/(µCi – λi ) (104)<br />

The average message delay in the network<br />

can be expressed by [14]:<br />

M<br />

M<br />

∑λ<br />

iTi ∑λ<br />

i<br />

i=1<br />

i=1<br />

T = =<br />

γ γ µCi−λi ( )<br />

(105)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!