Mass-Storage Systems
Mass-Storage Systems
Disk Structure
Disk Scheduling
Disk Management
Swap-Space Management
RAID Structure
Disk Attachment
Stable-Storage Implementation
Tertiary Storage Devices
Operating System Issues
Performance Issues
DISK STRUCTURE
Disk drives are addressed as large 1-dimensional arrays
of logical blocks, where the logical block is the smallest
unit of transfer.
Head pointer 53
FCFS
Illustration shows total head movement of 640 cylinders.
SSTF
Selects the request with the minimum seek time from
the current head position.
The head moves from one end of the disk to the other.
servicing requests as it goes. When it reaches the other end,
however, it immediately returns to the beginning of the
disk, without servicing any requests on the return trip.
SCAN and C-SCAN perform better for systems that place a heavy load on the disk.
Requests for disk service can be influenced by the file- allocation method.
Swap-space management
4.3BSD allocates swap space when process starts; holds text
segment (the program) and data segment.
Kernel uses swap maps to track swap-space use.
Solaris 2 allocates swap space only when a page is forced out of
physical memory, not when the virtual memory page is first created.
4.3 BSD Text-Segment Swap Map
4.3 BSD Data-Segment Swap Map
RAID Structure
The cheapest tape drives and the cheapest disk drives have
had about the same storage capacity over the years.