Docsity

In-depth Look at Computer Storage Devices, Speed, and Disk Access Techniques - Prof. C. Hu, Study notes of Computer Science

Partial preview of the text

Download In-depth Look at Computer Storage Devices, Speed, and Disk Access Techniques - Prof. C. Hu and more Study notes Computer Science in PDF only on Docsity!

CSCE 210:

Computer Hardware

Foundations

Chin-Tser Huang

[email protected]

University of South Carolina

Chapter 10: Computer

Peripherals

Storage Devices

Primary memory

Secondary storage

Data and programs must be copied to

primary memory for CPU access

Permanence of data - nonvolatile

Direct access storage devices (DASDs)

Online storage

Offline storage – loaded when needed

Network file storage

File servers, web servers, database servers

Speed

Measured by access time and data

transfer rate

Access time: average time it takes a

computer to locate data and read it

millisecond = one-thousandth of a

second

Data transfer rate: amount of data

that moves per second

Secondary Storage

Devices

Solid state memory

Magnetic disks

Optical disk storage

Magnetic tape

Network storage

Characteristics

Rotation vs. Linear

Direct access vs. Sequential access

Flash Memory

Nonvolatile electronic integrated circuit memory

Similar to other read-only memory but uses a

different technology

Permits reading and writing individual bytes or

small blocks of data

Small size makes it useful in portable devices

such as USB “thumb drives”, digital cameras,

cell phones, music players

Relatively immune to physical shocks

Generates little heat or noise

A Hard Disk Layout

Techniques for Accessing a

Disk

 CAV – Constant Angular Velocity  (^) Number of bits on each track is the same! Denser towards the center  (^) Spins the same speed for every track  CLV – Constant Linear Velocity  All tracks have the same physical length and number of bits  Constant speed reading data off a track  Drive has to speed up when accessing close to the center of the drive and slow down when accessing towards the edge of the drive

Multiple-Zone Disk

Configuration

Locating a Block of Data

 Average seek time : time

required to move from one

track to another

Latency : time required for

disk to rotate to beginning of

correct sector

Transfer time : time required

to transfer a block of data to

the disk controller buffer

Disk Data Format

Data Block Format

Interblock gap

Header

Data – 512 bytes

Formatting disk

Establishes the track positions, blocks

and headers needed before use of the

disk

Disk Block Formats

Single Data Block Header for Windows disk

RAID – Mirrored

Pair of disks contain the exact same stores of data

Reading data – alternate blocks of data are read

from hard drives and combined

Access time is reduced by approximately a factor

equal to the number of disk drives in array

Read failure – block is marked and then read from

the mirrored drive

When using three or more mirrored drives,

majority logic is used in the event of a failure.

Fault-tolerant computers use this technique.

RAID – Striped

A file segment is stored divided into blocks

on different disks

Minimum of three drives needed because

one disk drive is reserved for error checking

Writes – block of parity words from each

block of data is created and put on the

reserved error checking disk

Reads – parity data is used to check original

data