Mass Storage Systems - Operating Systems - Lecture Slides, Slides of Computer Science

These are the Lecture Slides of Operating Systems which includes File-System Structure, Defining, Logical File, Physical Device, Secondary, System Organized, File Control Block, Structure Consisting, Typical File Control Block etc.Key important points are: Mass Storage Systems, Objectives, Physical Structure, Secondary, Storage Devices, Performance Characteristics, Mass-Storage Devices, Operating-System Services, Mass Storage, Transfer Rate

Typology: Slides

2012/2013

Uploaded on 03/28/2013

ekana
ekana 🇮🇳

4

(44)

370 documents

1 / 47

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Mass-Storage Systems
Chapter 12
Docsity.com
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f

Partial preview of the text

Download Mass Storage Systems - Operating Systems - Lecture Slides and more Slides Computer Science in PDF only on Docsity!

Mass-Storage Systems

Chapter 12

Objectives

• Describe the physical structure of secondary

and tertiary storage devices and the resulting

effects on the uses of the devices

• Explain the performance characteristics of

mass-storage devices

• Discuss operating-system services provided for

mass storage, including RAID and HSM

Moving-head Disk Machanism

Overview of Mass Storage Structure (Cont.)

  • Magnetic tape
    • Was early secondary-storage medium
    • Relatively permanent and holds large quantities of data
    • Access time slow
    • Random access ~1000 times slower than disk
    • Mainly used for backup, storage of infrequently-used data, transfer medium between systems
    • Kept in spool and wound or rewound past read-write head
    • Once data under head, transfer rates comparable to disk
    • 20-200GB typical storage
    • Common technologies are 4mm, 8mm, 19mm, LTO-2 and SDLT

Disk Attachment

  • Host-attached storage accessed through I/O ports

talking to I/O busses

  • SCSI itself is a bus, up to 16 devices on one cable, SCSI

initiator requests operation and SCSI targets perform tasks

  • Each target can have up to 8 logical units (disks attached to device controller
  • FC is high-speed serial architecture
  • Can be switched fabric with 24-bit address space – the basis of storage area networks ( SAN s) in which many hosts attach to many storage units
  • Can be arbitrated loop ( FC-AL ) of 126 devices

Network-Attached Storage

  • Network-attached storage ( NAS ) is storage made available over a network rather than over a local connection (such as a bus)
  • NFS and CIFS are common protocols
  • Implemented via remote procedure calls (RPCs) between host and storage
  • New iSCSI protocol uses IP network to carry the SCSI protocol

Disk Scheduling

  • The operating system is responsible for using hardware efficiently — for the disk drives, this means having a fast access time and disk bandwidth.
  • Access time has two major components
    • Seek time is the time for the disk are to move the heads to the cylinder containing the desired sector.
    • Rotational latency is the additional time waiting for the disk to rotate the desired sector to the disk head.
  • Minimize seek time
  • Seek time ≈ seek distance
  • Disk bandwidth is the total number of bytes transferred, divided by the total time between the first request for service and the completion of the last transfer.

Disk Scheduling (Cont.)

• Several algorithms exist to schedule the

servicing of disk I/O requests.

• We illustrate them with a request queue (0-

Head pointer 53

SSTF

• Selects the request with the minimum seek

time from the current head position.

• SSTF scheduling is a form of SJF scheduling;

may cause starvation of some requests.

• Illustration shows total head movement of

236 cylinders.

SSTF (Cont.)

SCAN (Cont.)

C-SCAN

  • Provides a more uniform wait time than SCAN.
  • 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.

  • Treats the cylinders as a circular list that wraps

around from the last cylinder to the first one.

C-LOOK

• Version of C-SCAN

• Arm only goes as far as the last request in

each direction, then reverses direction

immediately, without first going all the way to

the end of the disk.

C-LOOK (Cont.)