Question: 5 . Disk Storage and Input / Output [ 3 0 % ] Consider a hard disk with 8 surfaces, 1 0 2 4 tracks
Disk Storage and InputOutput Consider a hard disk with surfaces, tracks per surface, sectors per track and bytes sectorsa Compute the storage capacity of this disk in bytes and in megabytes megabyte bytesb How many sectors are required to store a file of length bytes? How many bytes are wasted in storing this file? c Neglecting CPU time, how long will it take to write the file in b on the disk sequentially in consecutive sectors if the average tracktotrack seek time is ms ms second and the disk rotates at rpm Assume that the head is initially above the first track to be written. d Assume that the CPU reads one sector from the disk using interruptdriven IO with one interrupt per sector. If it takes s s second to process each interrupt, what percentage of the time will the CPU spend handling IO disregard seek timee Repeat d if the CPU uses DMA, assuming one interrupt per transfer. f Explain why in virtually all systems that include DMA modules, DMA access to main memory is given higher priority than CPU access to main memory. If the processor in Question b is fetching instructions at the rate of million instructions per second MIPS by how much will the processor be slowed down due to the DMA activity?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
