49
External MEMORY Espedido • Cascano • Hinahon • Valerio

Chapter 5 External Memory

Embed Size (px)

Citation preview

Page 1: Chapter 5 External Memory

External MEMORY

Espedido • Cascano • Hinahon • Valerio

Page 2: Chapter 5 External Memory

Magnetic Disk

Page 3: Chapter 5 External Memory

Types of External Memory

•Magnetic Disk– RAID– Removable

Page 4: Chapter 5 External Memory

Types of External Memory

•Optical– CD-ROM– CD-Recordable (CD-R)– CD-R/W– DVD

Page 5: Chapter 5 External Memory

Types of External Memory

•Magnetic Tape

Disk substrate coated with magnetizable material (iron oxide…rust)Substrate used to be aluminiumNow glass

Page 6: Chapter 5 External Memory

Read and Write Mechanisms

•WriteCurrent through coil produces magnetic fieldPulses sent to headMagnetic pattern recorded on surface below

Page 7: Chapter 5 External Memory

Read and Write Mechanisms

•Read (traditional)

• Magnetic field moving relative to coil produces current

• Coil is the same for read and write

Page 8: Chapter 5 External Memory

Read and Write Mechanisms

•Read (contemporary)

• Separate read head, close to write head• Partially shielded magneto resistive (MR) sensor• Electrical resistance depends on direction of magnetic

field• High frequency operation• Higher storage density and speed

Page 9: Chapter 5 External Memory

Inductive Write MR Read

Page 10: Chapter 5 External Memory

Data Organization and Formatting

• Concentric rings or tracks• Tracks divided into sectors• Minimum block size is one sector• May have more than one sector per

block

Page 11: Chapter 5 External Memory

Disk Data Layout

Page 12: Chapter 5 External Memory

Disk Layout Methods Diagram

Page 13: Chapter 5 External Memory

Winchester Disk FormatSeagate ST506

Page 14: Chapter 5 External Memory

Characteristics• Fixed (rare) or movable head• Removable or fixed• Single or double (usually) sided• Single or multiple platter• Head mechanism

Page 15: Chapter 5 External Memory

Types of head disk

•Fixed head– One read write head per track– Heads mounted on fixed ridged arm

Page 16: Chapter 5 External Memory

Types of head disk

•Movable head– One read write head per side–Mounted on a movable arm

Page 17: Chapter 5 External Memory

Removability

•Removable disk– Can be removed from drive and

replaced with another disk

Page 18: Chapter 5 External Memory

Removability

•Nonremovable disk– Permanently mounted in the drive

Page 19: Chapter 5 External Memory

Multiple Platter• One head per side• Heads are joined

and aligned• Aligned tracks on

each platter form cylinders

• Data is striped by cylinder– reduces head

movement– Increases speed

(transfer rate)

Page 20: Chapter 5 External Memory

Tracks and Cylinders

Page 21: Chapter 5 External Memory

Floppy Disk• 8”, 5.25”, 3.5”• Small capacity– Up to 1.44Mbyte (2.88M never popular)

• Slow• Universal• Cheap• Obsolete?

Page 22: Chapter 5 External Memory

Floppy Disk

Page 23: Chapter 5 External Memory

Winchester Hard Disk• Developed by IBM in Winchester

(USA)• Sealed unit• One or more platters (disks)• Heads fly on boundary layer of air as

disk spins• Very small head to disk gap• Universal• Cheap

Page 24: Chapter 5 External Memory

Speed

•Seek time–Moving head to correct track

•Latency–Waiting for data to rotate under head

Access time = Seek Time + Latency

Page 25: Chapter 5 External Memory

Timing of Disk I/O Transfer

Page 26: Chapter 5 External Memory

RAID• Redundant Array of Independent Disks • Redundant Array of Inexpensive Disks• 6 levels in common use• Not a hierarchy• Set of physical disks viewed as single

logical drive by O/S• Data distributed across physical drives• Can use redundant capacity to store parity

information

Page 27: Chapter 5 External Memory

Magnetic Tape

Page 28: Chapter 5 External Memory

Magnetic Tape• Magnetic tape is a medium for

magnetic recording, made of a thin magnetizable coating on a long, narrow strip of plastic film.

• It was developed in Germany, based on magnetic wire recording.

Page 29: Chapter 5 External Memory

Magnetic Tape• Serial access• Slow• Very cheap• Backup and archive• Linear Tape-Open (LTO) Tape Drives– Developed late 1990s– Open source alternative to proprietary

tape systems

Page 30: Chapter 5 External Memory

Linear Tape-Open (LTO) Tape Drives

Page 31: Chapter 5 External Memory

Optical Memory

Page 32: Chapter 5 External Memory

Optical Storage CD-ROM• Originally for audio• 650Mbytes giving over 70 minutes audio• Polycarbonate coated with highly

reflective coat, usually aluminium• Data stored as pits• Read by reflecting laser• Constant packing density• Constant linear velocity

Page 33: Chapter 5 External Memory

CD Operation

Page 34: Chapter 5 External Memory

CD-ROM Drive Speeds• Audio is single speed– Constant linier velocity– 1.2 ms-1

– Track (spiral) is 5.27km long– Gives 4391 seconds = 73.2 minutes

• Other speeds are quoted as multiples• e.g. 24x• Quoted figure is maximum drive can

achieve

Page 35: Chapter 5 External Memory

CD-ROM Format

• Mode 0=blank data field• Mode 1=2048 byte data+error

correction• Mode 2=2336 byte data

Page 36: Chapter 5 External Memory

Random Access on CD-ROM• Difficult• Move head to rough position• Set correct speed• Read address• Adjust to required location

Page 37: Chapter 5 External Memory

CD-ROM

Large capacityEasy to mass produceRemovableRobust

Expensive for small runsSlowRead only

Page 38: Chapter 5 External Memory

Other Optical Storage

•CD-Recordable (CD-R)–WORM– Now affordable– Compatible with CD-ROM drives

Page 39: Chapter 5 External Memory

Other Optical Storage

•CD-RW– Erasable– Getting cheaper–Mostly CD-ROM drive compatible– Phase change• Material has two different reflectivities in

different phase states

Page 40: Chapter 5 External Memory

DVD

•Digital Video Disk– Used to indicate a player for movies• Only plays video disks

•Digital Versatile Disk– Used to indicate a computer drive• Will read computer disks and play video

disks

Page 41: Chapter 5 External Memory

CD & DVD

Page 42: Chapter 5 External Memory

High Definition Optical Disks• Designed for high definition videos• Much higher capacity than DVD– Shorter wavelength laser• Blue-violet range

– Smaller pits

Page 43: Chapter 5 External Memory

High Definition Optical Disks• HD-DVD– 15GB single side single layer

• Blue-ray– Data layer closer to laser• Tighter focus, less distortion, smaller pits

– 25GB on single layer– Available read only (BD-ROM),

Recordable once (BR-R) and re-recordable (BR-RE)

Page 44: Chapter 5 External Memory

Optical Memory Characteristics

Page 45: Chapter 5 External Memory

Worm

Page 46: Chapter 5 External Memory

Write once read many• (WORM) describes a data storage

device in which information, once written, cannot be modified.

• This write protection affords the assurance that the data cannot be tampered with once it is written to the device.

Page 47: Chapter 5 External Memory

Write once read many• On ordinary (non-WORM) data storage

devices, the number of times data can be modified is limited only by the lifespan of the device, as modification involves physical changes that may cause wear to the device. The "read many" aspect is unremarkable, as modern storage devices permit unlimited reading of data once written.

Page 48: Chapter 5 External Memory

Write once read many• The CD-R and DVD-R optical disks for

computers are common WORM devices. On these disks, no region of the disk can be recorded a second time.

• However, these disks often use a file system based on ISO 9660 that permits additional files, and even revised versions of a file by the same name, to be recorded in a different region of the disk. To the user of the disk, the disk appears to allow additions and revisions until all the disk space is used.

Page 49: Chapter 5 External Memory

Thank You!