20.11.2012 Views

Contents Telektronikk - Telenor

Contents Telektronikk - Telenor

Contents Telektronikk - Telenor

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

At the moment our test task enters the<br />

server it will have waited a time t and<br />

there will be j other tasks in the system.<br />

The corresponding distribution becomes<br />

V1 (s,z)<br />

= Q(s,(q + pz)Ψ(s + λ(1 – z)),z)<br />

= Q(s,ξ 1 (s,z),ξ0 (s,z)) (12)<br />

Assume that our tagged task is a zeroservice-time<br />

task and that it passes the<br />

server k times. When it passes for the<br />

k’th time it will have been in the system a<br />

time t and there will be j other tasks in<br />

the system. The corresponding distribution<br />

will have the transform<br />

Vk (s,z) = V1 (s,ξk–1 (s,z)) (k = 1, 2, ...)(13)<br />

We are now in the position to rewrite<br />

Uk (s,z) as<br />

Uk (s,z) =<br />

� �<br />

k−1 �<br />

Ψ(s + λ(1 − ξℓ(s, z))) Vk(s, z)<br />

ℓ=0<br />

(14)<br />

Expressions for the moments of the<br />

sojourn time distribution corresponding<br />

to U k (s,1) may be found in terms of<br />

moments of the sojourn times of zero service<br />

time tasks, i.e.<br />

� r d<br />

dsr ξℓ(s,<br />

�<br />

1)<br />

(15)<br />

by taking the logarithm of equation (14)<br />

and differentiating successively. Using<br />

this procedure also makes it possible to<br />

develop the formulas for the first two<br />

moments (which still have a relatively<br />

comprehensible structure) of the distribution<br />

with transform<br />

∞�<br />

Φ(s) =q p k−1 Uk(s, 1)<br />

k=1<br />

s=0<br />

(R(s) ≥ 0)<br />

as dealt with in the paper of Takács.<br />

(16)<br />

Application to a deterministic<br />

sequence of tasks<br />

Feedback queuing has been used in processor<br />

performance models, cfr. e.g. [2],<br />

[3] and [4].<br />

A processor in a telecommunication system<br />

normally performs an extensive set of<br />

different functions, each initiating a deterministic<br />

sequence of individual process-<br />

ing jobs. The processing times may be<br />

deterministic or have specific distributions.<br />

Such a processor may provide different<br />

performance, in terms of e.g. response<br />

times, for each of the various functions.<br />

For each specific function the performance<br />

will depend on<br />

1 the whole set of functions offered and<br />

their arrival intensities, i.e. on the<br />

workload characteristics. This may be<br />

modeled by means of a single server<br />

queuing process with feedback, as in<br />

the paper of Takács, but possibly with<br />

a slightly more general distribution fi for the number of feedbacks which<br />

may be generated as a result of the<br />

processing of a job. The external<br />

arrival intensity and the service time<br />

distribution Ψ(t) will depend on the<br />

mix of functions and their frequencies.<br />

One may call this queuing process the<br />

background process,<br />

2 the processing requirement of the specific<br />

function and the way it is handled<br />

by the operating system in terms of a<br />

sequence of processor jobs. This may<br />

be modeled as a sequence of tagged<br />

jobs with service times according to<br />

different distributions. Some, if not<br />

most, of the processing times will be<br />

deterministic.<br />

To derive the response time of a specific<br />

function comprising a sequence of k<br />

tagged jobs one has to make changes<br />

corresponding to the introduction of different<br />

service time distributions in the<br />

formula<br />

Uk (s,z) =<br />

�<br />

k�<br />

�<br />

Ψ(s + λ(1 − ξk−ℓ(s, z))) Vk(s, z)<br />

ℓ=1<br />

(17)<br />

which is just a rearranged formula (14).<br />

The corresponding response time / number<br />

of left jobs distribution will have the<br />

transform<br />

Wk (s,z) =<br />

�<br />

k�<br />

�<br />

Ψℓ(s + λ(1 − ξk−ℓ(s, z))) Vk(s, z)<br />

ℓ=1<br />

(k = 1, 2, ...) (18)<br />

where Ψ l is the Laplace-Stieltje transform<br />

of the processing time distribution<br />

for tagged job No. l.<br />

If all the tagged jobs have deterministic<br />

processing times this formula may be<br />

written as<br />

Wk<br />

e (19)<br />

(k = 1, 2, ...)<br />

− �k ℓ=1 (s+λ(1−ξk−ℓ(s,z)))tℓ Vk(s, z)<br />

Note that the definition of ξℓ(s, z) now is<br />

slightly different from the previous<br />

chapter, as we will have<br />

( ℓ = 1, 2, ...) (20)<br />

and ξ 0 (s,z) = z. f(z) is the z-transform of<br />

the feedback distribution f i .<br />

Stationarity of the process is assured<br />

whenever the load<br />

(22)<br />

Of course, the Uk (s,z) discussed previously<br />

may be obtained by assuming that<br />

all tagged jobs have processing times<br />

with the same distribution as the other<br />

jobs, and that the feedback distribution<br />

has z-transform f(z) = q + pz.<br />

The form of the response time distribution<br />

is conceptually convenient inasmuch<br />

as it illustrates the impact of the partition<br />

of work of each particular function on its<br />

system response time.<br />

The mean and variance of the response<br />

times are easily calculated.<br />

where<br />

�<br />

s; {tℓ} k<br />

�<br />

ℓ=1 ; z =<br />

ξℓ(s, z) =f(ξℓ−1(s, z))<br />

Ψ(s + λ(1 − ξℓ−1(s, z)))<br />

λα<br />

ρ =<br />

(21)<br />

1 − f<br />

of the server is less than 1.<br />

Also the definition of Vk (s,z) has to be<br />

slightly changed. Eq. (13) is still valid,<br />

but now starts with:<br />

V1 (s,z) =<br />

′ (1)<br />

�<br />

(1 − ρ) 1+ λ(1 − ξ1(s, z))<br />

s + λ(ξ1(s, z) − z) ·<br />

�<br />

ξ1(s, z) − f(z)Ψ(λ(1 − ξ1(s, z)))<br />

ξ1(s, z) − f(ξ1(s, z))Ψ(λ(1 − ξ1(s, z)))<br />

¯twk = ¯tvk +<br />

σ 2 wk = σ2 vk +<br />

σ 2 Ψℓ<br />

k�<br />

ℓ=1<br />

�<br />

1+λξ (1)<br />

�<br />

k−ℓ · ¯tΨℓ<br />

k�<br />

ℓ=1<br />

+ λξ(2)<br />

k−ℓ ¯tΨℓ<br />

�� 1+λξ (1)<br />

�2 k−ℓ<br />

�<br />

(23)<br />

(24)<br />

221

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

Saved successfully!

Ooh no, something went wrong!