Secondry Memory Management
Secondry Memory Management
Secondry Memory Management
by
Vishwa Nand Chandra
For
hard disks, the OS provides two
abstraction:
• Raw device – an array of data blocks.
• File system – the OS queues and schedules the
interleaved requests from several applications.
Most OSs handle removable disks almost exactly like fixed
disks — a new cartridge is formatted and an empty file
system is generated on the disk.
Tapes are presented as a raw storage medium, i.e., and
application does not not open a file on the tape, it opens the
whole tape drive as a raw device.
Usually the tape drive is reserved for the exclusive use of
that application.
Since the OS does not provide file system services, the
application must decide how to use the array of blocks.
Since every application makes up its own rules for how to
organize a tape, a tape full of data can generally only be
used by the program that created it.
The basic operations for a tape drive differ from
those of a disk drive.
locate positions the tape to a specific logical
block, not an entire track (corresponds to seek).
The read position operation returns the logical
block number where the tape head is.
The space operation enables relative motion.
Tape drives are “append-only” devices; updating
a block in the middle of the tape also effectively
erases everything beyond that block.
An EOT mark is placed after a block that is
written.
The issue of naming files on removable media is
especially difficult when we want to write data on
a removable cartridge on one computer, and
then use the cartridge in another computer.
Contemporary OSs generally leave the name
space problem unsolved for removable media,
and depend on applications and users to figure
out how to access and interpret the data.
Some kinds of removable media (e.g., CDs) are
so well standardized that all computers use them
the same way.
A hierarchical storage system extends the
storage hierarchy beyond primary memory
and secondary storage to incorporate
tertiary storage — usually implemented as a
jukebox of tapes or removable disks.
Usually incorporate tertiary storage by
extending the file system.
• Small and frequently used files remain on disk.
• Large, old, inactive files are archived to the jukebox.
HSM is usually found in supercomputing
centers and other large installations that
have enormous volumes of data.
Twoaspects of speed in tertiary storage are
bandwidth and latency.
Any suggestions !
Any Queries !