Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Disk Algorithms and Techniques: A Handbook, Slides of Operating Systems

An in-depth analysis of various disk algorithms and techniques, including scan, look, c-look, shortest positioning time first, and solid-state disks (ssd). It discusses the advantages and disadvantages of each algorithm, as well as modern disk scheduling concepts and command queuing in action.

Typology: Slides

2013/2014

Uploaded on 02/01/2014

sashie
sashie 🇮🇳

4.2

(40)

185 documents

1 / 107

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
15#410,'F’13'
1'
1'
1'
Disks'
November'8,'2013'
Dave%Eckhardt%&%Todd%Mowry%
Brian%Railing%&%Steve%Muckle%
Contribu=ons%from%
nEno%Thereska,%Rahul%Iyer%
n15E213%
n“How%Stuff%Works”%web%site%
L23_Disks1
15E410%
“...What'goes'around'comes'around...”'
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
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52
pf53
pf54
pf55
pf56
pf57
pf58
pf59
pf5a
pf5b
pf5c
pf5d
pf5e
pf5f
pf60
pf61
pf62
pf63
pf64

Partial preview of the text

Download Disk Algorithms and Techniques: A Handbook and more Slides Operating Systems in PDF only on Docsity!

15-­‐410, F’ 1

Disks

November 8, 2013

Dave Eckhardt & Todd Mowry Brian Railing & Steve Muckle Contribu=ons from n Eno Thereska, Rahul Iyer n 15-­‐ n “How Stuff Works” web site L23_Disks

“...What goes around comes around...”

15-­‐410, F’ 2

Overview

Anatomy of a Hard Drive Common Disk Scheduling Algorithms A brief men=on of SSD's

15-­‐410, F’ 4 If we take the cover off, we see that there actually is a “hard disk” inside Taken from “How Hard Disks Work” hCp://computer.howstuffworks.com/hard-­‐disk2.htm

15-­‐410, F’ 5 These spin at thousands of RPM (5400, 7200, 10000, …) Slower disks use less power Taken from “How Hard Disks Work” hCp://computer.howstuffworks.com/hard-­‐disk2.htm A hard drive usually contains mul=ple disks, called pla5ers

15-­‐410, F’ 7 The arm is moved by a voice coil actuator Slow, as computers go n Accelera=on =me n Travel =me Taken from “Hard Disk Drives” hCp://www.pcguide.com/ref/hdd Oklobdzija, Comp. Eng. Handbook, 2002

15-­‐410, F’ 8 Both sides of each plaXer store informa=on Each side of a plaXer is called a surface Each surface has its own read/write head Taken from “How Hard Disks Work” hCp://computer.howstuffworks.com/hard-­‐disk2.htm

15-­‐410, F’ 10 Each surface is divided by concentric circles, crea=ng tracks tracks

15-­‐410, F’ 11 These tracks are further divided into sectors

15-­‐410, F’ 13

Anatomy of a Hard Drive, Really

Modern hard drives use zoned bit recording n Disk has tables to map track# to #sectors n Sectors are all roughly the same linear length n Some old low-­‐level code s=ll thinks of “C/H/S addressing”, but that's not what actually happens (for more than a decade!) n “sector address” names a sector like “page” names a frame Taken from “Reference Guide – Hard Disk Drives” hCp://www.storagereview.com/map/lm.cgi/zone

15-­‐410, F’ 14 Let's read in a sector from the disk read/write head desired sector disk rotates counter-­‐clockwise

15-­‐410, F’ 16 Let's read in a sector from the disk read/write head

15-­‐410, F’ 17 Let's read in a sector from the disk read/write head

15-­‐410, F’ 19 Let's read in a sector from the disk read/write head

15-­‐410, F’ 20 Let's read in a sector from the disk read/write head