• Non ci sono risultati.

Test of Discrete Event Systems - 09.01.2014

N/A
N/A
Protected

Academic year: 2021

Condividi "Test of Discrete Event Systems - 09.01.2014"

Copied!
6
0
0

Testo completo

(1)

Test of Discrete Event Systems - 09.01.2014

Exercise 1

Define the age of a device as the number of whole days the device has operated. A device of age j ≥ 0 at the beginning of a day, fails during the day with probability q

j

= jq, where q = 0.25, and in such a case it is replaced by a new identical device, which starts operating at the beginning of the next day.

1. Model the system described above through a discrete time homogenous Markov chain.

2. Compute the probability that a new device operates for the maximum number of days.

3. If the device at day 1 is new, compute the probability that the device at day 10 is new.

4. Compute the average duration (in days) of a device.

Exercise 2

A multi-processor computer is equipped with three identical CPUs. N different processes run on the computer. Each process can be either in the waiting state or in the execution state. The duration of the execution of a process on a CPU is an exponential random variable with expected value 0.77 ms. At the end of the execution, the process is put in the waiting state. A process in waiting state requests again the use of a CPU after a random time which follows an exponential distribution with expected value 1.12 ms. At the moment of the request, if at least one CPU is available, the process is executed. Otherwise, it remains in the waiting state and will request again the use of a CPU as described above.

1. Compute the minimum number N such that the steady-state probability that all the three CPUs are busy, is at least 0.75.

With the value of N computed above:

2. Verify the condition λ

ef f

= µ

ef f

at steady-state for the system composed by the three CPUs.

3. Compute the utilization of a generic CPU at steady state, assuming that, when more than one CPU are available at the moment of a request of execution, the choice is equally probable.

4. Assuming that all the three CPUs are initially idle, compute the probability that at time

t = 0.6 ms only one CPU is busy.

(2)
(3)
(4)
(5)
(6)

Riferimenti

Documenti correlati

Taking into account that: the doctor’s office is empty at the opining; the first patient arrives after 2 minutes from the opening, and the others arrive after intervals of 1.5,

Since the hair salon does not have a waiting room, customers arriving when both chairs are busy decide to abandon the hair salon.. Compute the probability that the third

Compute the probability that, the next time the lift truck arrives, it may load its maximum weight.. Compute the probability that the buffer is empty for at least one hour, and in

Customers arrive as generated by a Poisson process with average rate λ = 4 arrivals/hour, whereas the service time at the desk follows an exponential distribution with expected value

The node has a dedicated buffer which may contain at most two messages waiting to be transmitted (independently of their length), and transmits over a dedicated line with

Compute the blocking probability of the system at steady state for those parts requiring preprocessing in M

Assume that the customers arrive according to a Poisson process with rate λ = 0.1 arri- vals/min, and the service times in S are exponentially distributed with rate µ =

Compute the probability that the fourth calling customer is put on hold and, in such a case, the average waiting time to