Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1. Suppose you have a hard disk with 2200 tracks per surface, each track divided into 110 sec- tors, six platters and a blocksize of
1. Suppose you have a hard disk with 2200 tracks per surface, each track divided into 110 sec- tors, six platters and a blocksize of 512 bytes (G.e.. kilobyte), what is the total raw capacity of the disk drive? 2. A program may be written in a language that is compiled to native binary (to the instruc- tion opcodes the actual CPU knows how to do).orit may be interpreted (translated to native binary statement by statement as the program runs.) Suppose part of a program initializes a 500,000 element array to all o (i.e., each of 500.000 elements is set to 0). A compiled ver- sion performs this action in 0.008 seconds: an interpreted version takes 0.608 seconds. Why is the compiled version so much faster? 3. Suppose a disk drive in your system has a rotation speed of 7 200 rpm. and seek times of 0.75 ms track-to-track, or 22 ms full 'stroke (inner edge to outer edge). (a) What is the average latency to access this drive? (b) If the sustained read rate is 36 Mbits/sec, how much more time after the average la- tency (you calculated above) will it take to read 750 Kbytes (assuming all those bytes are in sequential sectors on the same track)? How long to write that same amount of data if the sustained write speed is 24 Mbits/sec? 4. Suppose you replace the hard disk in the previous question with an optical drive like a DVD drive. The drive you use has an average access time of 185 ms, and can do sustained reads at 1600 Kbytes per second. How long will it take, including access time, to read the same 750 Kbytes off this optical disk (again, assuming all the data is in sequential sectors on same track)? 5. Unimpressed with your experiment with the optical drive. you now replace it with a solid- state drive. This dive has a sustained read rate of 580 Mbps, sustained write speed of 520 Mbps. For the 750 Kbytes of data, including average access time (latency), how long does it take to read the data? write the data
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