Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Consider a disk with sector size of 512 bytes, 1000 tracks per surface, 50 sectors per track, five (5) double-sided platters, and average seek time
Consider a disk with sector size of 512 bytes, 1000 tracks per surface, 50 sectors per track, five (5) double-sided platters, and average seek time of 8 msec. Supposed that the disk platters rotate at 7400 rpm (revolutions per minute).
Supposed also that a block (page) of 2048 bytes is chosen. Now, consider a file with 150,000 records of 100 bytes each that is to be stored on such a disk and that no record is allowed to span two blocks. Also, no block can span two tracks.
a. How many records fit onto a block?
b.How many blocks are required to store the entire file? If the file is arrange sequentially on the disk, how many cylinders are needed?
c. How many records of 100 bytes each can be stored usin this disk?
d. What time is required to read a file containing 100,000 records of 100 bytes each sequentially? You can make an assumption about how long it takes moving the heads from one cylinder to the next here.
e. What is the time required to read a file containing 100,000 records of 100 bytes each in a random order? To read a record, the block containing the record has to be fetched from the disk. Assume that each block request incurs the average seek time and rotational delay. You need also to include the transfer time for each block.
Please also provide explanation!
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started