Soal!
Parameter harddisk
- Putaran disk = 6000 rpm
- Seek time (s) = 5 ms
- Transfer rate (t) = 2048 byte/s
- TRW = 2 ms
Parameter penyimpanan
- Metode blocking = variable length spanned blocking
- Ukuran block (B) = 1024 byte
- Ukuran pointer block (P) = 8 byte
- Ukuran interblock gap (G) = 512 byte
Parameter file
- Jumlah record difile (n) = 10600 record
- Jumlah rata-rata atribut (a') = 5 byte
- Jumlah rata-rata field (A) = 7 byte
- Jumlah rata-rata nilai (V) = 15 byte
Parameter reorganisasi
- Jumlah penambahan record (o) = 1000 record
- Jumlah record ditandai sebagai dihapus (d) = 200 byte
Jawaban:
- R = a' (A + V + 2)
R = 5 (7 + 15 + 2)
R = 120
- TF, menggunakan metode Spanned Blocking
Bfr = (B - P) / (R + P)
Bfr = (1024 - 8) / (120 + 8)
Bfr = 7,93
W = P + (P + G) / Bfr
W = 8 + (8 + 512) / 7,93
W = 73,57
t' = (t/2) * {R / (R + W)}
t' = (2048/2) * {120 / (120 + 73,57)}
t' = 634,8
TF = 1/2n (R / t')
TF = 1/210600 (120 / 634,8)
TF = 1001,89
- TN = TF
TN = 1001,89
- TI
r = 1/2 * ((60 * 1000)/RPM)
r = 1/2 * ((60 * 1000)/6000)
r = 5
Btt = B/t
Btt = 1024/2048
Btt = 0,5
TI = s + r + btt + TRW
TI = 5 + 5 + 0,6 + 2
TI = 12,5
-
TU = TF + TRW + TI
TU = 1001,89 + 2 + 12,5
TU = 1016,39
TU = TF + TRW
TU = 1001,89 + 2
TU = 1003,89
-
TX = 2TF
TX = 2*1001,89
TX = 2003,78
-
TY = (n + o)(R + t') + (n + o - d)(R / t')
TY = (10600 + 1000)(120 + 634,8) + (10600 + 1000 - 200)(120 / 634,8)
TY = 4140
Baca Post Lain :
Penyimpanan SekunderFile Pile
Organisasi File Sequential
Index Sequential File
Latihan Soal Penyimpanan Sekunder
Latihan Soal Filepile
Latihan Soal Organisasi File Sequential
Latihan Soal Index Sequential File
Comments
Post a Comment