Advanced Systems Lab Exercise Sheet 1

Aus VISki
Wechseln zu: Navigation, Suche

Queuing Exercises Sheet 1

PDF

Exercise 1

a)

b)

For a G/G/1 system. (Traffic Intensity: A measure of the utilization of a station. [1])

c) jobs

d)

e)

For an M/M/1 system

c) jobs

d)

e)

Exercise 2

Given: response time (r):0.050 [s]

We are looking for the throughput :

(see book p. 556)

Exercise 3

Given:

  • Queue length (n) = 10
  • Maximum response time () = 2 [seconds]

We search:

  • Maximum request rate ()

The maximum service time possible is .

Therefore is: [request per second].


Question.png

Dem Autor des Lösungsvorschlags stellt sich eine Unklarheit betreffend der Prüfungsfrage oder deren Lösung:
I would say that this question is not solvable: E.g. having a system with Service time 4 s (valid instance of this exercise) means that only an arrival rate of 0 can be supported. Other exemples will show the non-solvability as well. Currently I'm still missing a reply from Alonso on that. -- Davids 17:11, 28. Jan. 2012 (CET)
Hilf mit, die Qualität dieser Seite zu verbessern, indem du eine eindeutige Lösung einfügst oder auf der Diskussionsseite dieses Themas deine Meinung äusserst.

Exercise 4

The implication holds for

From this 2 implications we can retrieve

Exercise 5

Both solutions are equivalent, only the notation differs.

Solution 1


Solution 2

Given:

  • expected value of the queue size () = 100
  • interarrival time() = 1/5 milliseconds = 0.2 milliseconds = 0.0002 seconds

We search the time until a given job is "trough the system"

Mean arrival rate = 1/0.0002 = 5000 mails per second

As the queue has always the same size, the interarrival time has to be equal to the service time. And the Mean arrival rate has to be the same as the mean service rate therefore = 5000 mails per second.

The expected value of the interarrival time (and therefore also the service time) has to be = 0.0002 seconds.

This give us = 0.0202 [seconds].

Alternative Solution:

This solution is based on the official given solution during the course of 2009. Here the PDF-2009

Given: and

Using Little's Law we find:

--Giulio 14:31, 31. Jan. 2012 (CET)

Exercise 6

Question.png

Dem Autor des Lösungsvorschlags stellt sich eine Unklarheit betreffend der Prüfungsfrage oder deren Lösung:
I dont see how you get to 0.4. for me it's
Hilf mit, die Qualität dieser Seite zu verbessern, indem du eine eindeutige Lösung einfügst oder auf der Diskussionsseite dieses Themas deine Meinung äusserst.


Other Solution:

Given:

Assuming M/M/1:

Where we did not use . I guess it does not make sense to say that this still holds, even if the traffic intensity is 0.4. I would rather use the formulas for M/M/1, which indicate that , and since holds, can't be.


Alternative Solution: Given: and (from the previous exercise)

From the previous exercise (the alternative solution) we know that , therefore

--Giulio 14:33, 31. Jan. 2012 (CET)