• Non ci sono risultati.

Single Disks

N/A
N/A
Protected

Academic year: 2022

Condividi "Single Disks"

Copied!
1
0
0

Testo completo

(1)

Single Disks

(a) Side view of a magnetic disk. (b) Top view of a magnetic disk

(2)

Computing Disk Service Time

Architecture of a typical I/O subsystem

2

(3)

Nomenclatura

(4)

Computing Disk Service Time

4

(5)

Computing Disk Service Time

Types of workload

(6)

Computing Disk Service Time

6

(7)

Computing Disk Service Time

(8)

Disk service times equations

8

(9)

Esempio DB Server

Arrival rate: 20 req/sec Tipo di workload:

20% random

80% sequenziale

Block size: 2,048 bytes

Disk Revolution Time: 7,200 RPM Seek Time: 9 msec

Transfer Rate: 20 MB/sec Controller Time: 0.1 msec

 Latency = ½ x 60/7,200 x 1,000 = 4.17 msec  TransferTime = 2,048/(10

6

x 20) x

1,000 = 0.1 msec

 Average Service Time (Random

Request) = 0.1+ 9 +4.17 + 0.1 =13.4

msec

(10)

U

d

= ArrivalRate x (RandomSeek +

AverageLatency + AverageTransferTime)

 U

d

= 0.020 x (9+4.17+0.1) = 0.27

 P

miss

= 1/24 = 4.2 %

 AverageSeekTime = 9/24 = 0.38 msec

 AverageRotationalLatency =

½+23(1+0.27)/2 x 60x1,000 = 5.25 msec

24 7,200

 Average Service Time (Sequential Request) = 0.1+ 0.38 +5.25 + 0.042x0.1

=5.73 msec

 Average Service Time = 7.25 msec

10

(11)

Disk Arrays

Disk array

(12)

12

(13)
(14)

14

(15)

Nomenclatura

 nr : number of stripe units reads by a read request

 nw : number of stripe units modified by a write request

 rarray: arrival rate of read requests to the disk array

 warray: arrival rate of write requests to the disk array

 rdisk: arrival rate of read requests to any of the disk in the array

 wdisk: arrival rate of write requests to any of the disk in the array

 N: number of physical disks in the array

 Srarray: average service time at a disk array for read

 Swarray: average service time at a disk array for read

(16)

Number of possible groups of nr disks:

!)!(

!

r

nnN

rr

N n N

 

 

 Each disk in the array belongs to

)!1()!(

)!1(

1 1



 

 

r

nnN

rr

N n N

groups of nr disks.

 Fraction of read requests to the array that goes to any of the disks (uniform distribution to all disks)

16

(17)

N n n N n N

r

r r

 

 

 

 

 1 1

 Arrival rate of disk requests at a disk

w array r w

array r r

disk N

n rw N

n

( )

 Arrival rate of write requests to any disk in the array

w array w w

disk N

n

1

 Average service time of read request at disk array

(18)

where Rrdisk i is the average response time of read requests at disk i.

 Average service time of write request at disk array

diskw i

n i r

i disk n rw i w

array R R

S max1( w) maxw11

where Rwdisk i is the average response time of write requests at disk i.

18

Riferimenti

Documenti correlati

The hypothesis of the study was that in IR patients, MET alone or in combination with physical exercise, could prove to exert positive effects on systolic function, as already shown

● The written exam and programming project are independent, and can be completed in any order. ● Grades are valid until September

Computing Fekete and Lebesgue points: simplex, square, disk..

We have computed point sets with maximal absolute value of the Vandermonde determinant (Fekete points) or minimal Lebesgue constant (Lebesgue points) on three basic

 Il filesystem root è specifico per ciascuna macchina (generalmente viene immagazzinato su un disco locale, anche se può trattarsi di un ramdisk o di un disco in rete) e contiene

Il presente progetto di ricerca si configura pertanto come un tentativo di far luce sulla policromia e sulle tecniche pittoriche impiegate in epoca romana e medievale in Sardegna,

La mancanza di una igiene orale quotidiana provoca l’insorgenza della placca e del tartaro, fattori predisponenti della patologia parodontale che, come già detto, esita

This paper presents the experimental assessment and characterization of an interface electronic system for piezoelectric tactile sensors for prosthetic applications.. The