Sistem Berkas 7
Pertemuan 7
Kuis (Kode Soal C)
Kuis (Kode Soal C)
1. Diketahui sebuah harddisk memiliki karakteristik :
a. Seek time (S) : 10 ms
b. Kecepatan putaran disk : 6000 rpm
c. Transfer rate (t) : 1024 byte/s
d. Ukuran blok (B) : 4096 byte
e. Ukuran record (R) : 400 byte
f. Ukuran gab : 256 byte
g. Ukuran pointer : 8 byte
Hitung :
a. Blocking factor
b. Pemborosan ruang
c. Bulk transfer rate
Jika metode blokingnya
a. Fixed blocking
b. Spanned blocking
c. Unspanned blocking
2. Hitung rotation latency bila kecepatan putar disk (Rpm) adalah sebagai berikut :
a. 3000 Rpm
b. 10000 Rpm
c. 7500 Rpm
Jawab :
a. Fixed blocking
- Bfr = B/R
= 4096/400
= 10,24
- W = WG + WR - WG = G/Bfr - WR = B/Bfr
= 25 + 400 = 256/10,24 = 4096/10,24
= 425 = 25 = 400
- t’ = (t/2) x (R/(R+W))
= (1024/2) x (400/(400+425))
= (512) x (400/825)
= 512 x 0.48
= 245,76
b. Spanned Blocking
- Bfr = (B - P) / (R + P)
= (4096 - 8) / (400 + 8)
= 4088 / 408
= 10,01
- W = P + (P + G) /Bfr
= 8 + (8 + 256)/10,01
= 8 + 264/10,01
= 8 + 26,37
= 34,37
- t’ = (t/2) x (R/(R+W))
= (1024/2) x (400/(400 + 34,37))
= (512) x (400/434,37)
= 512 x 0,92
= 471,04
c. Unspanned Blocking
- Bfr = (B – ½ R) / (R + P)
= (4096 – ½ 400 ) / (400 + 8)
= (4096 - 200) / 408
= 9,54
- W = P + ( ½ R + G) /Bfr
= 8 + ( ½ 400 + 256)/9,54
= 8 + 456/9,54
= 8 + 47,79
= 55,79
- t’ = (t/2) x (R/(R+W))
= (1024/2) x (400/(400 + 55,79))
= (512) x (400/455,79)
= 512 x 0,87
= 512,87
2.a) r = ½ ((60 x 1000)/Rpm)
= ½ (60000/3000)
= ½ 20
= 10
b) r = ½ ((60 x 1000)/Rpm)
= ½ (60000/10000)
= ½ 6
= 3
c) r = ½ ((60 x 1000)/Rpm)
= ½ (60000/7500)
= ½ 8
= 4
= 4
Komentar
Posting Komentar