Fall 2001 CSCI 333 Homework 7
This assignment is due Friday, 9 November.
Problem 1
Consider a disk
drive with the following characteristics.
- 10 GB total storage
- 10 surfaces
- 800 cylinders
- interleaving factor of one
- rotational speed of 7500 rpm
- track-to-track seek time of 15msec
- average seek time of 90 msec
The questions
Answer the following questions regarding the disk drive
describe above.
- How many 512 byte sectors are on this disk drive?
- How many total tracks (on all cylinders) are on this disk drive?
- How many sectors are stored on each single track?
- How many sectors are stored on each cylinder?
- How long, in msec, does it take this disk to rotate?
- How many bytes can be read in one disk rotation?
- What is the average rotation delay in reading from the disk?
- What is the maximum data transfer rate from the disk?
- What is the average time, in msec, required to read a random sector
of data from the disk?
- If a 100Mbyte file could be stored in consecutive sectors of the disk,
how many cylinders and tracks would it require?
- How long would it take to read this 100Mbyte file stored in
consecutive sectors?
- If this 100Mbyte file was stored in sectors randomly scattered
throughout the disk and the file must be read
sequentially, how long would it take to read the file?
- If this 100Mbyte file that was randomly scattered throughout
the disk could be read in any order, how long would it take
to read the file? Consider reading the file by moving from
one end of the disk to the other, reading data blocks as
they are encountered in each cylinder.
Problem 2
Find URL's on the Internet that discuss the following topics.
- MS/DOS FAT
- Unix inodes
- Log-based file systems
- Performance data for a state-of-art disk drive
- Disk drives prices
- Handling of dirty pages or buffers
- Recommendations for virtual memory allocations in a
Windows-based operating system
- Arguments that can be supplied to the
open
and seekg
methods in C++'s fstream
class
- Error correction methods used in disk drives
- Linux
ext3
journaling file system
Turning in this assignment
Email your answers to the instructor.
If you wish, you many also turn in written material that
flows how you performed the calculations required
in Question 1.