Soal!
Parameter harddisk
- Putaran disk = 8000 rpm
- Seek time (s) = 5 ms
- Transfer rate (t) = 2048 byte/s
- TRW = 2 ms
Parameter penyimpanan
- Metode blocking = fixed blocking
- Ukuran block (B) = 4096 byte
- Ukuran pointer block (P) = 8 byte
- Ukuran interblock gap (G) = 1024 byte
Parameter file
- Jumlah record file (n) = 100000 record
- Jumlah field (a) = 8 byte
- Jumlah nilai (V) = 25 byte
Parameter reorganisasi
- File log transaksi (o) = 0 record
Parameter pemrosesan
- Waktu untuk pemrosesan block (c) = 2 ms
Jawaban:
- R = a.V
R = 8.25
R = 200
- TF, menggunakan metode fixed blocking
Bfr = B/R
Bfr = 4096/200
Bfr = 20,48
WG = G / Bfr
WG = 1024 / 20,48
WG = 50
WR = B / Bfr
WR = 4096 / 20,48
WR = 200
W = WG + WR
W = 50 + 200
W = 250
t' = (t/2) * {R / (R + W)}
t' = (2048/2) * {200 / (200 + 250)}
t' = 450,56
TF = 1/2n * (R/t')
TF = 1/2100000 * (200/450,56)
TF = 22000
- TN
Btt = B/t
Btt = 4096/2048
Btt = 2
TN = btt / Bfr
TN = 2 / 20,48
TN = 0,09
- TI = TF + 1/2(N/Bfr)(btt/TRW)
TI = 22000 + 1/2(100000/20,48)(2/2)
TI = 24441,4
- TU = TF + TRW
TU = 22000 + 2
TU = 22002
- TX = Tsort(o) + (n + o)(R/t')
TX = 0 + (100000 + 0)(200/450,56)
TX = 44000
- TY = Tsort (o) + 2 (n + o)(R/t')
TY = 0 + 2 (100000 + 0)(200/450,56)
TY = 88000
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