describing storage devices store data when computer is off two processes –writing data –reading...

27
Describing Storage Devices • Store data when computer is off • Two processes – Writing data – Reading data • Storage terms – Media is the material storing data – Storage devices manage the media – Magnetic devices use a magnet – Optical devices use lasers – Solid-state devices have physical switches

Upload: ramiro-kier

Post on 29-Mar-2015

223 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Describing Storage Devices Store data when computer is off Two processes –Writing data –Reading data Storage terms –Media is the material storing data

Describing Storage Devices

• Store data when computer is off• Two processes

– Writing data– Reading data

• Storage terms– Media is the material storing data– Storage devices manage the media– Magnetic devices use a magnet– Optical devices use lasers– Solid-state devices have physical switches

Page 2: Describing Storage Devices Store data when computer is off Two processes –Writing data –Reading data Storage terms –Media is the material storing data

Magnetic Storage Devices

• Most common form of storage

• Hard drives, floppy drives, tape

• All magnetic drives work the same

Page 3: Describing Storage Devices Store data when computer is off Two processes –Writing data –Reading data Storage terms –Media is the material storing data

Magnetic Storage Devices

Floppy DiskFloppy Disk

Hard DiskHard Disk

TapeTape

Page 4: Describing Storage Devices Store data when computer is off Two processes –Writing data –Reading data Storage terms –Media is the material storing data

Magnetic Storage Devices

• Data storage and retrieval– Media is covered with iron oxide– Read/write head is a magnet– Magnet writes charges on the media

• Positive charge is a 1

• Negative charge is a 0

– Magnet reads charges– Drive converts charges into binary

Page 5: Describing Storage Devices Store data when computer is off Two processes –Writing data –Reading data Storage terms –Media is the material storing data

Magnetic Storage Devices

• Data organization– Disks must be formatted before use– Format draws tracks on the disk– Tracks is divided into sectors

• Amount of data a drive can read

Page 6: Describing Storage Devices Store data when computer is off Two processes –Writing data –Reading data Storage terms –Media is the material storing data

Tracks and Sectors

Page 7: Describing Storage Devices Store data when computer is off Two processes –Writing data –Reading data Storage terms –Media is the material storing data

Magnetic Storage Devices

• Finding data on disk– Each track and sector is labeled

• Some are reserved

– Listing of where files are stored• File Allocation Table (FAT)

• FAT32

• NTFS

– Data is organized in clusters• Size of data the OS handles

Page 8: Describing Storage Devices Store data when computer is off Two processes –Writing data –Reading data Storage terms –Media is the material storing data

Magnetic Storage Devices

• Diskettes– Also known as floppy disks– Read with a disk drive– Mylar disk– Spin at 300 RPM– Takes .2 second to find data– 3 ½ floppy disk holds 1.44 MB

Page 9: Describing Storage Devices Store data when computer is off Two processes –Writing data –Reading data Storage terms –Media is the material storing data

Magnetic Storage Devices

• Hard disks– Primary storage device in a computer– 2 or more aluminum platters– Each platter has 2 sides– Spin between 5,400 to 15,000 RPM– Data found in 9.5 ms or less– Drive capacity greater than 40 GB

Page 10: Describing Storage Devices Store data when computer is off Two processes –Writing data –Reading data Storage terms –Media is the material storing data

Illustrated Hard Disk

Page 11: Describing Storage Devices Store data when computer is off Two processes –Writing data –Reading data Storage terms –Media is the material storing data

Magnetic Storage Devices

• Removable high capacity disks– Speed of hard disk– Portability of floppy disk– Several variants have emerged– High capacity floppy disk

• Stores up to 750 MB of data

– Hot swappable hard disks• Provide GB of data• Connect via USB

Page 12: Describing Storage Devices Store data when computer is off Two processes –Writing data –Reading data Storage terms –Media is the material storing data

Magnetic Storage Devices

• Tape drives– Best used for

• Infrequently accessed data

• Back-up solutions

– Slow sequential access– Capacity exceeds 200 GB

Page 13: Describing Storage Devices Store data when computer is off Two processes –Writing data –Reading data Storage terms –Media is the material storing data

Optical Storage Devices

• CD-ROM– Most software ships on a CD– Read using a laser

• Lands, binary 1, reflect data

• Pits scatter data

– Written from the inside out– CD speed is based on the original

• Original CD read 150 Kbps

• A 10 X will read 1,500 Kbps

– Standard CD holds 650 MB

Page 14: Describing Storage Devices Store data when computer is off Two processes –Writing data –Reading data Storage terms –Media is the material storing data

Optical Storage Devices

• DVD-ROM– Digital Video Disk– Use both sides of the disk– Capacities can reach 18 GB– DVD players can read CDs

Page 15: Describing Storage Devices Store data when computer is off Two processes –Writing data –Reading data Storage terms –Media is the material storing data

Recordable Optical Technologies

• CD Recordable (CD-R)– Create a data or audio CD– Data cannot be changed– Can continue adding until full

Page 16: Describing Storage Devices Store data when computer is off Two processes –Writing data –Reading data Storage terms –Media is the material storing data

Recordable Optical Technologies

• CD Rewritable (CD-RW)– Create a reusable CD– Cannot be read in all CD players– Can reuse about 100 times

Page 17: Describing Storage Devices Store data when computer is off Two processes –Writing data –Reading data Storage terms –Media is the material storing data

Solid State Devices

• Data is stored physically

• No magnets or laser

• Very fast

Page 18: Describing Storage Devices Store data when computer is off Two processes –Writing data –Reading data Storage terms –Media is the material storing data

Solid State Devices

• Flash memory– Found in cameras and USB drives– Combination of RAM and ROM– Long term updateable storage

Page 19: Describing Storage Devices Store data when computer is off Two processes –Writing data –Reading data Storage terms –Media is the material storing data

Solid State Devices

• Smart cards– Credit cards with a chip– Chip stores data– Eventually may be used for cash– Hotels use for electronic keys

Page 20: Describing Storage Devices Store data when computer is off Two processes –Writing data –Reading data Storage terms –Media is the material storing data

Measuring and Improving Drive Performance

Page 21: Describing Storage Devices Store data when computer is off Two processes –Writing data –Reading data Storage terms –Media is the material storing data

Drive Performance

• Average access time– Also known as seek time– Time to find desired data– Measured in milliseconds– Depends on two factors

• RPM

• Time to access a track

– Hard drive between 6 and 12 ms– CD between 80 and 800 ms

Page 22: Describing Storage Devices Store data when computer is off Two processes –Writing data –Reading data Storage terms –Media is the material storing data

Drive Performance

• Data transfer rate– How fast data can be read– Measured in Bps or bps– Hard drive ranges from 15 to 160 MBps– CD ROMS depend on X factor

• 24x CD transfers 24 x 150 KBps

– Floppy disks transfer at 45 KBps

Page 23: Describing Storage Devices Store data when computer is off Two processes –Writing data –Reading data Storage terms –Media is the material storing data

Data Transfer Rate

Page 24: Describing Storage Devices Store data when computer is off Two processes –Writing data –Reading data Storage terms –Media is the material storing data

Optimizing Performance of Disks• Disk optimization

– Handled by operating system tool– Routine disk maintenance– Optimization should be run monthly

• Clean up unnecessary files– Delete temp files– Uninstall unused programs– Delete obsolete data files– Files should be cleaned weekly

Page 25: Describing Storage Devices Store data when computer is off Two processes –Writing data –Reading data Storage terms –Media is the material storing data

Optimizing Performance

• Scan a disk for errors– Bad spots on the media– Find and fix the error

• Move data to a good spot• Mark the spot as bad

– Disks should be scanned monthly• Defragment a disk

– Files fragment when resaved– Fragmented files load slower– Defragment puts the fragments together– Disks should be defragged monthly

Page 26: Describing Storage Devices Store data when computer is off Two processes –Writing data –Reading data Storage terms –Media is the material storing data

Optimizing Performance

• File compression– Shrinks the size of a file– Takes up less space on disk– Reduce a disks performance– Will increase disk capacity– PKZip, WinZip and WinRAR

Page 27: Describing Storage Devices Store data when computer is off Two processes –Writing data –Reading data Storage terms –Media is the material storing data

File Compression

763 KB763 KBon diskon disk

CompressedCompressed157 KB157 KB