I/O Model, Disk Access, Scheduling, Failure




CS157b

Chris Pollett

Jan 29, 2020

Outline

Introduction

Secondary Storage

Tertiary Storage

How HDDs Work

HDD diagram

Disk Controller

A disk controller is a small processor in an HDD capable of:

Disk Storage Characteristics

In-Class Exercise

Assuming three platters and a 16TB capacity, but otherwise, leaving the characteristics of the drive of the last slide the same, how many bytes would a track need to store?

Post your solution to the Jan 29 In-Class Exercise Thread.

Disk Access Characteristics Review

Disk Access Characteristics Example

Speeding Up Access to Secondary Storage

I/O Model of Computation

I/O Model Example

Organizing Data by Cylinder

Using Multiple Disks

Mirroring

Disk Scheduling

Prefetching (aka double buffering)

Disk Failures

Let's now consider why disks drives might not work (before considering how to deal with disk failures).