Problem 1 [50 pts]
Consider a hard disk drive that has 5 double-sided platters,each surface has 1000 tracks, each track has 256 sectors of size512 bytes. Each block (disk page) comprises of 8 sectors. The seektime between adjacent tracks in 1ms and the average seek timebetween two random tracks is 25ms. The disk rotates at a speed of7200 rpm (revolutions per minute).
Let’s say, we have a file of size 1 MB and it contains 2048equal-sized records.
1. What is the size of a block? How many records fit in a block?How many blocks are required to store the
entire file?
2. What is the capacity of each cylinder?
3. What is maximum time (worst case) to read two blocks from thedisk (the blocks to be read are part of the same read request andno external factors affect the read latency)?
4. If the file is stored “sequentially”, how long will it taketo read the whole file? Assume that for sequential writes data arewritten in adjacent tracks once a track is full.
5. If the blocks in the file are spread “randomly” across thedisk, how long will it take to read the whole file?