peripheral storage devices

25
Peripheral Storage Devices

Upload: shel

Post on 27-Jan-2016

102 views

Category:

Documents


0 download

DESCRIPTION

Peripheral Storage Devices. This lesson includes the following sections: Categorizing Storage Devices Magnetic and Optical Storage Devices Average Access Time File Compression Data-Transfer Rate. Categorizing Storage Devices. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Peripheral  Storage Devices

Peripheral Storage Devices

Page 2: Peripheral  Storage Devices

This lesson includes the following sections:

• Categorizing Storage Devices

• Magnetic and Optical Storage Devices

• Average Access Time

• File Compression

• Data-Transfer Rate

Page 3: Peripheral  Storage Devices

Categorizing Storage Devices

• The computer file system we have discussed must be stored somewhere.

• Storage devices hold data, even when the computer is turned off - unlike RAM.

• The physical material that actually holds data is called a storage medium.

• The hardware that writes data to or reads data from a storage medium is called a storage device.

• The two primary storage technologies are magnetic and optical.

Page 4: Peripheral  Storage Devices

The primary types of magnetic storage are:

• Hard disks

• Normal and high-capacity floppy disks

The primary types of optical storage are:

• Compact disk

• Digital Video Disk

Page 5: Peripheral  Storage Devices

Magnetic Storage Devices- How Magnetic Storage Works

• A magnetic disk's medium contains iron particles, which can be polarized—given a magnetic field—in one of two directions (north or south)

• Each particle's direction represents a 1 (on) or 0 (off), representing each bit of data that the CPU can recognize.

• A disk drive uses read/write heads containing electromagnets to create magnetic fields over the medium.

Page 6: Peripheral  Storage Devices

Random particles(no data stored)

Current flow(write operation)

Organized particles(represent data)

Medium

Write head

Page 7: Peripheral  Storage Devices

As the mediumrotates, the headwrites the data.

Page 8: Peripheral  Storage Devices

Magnetic Storage Devices - Formatting

• Before a magnetic disk can be used, it must be formatted—a process that maps the disk's surface and determines how data will be stored.

• During formatting, the drive creates circular tracks around the disk's surface, then divides each track into sectors.

• The OS organizes sectors into groups, called clusters, then tracks each file's location according to the clusters it occupies.

Page 9: Peripheral  Storage Devices

Formatted Disk

Page 10: Peripheral  Storage Devices

Magnetic Storage Devices - Disk Areas

When a disk is formatted, the OS creates fourareas on its surface:

• Boot sector – stores the master boot record, a small program that runs when you first start (boot) the computer

• File allocation table (FAT) – a log that records each file's location and each sector's status

• Root folder – enables the user to store data on the disk in a logical way

• Data area – the portion of the disk that actually holds data

Page 11: Peripheral  Storage Devices
Page 12: Peripheral  Storage Devices

Magnetic Storage Devices - Hard Disks

• Hard disks use multiple platters, stacked on a spindle. Each platter has two read/write heads, one for each side.

• Hard disks use higher-quality media and a faster rotational speed than diskettes.

• Hard disks spin at 3,600 to 10,000 rpm. A floppy spins at 300 rpm.

Page 13: Peripheral  Storage Devices

Magnetic Storage Devices - Disk Capacities

• Hard disks store large amounts of data. New PCs feature hard disks with capacities of 10 GB and higher.

• High-capacity floppy disks offer capacities up to 250 MB and the portability of standard floppy disks.

• HiFD and SuperDisk store 200 and 120 MB and are compatible with a normal floppy disk.

• Zip can store 100-250 MB, but is a different shaped disk.

Page 14: Peripheral  Storage Devices

Optical Storage Devices – How Optical Storage Works

• An optical disk is a high-capacity storage medium. An optical drive uses reflected light to read data.

• To store data, the disk's metal surface is covered with tiny dents (pits) and flat spots (lands), which cause light to be reflected differently.

• When an optical drive shines light into a pit, the light cannot be reflected back. This represents a bit value of 0 (off). A land reflects light back to its source, representing a bit value of 1 (on).

Page 15: Peripheral  Storage Devices

1 0

Page 16: Peripheral  Storage Devices

Optical Storage Devices – CD-ROM

• In PCs, the most commonly use optical storage technology is called Compact Disk Read-Only Memory (CD-ROM).

• A standard CD-ROM disk can store up to 650 MB of data, or about 70 minutes of audio.

• Once data is written to a standard CD-ROM disk, the data cannot be altered or overwritten.

Page 17: Peripheral  Storage Devices

Optical Storage Devices – CD-ROM Speeds and Uses

• Early CD-ROM drives were called single speed, and read data at a rate of 150 KBps. (Hard disks transfer data at rates of 5 – 15 MBps).

• CD-ROM drives now can transfer data at speeds of up to 7800 KBps. Data transfer speeds are getting faster.

• CD-ROM is typically used to store software programs. CDs can store audio and video data, as well as text and program instructions.

Page 18: Peripheral  Storage Devices

Optical Storage Devices - DVD-ROM

• A variation of CD-ROM is called Digital Video Disk Read-Only Memory (DVD-ROM), and is being used in place of CD-ROM in many newer PCs.

• Standard DVD disks store up to 9.4 GB of data—enough to store an entire movie. Dual-layer DVD disks can store up to 17 GB.

• DVD disks can store so much data because both sides of the disk are used, along with sophisticated data compression technologies.

Page 19: Peripheral  Storage Devices

Optical Storage Devices - Other Optical Storage Devices

• A CD-Recordable (CD-R) drive lets you record your own CDs, but data cannot be overwritten once it is recorded to the disk.

• A CD-Rewritable (CD-RW) drive lets you record a CD, then write new data over the already recorded data.

Page 20: Peripheral  Storage Devices

Average Access Time

• In storage devices, average access time (or seek time) is the time required for a read/write head to move to a spot on the storage medium.

• For storage devices, access time is measured in milliseconds (ms), or thousandths of a second. In memory, access time is measured in nanoseconds (ns), or one-billionths of a second.

• Diskette drives offer an average access time of 100 ms. Hard drives are faster, usually between 6 – 12 ms.

Page 21: Peripheral  Storage Devices

20-500 sTape drives

80-800 msCD ROM drives

6-12 msHard disk drives

55-250 nsRead only memory (ROM)

50-70 nsDynamic RAM (DRAM)

5-15 nsStatic RAM (SRAM)

Typical Access TimeDevice

Typical Access Times for Memory and Storage Devices

Page 22: Peripheral  Storage Devices

File Compression

• File compression technology shrinks files so they take up less disk space.

• Using a compression utility, you can shrink multiple

files into a single archive file.

• Utilities such as Windows' DriveSpace enable you to compress the entire contents of your hard disk.

Page 23: Peripheral  Storage Devices

Data-Transfer Rate

• Data-transfer rate (or throughput) measures the time required for data to travel from one device to another.

• If a device transfers 45,000 bytes per second, its data-transfer rate is 45 KBps.

• Hard disks offer the fastest data-transfer rates of any storage device.

Page 24: Peripheral  Storage Devices
Page 25: Peripheral  Storage Devices

Hard Disk Fragmentation

One file can end up fragmented(scattered) over the disk surface.

Results in multiple head accesses which degrades performance.