Professional Documents
Culture Documents
Disks
Belongs to a class of devices known as DASD.
* DASD (Direct Access Storage Device) is a disk or other
secondary storage device that permits access to a
specific sector or block of data.
Types of Disks
* Hard Disks offers high capacity and low cost per bit.
* Floppy disks are cheap but slow and hold little data.
* Optical disks are read only but holds a lot of data and
can be reproduced cheaply.
Secondary Storage : Disks
Organization of Disks
Cylinder
* The set of tracks on a disk
that are directly above
and below each other.
* Information on a single
cylinder can be accessed
without having to move
the access arm or
read/write arm, it can be
accessed without the
expense of seek time.
Estimating Capacities and Space
Needs
Clusters
Another view of sector organization, is the view
maintained by the part of a computers operating
system that we call file manager.
* File manager is the part of an OS that is responsible for
managing files, including collection of programs whose
responsibilities range from keeping track of files to
invoke I/O processes that transmit information between
primary and secondary storage.
* Cluster is a fixed number of contiguous sectors.
Organizing Tracks by Sector
Extents
If there is a lot of free room on a disk, it may be
possible to make a file consist entirely of contiguous
clusters. ==> the file consists of one extent. ==> the
file can be processed with a minimum of seeking
time.
* Extent is one or more adjacent clusters allocated as part
of a file. The number of extents in a file reflects how
dispersed the file over the disk. The more dispersed the
file, the more seeking must be done.
Organizing Tracks by Sector
Problem
* Disk-Bound, i.e., the network and the CPU often have to
wait inordinate lengths of time for the disk to transmit
data.
Solutions
Multiprogramming in which the CPU works on other
jobs while waiting for the data to arrive.
Disk striping involves splitting the parts of a file on
several different drives, then letting the separate drives
deliver parts of the file to the network simultaneously.
Disk as Bottleneck