Lesson 4: Disk Scheduling Flashcards
—storage device that uses a magnetization process to write, rewrite and access data
—covered with a magnetic coating and stores data in the form of tracks, spots and sectors
—provide the bulk of secondary storage for modern computer systems
magnetic disk
common examples of magnetic disks
Hard disks, zip disks, floppy disks
—polyethylene tape coated with a magnetic particulate or film medium
—storage medium that allows for data archiving, collection, and backup
magnetic tapes
—the density of bits per track is uniform on media using it
—method used in CD-ROM and DVD-ROM drives
Constant Linear Velocity (CLV)
—method used in hard disks
—disk rotation speed can stay constant, and the density of bits decreases from inner tracks to outer tracks to keep the data rate constant
Constant Angular Velocity (CAV)
—done by Operating Systems to schedule I/O requests arriving for the disk
—also known as I/O Scheduling
Disk Scheduling
Two major components of access time (SR)
Seek time
Rotational latency
[Components of access time] the time for the disk arm to move the heads to the cylinder containing the desired sector
Seek time
[Components of access time] the additional time for the disk to rotate the desired sector to the disk head
Rotational latency
the time to transfer the data
Transfer Time
Formula for Disk Access Time
Seek time + Rotational latency + transfer time
Disk Scheduling Algorithms (F/S/S/CS/L/CL)
FCFS = First come, first served
SSTF = Shortest Seek Time First
SCAN
C-SCAN = Circular SCAN
LOOK
C-LOOK = Circular LOOK
—simplest of all the Disk Scheduling Algorithms
—the requests are addressed in the order they arrive in the disk queue
FCFS
—requests having shortest seek time are executed first
—requests near the disk arm will get executed first
SSTF
the disk arm moves into a particular direction and services the requests coming in its path and after reaching the end of disk, it reverses its direction and again services the request arriving in its path
SCAN