Question

6. (2 points) A program must write 4 sectors onto a disk. Each sector is 0.5KB. The disk drive rotates at 10,000 rpm. The average seek time is 6 ms and the disk controller overhead is 1 ms. The transfer rate is 1MB/sec. The current location of the RW head is not known. What is the time to write this data if a. Sectors are on the same track and are contiguous b. Sectors are on the adjacent cylinders. The sectors can appear anywhere on the cylinder.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

To transfer one sector to the computer, we must wait the equivalent Seek Time + Rotational Latency + Transfer Time + overhead

Rotational latency = 60/10000 seconds = 0.006 seconds = 6 ms

Seek time = 6ms

Transfer rate = 1 MB/sec

to transfer 0.5 KB

Transfer time = 0.5/1000 seconds = 0.5 ms

Overhead = 1 ms

1. When sectors are contiguos = Seek Time + Rotational Latency + overhead+ 4*transfer time = 6 + 6 + 1 + 4*0.5 = 15 ms

2. Sectors can appears anywhere = 4 * (Seek Time + Rotational Latency + overhead+transfer time) = 4 *(6+6+1+0.5) = 4 * 13.5 = 54 ms

Add a comment
Know the answer?
Add Answer to:
A program must write 4 sectors onto a disk. Each sector is 0.5KB. The disk drive...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT