← Back
ExercisesBy topicItalian

Performance evaluation

Study material for Computing Infrastructures, shared by the Studwiz community and reviewed by moderators.

Computing InfrastructuresBy topic

Document information

What's included in this study material

Study material for Computing Infrastructures, shared by the Studwiz community and reviewed by moderators.

Import quality: text was extracted directly from the original document.

Extracted content from the document

Representative passages recognised in different parts of the material. The full extracted text remains available to search, while this compact preview makes the page easier to read.

Page 1

Esercizio 1 Monitoriamo un sistema ottenendo un utilizzo CPU di 0.75, un CPU service demand di 3 s, un response tme di 15 s e 10 utenti attivi. Qual è il think time medio degli utenti? Legge di Little: N = X R Box verde -> Legge dell’utilizzo: U = X D -> X = U / D = 0.75 / 3 s = 0.25 job/s Box rosso -> Legge del tempo di risposta: N = X (R + Z) - > N/X = R + Z -> Z = N/X – R = 10 / (0.25 job/s) – 15 s = 40 s – 15 s = 25 s Esercizio 2 Un sistema interattivo con una memoria limitata x Monitorato per 1 ora x Numero di utenti è 80 x Tempo medio di risposta per una transazione è 1 secondo x Transazioni completate è 36000 x Utilizzo CPU è 75% x Utilizzo del disco 1 è del 50% x Utilizzo del disco 2 è anch’esso del 50% In media quanti utenti NON stanno pensando? X = C / T = 36000 / 3600 s = 10 job/s Legge di Little: N = X R = 10 job/s * 1 s = 10 Esercizio 3 In un sistema batch, uno specifico disco sta effettuando, in media, 12 operazioni per secondo. Inoltre, noi sappiamo che ogni transazione batch richiede, in media, 6 accessi a questo disco. Un secondo disco nel sistema sta gestendo, in media, 18 operazione al secondo. Qual è il numero medio di accessi a questo secondo disco richiesti per ogni transazione batch? X: throughput del sistema Vk: visite alla service station k Xk: throughput della service station Legge dei flussi forzati: Xk = X Vk Xdisk1 = 12 op/s Vdisk1 = 6 Xdisk2 = 18 op/s Vdisk2 = ? Xdisk1 = X Vdisk1 -> X = Xdisk1 / Vdisk1 = 12 op/s / 6 = 2 tran/s Xdisk2 = X Vdisk2 -> Vdisk2 = Xdisk2 / X = 18 op/s / 2 tran/s = 9 Esercizio 4 A session of a graphical multi-user workstation, using a disk with an average service time Sdisk = 25 ms, yields the following measurements: x average think-time, z = 10 s x average CPU service demand, Dcpu = 4 s x average disk service…

Preview

First page of the document.

First page: Performance evaluation