Top Banner
Chapter 5 Data Storage Technology 2005 IS112
50

Chapter 5 Data Storage Technology 2005 IS112. Chapter goals Describe the distinguishing characteristics of primary and secondary storage Describe the.

Dec 22, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Chapter 5 Data Storage Technology 2005 IS112. Chapter goals Describe the distinguishing characteristics of primary and secondary storage Describe the.

Chapter 5

Data Storage Technology

2005 IS112

Page 2: Chapter 5 Data Storage Technology 2005 IS112. Chapter goals Describe the distinguishing characteristics of primary and secondary storage Describe the.

Chapter goals

Describe the distinguishing characteristics of primary and secondary storage

Describe the devices used to implement primary storage

Describe the memory allocation schemes Compare and contrast secondary storage

technology alternatives

Page 3: Chapter 5 Data Storage Technology 2005 IS112. Chapter goals Describe the distinguishing characteristics of primary and secondary storage Describe the.

Goals cont.

Describe factors that determine storage device performance Choose appropriate secondary storage technologies and devices Explore storage devices and their technologies Outlines characteristics common to all storage devices Explains the technology strengths and weaknesses of primary

storage and secondary storage

Page 4: Chapter 5 Data Storage Technology 2005 IS112. Chapter goals Describe the distinguishing characteristics of primary and secondary storage Describe the.

Storage types

Primary storage – memory or RAM Holds instructions and data for currently executing

programs Volatile – requires electricity to maintain data

Secondary storage – electromagnetic or optical devices Non-volatile storage devices with large capacities

Page 5: Chapter 5 Data Storage Technology 2005 IS112. Chapter goals Describe the distinguishing characteristics of primary and secondary storage Describe the.

Storage device components

Storage devices are comprised of Storage medium Read/write mechanism Device controller – interface between the storage

device and the system bus (discussed in chapter 6)

Page 6: Chapter 5 Data Storage Technology 2005 IS112. Chapter goals Describe the distinguishing characteristics of primary and secondary storage Describe the.

Storage device characteristics

Page 7: Chapter 5 Data Storage Technology 2005 IS112. Chapter goals Describe the distinguishing characteristics of primary and secondary storage Describe the.

Speed

Speed of primary storage (RAM) directly impacts performance of entire system

RAM extends the limited capacity of CPU registers The CPU continually moves data and instructions

between registers and RAM If a read/write to RAM takes more than one CPU

cycle, then CPU must wait for information RAM is faster than secondary storage by a factor of

105 or more

Page 8: Chapter 5 Data Storage Technology 2005 IS112. Chapter goals Describe the distinguishing characteristics of primary and secondary storage Describe the.

Speed cont.

Speed is also an issue for secondary storage Called “access time” or “seek time” Access time is defined as time to complete one read

or write operation Access time for disk or tape storage can vary

depending on location of information, therefore access time is expressed as an average

Page 9: Chapter 5 Data Storage Technology 2005 IS112. Chapter goals Describe the distinguishing characteristics of primary and secondary storage Describe the.

Access times

Primary storage – expressed in nanoseconds (billionths of a second)

Secondary storage – expressed in milliseconds (thousandths of a second)

Page 10: Chapter 5 Data Storage Technology 2005 IS112. Chapter goals Describe the distinguishing characteristics of primary and secondary storage Describe the.

Data transfer rate

Complete measure of data access speed consists of access time and the unit of data transfer to/from the storage device Access time plus how much data is transferred

Data transfer unit for primary storage is based on word size (usually 32 bit)

Page 11: Chapter 5 Data Storage Technology 2005 IS112. Chapter goals Describe the distinguishing characteristics of primary and secondary storage Describe the.

Data transfer unit

Data transfer unit (amount of data moved at a time) for secondary storage varies depending on the device

Unit is called a “block” Block size is stated in bytes “Sector” is data transfer unit for magnetic and

optical devices Common sector/block size is 512 bytes

Page 12: Chapter 5 Data Storage Technology 2005 IS112. Chapter goals Describe the distinguishing characteristics of primary and secondary storage Describe the.

Data transfer rate

Expressed in terms of bytes/second Access time combined with data transfer unit

Data transfer rate describes how much data can be transferred between devices over a period of time

Page 13: Chapter 5 Data Storage Technology 2005 IS112. Chapter goals Describe the distinguishing characteristics of primary and secondary storage Describe the.

Volatility

Volatile – storage device is volatile if it cannot reliable hold data for long periods of time

Non–volatile – storage device is non-volatile if it can reliably store data for long periods of time

Computer systems need a combination of volatile and non-volatile storage devices

Page 14: Chapter 5 Data Storage Technology 2005 IS112. Chapter goals Describe the distinguishing characteristics of primary and secondary storage Describe the.

Access method

Physical structure of storage device’s read/write mechanism determines the way(s) data can be accessed Serial access Random access Parallel access

Page 15: Chapter 5 Data Storage Technology 2005 IS112. Chapter goals Describe the distinguishing characteristics of primary and secondary storage Describe the.

Serial access

Stores and retrieves data items in a linear or sequential order

Slowest access method Tape typically used for backup purposes

Page 16: Chapter 5 Data Storage Technology 2005 IS112. Chapter goals Describe the distinguishing characteristics of primary and secondary storage Describe the.

Random access

Also called a direct access device Can directly access data stored on the device All primary storage and disk storage devices

are direct access Parallel access – with multiple read/write

heads, can simultaneously access more than one storage location

Page 17: Chapter 5 Data Storage Technology 2005 IS112. Chapter goals Describe the distinguishing characteristics of primary and secondary storage Describe the.

Portability

Data can be made portable by storing it on a removable storage medium or device.

Portable devices typically have slower access speed than permanently installed devices and those with non-removable media.

Page 18: Chapter 5 Data Storage Technology 2005 IS112. Chapter goals Describe the distinguishing characteristics of primary and secondary storage Describe the.

Cost and capacity

An increase in speed, permanence or portability generally comes at increased cost if all other factors are held constant.

Page 19: Chapter 5 Data Storage Technology 2005 IS112. Chapter goals Describe the distinguishing characteristics of primary and secondary storage Describe the.

Storage Device Characteristics

Page 20: Chapter 5 Data Storage Technology 2005 IS112. Chapter goals Describe the distinguishing characteristics of primary and secondary storage Describe the.

Primary storage devices

Random access memory (RAM) is a generic term for storage device that Microchip implementation using semiconductors Ability to read and write with equal speed Random access to stored bytes, words, or larger

data units

Page 21: Chapter 5 Data Storage Technology 2005 IS112. Chapter goals Describe the distinguishing characteristics of primary and secondary storage Describe the.

Primary Storage Devices

Critical performance characteristics Access speed Data transfer unit size

Must closely match CPU speed and word size to avoid wait states

Page 22: Chapter 5 Data Storage Technology 2005 IS112. Chapter goals Describe the distinguishing characteristics of primary and secondary storage Describe the.

Storing Electrical Signals

Directly By devices such as batteries and capacitors Trade off between access speed and volatility

Indirectly Uses energy to alter the state of a device; inverse

process regenerates equivalent electrical signal Modern computers use memory implemented

with semiconductors (RAM and NVM)

Page 23: Chapter 5 Data Storage Technology 2005 IS112. Chapter goals Describe the distinguishing characteristics of primary and secondary storage Describe the.

Random Access Memory

Characteristics Microchip implementation using

semiconductors Ability to read and write with equal speed Random access to stored bytes, words, or

larger data units

Page 24: Chapter 5 Data Storage Technology 2005 IS112. Chapter goals Describe the distinguishing characteristics of primary and secondary storage Describe the.

SRAM vs. DRAM

Static RAM – implemented with transistors Requires continuous supply of electricity to preserve data

Dynamic RAM – uses transistors and capacitors Require a fresh infusion of power thousands of times per

second. Each refresh operation is called a refresh cycle

Page 25: Chapter 5 Data Storage Technology 2005 IS112. Chapter goals Describe the distinguishing characteristics of primary and secondary storage Describe the.

Random Access Memory

To bridge performance gap between memory and microprocessors Read-ahead memory access Synchronous read operations On-chip memory caches

Page 26: Chapter 5 Data Storage Technology 2005 IS112. Chapter goals Describe the distinguishing characteristics of primary and secondary storage Describe the.

Nonvolatile Memory

Random access memory with long-term or permanent data retention

Usually relegated to specialized roles and secondary storage; slower write speeds and limited number of rewrites

Generations of devices (ROM, EPROM, and EEPROM)

Page 27: Chapter 5 Data Storage Technology 2005 IS112. Chapter goals Describe the distinguishing characteristics of primary and secondary storage Describe the.

Nonvolatile Memory

Flash RAM (most common NVM) Competitive with DRAM in capacity and read

performance Relatively slow write speed Limited number of write cycles

NVM technologies under development Ferroelectric RAM Polymer memory

Page 28: Chapter 5 Data Storage Technology 2005 IS112. Chapter goals Describe the distinguishing characteristics of primary and secondary storage Describe the.

SRAM vs. DRAM

Static RAM – implemented with transistors Requires continuous supply of electricity to preserve data

Dynamic RAM – uses transistors and capacitors Require a fresh infusion of power thousands of times per

second. Each refresh operation is called a refresh cycle

Page 29: Chapter 5 Data Storage Technology 2005 IS112. Chapter goals Describe the distinguishing characteristics of primary and secondary storage Describe the.

Read only memory

ROM – random access memory device that can store data permanently or semi-permanently

Typically used to store BIOS (basic input output services)

Instructions stored in ROM is called firmware

Page 30: Chapter 5 Data Storage Technology 2005 IS112. Chapter goals Describe the distinguishing characteristics of primary and secondary storage Describe the.

Memory packaging

Page 31: Chapter 5 Data Storage Technology 2005 IS112. Chapter goals Describe the distinguishing characteristics of primary and secondary storage Describe the.

CPU Memory Access

Management of RAM is critical to performance of computer

Organization, access, and management or RAM is done by the operating system

How memory is accessed is large factor in performance of RAM

Page 32: Chapter 5 Data Storage Technology 2005 IS112. Chapter goals Describe the distinguishing characteristics of primary and secondary storage Describe the.

Physical memory organization Main memory of any computer is a sequence of

contiguous memory cells Addressable memory – highest number storage byte

that can be represented Determined by the number of bits used to represent an

address If 32 bits used to represent and address, highest address is

232 = 4,294,967,296, or 4 GB Physical memory – actual memory installed, usually

less than addressable memory

Page 33: Chapter 5 Data Storage Technology 2005 IS112. Chapter goals Describe the distinguishing characteristics of primary and secondary storage Describe the.

Memory addressing & allocation Memory allocation is the assignment or reservation

of memory segments for system software, application programs, and data

Memory allocation is the responsibility of the operating system

Common scheme is to place OS in low memory and applications in high memory This can be demonstrated with C++ program

Page 34: Chapter 5 Data Storage Technology 2005 IS112. Chapter goals Describe the distinguishing characteristics of primary and secondary storage Describe the.

Memory allocation

Page 35: Chapter 5 Data Storage Technology 2005 IS112. Chapter goals Describe the distinguishing characteristics of primary and secondary storage Describe the.

Absolute vs. relative addressing Some programming languages (C, C++)

allow instructions that reference explicit memory locations BRANCH to location # STO to location #

Absolute addressing describes memory address operands that refer to actual physical memory locations

Page 36: Chapter 5 Data Storage Technology 2005 IS112. Chapter goals Describe the distinguishing characteristics of primary and secondary storage Describe the.

Problems with absolute addressing If a program refers to a physical memory

address in the code, then OS loses ability to re-arrange application locations in memory

Instead, programs use relative addressing

Page 37: Chapter 5 Data Storage Technology 2005 IS112. Chapter goals Describe the distinguishing characteristics of primary and secondary storage Describe the.

Relative addressing

Instructions that refer to memory use a combination of registers to compute addresses

When OS loads application into memory, OS loads starting point of application into one register

Instruction in application that refers to memory location is using an offset (i.e. distance from beginning of application)

OS adds offset to starting point to calculate physical memory location

Page 38: Chapter 5 Data Storage Technology 2005 IS112. Chapter goals Describe the distinguishing characteristics of primary and secondary storage Describe the.

Segmented memory

Page 39: Chapter 5 Data Storage Technology 2005 IS112. Chapter goals Describe the distinguishing characteristics of primary and secondary storage Describe the.

Each application has unique starting address

Page 40: Chapter 5 Data Storage Technology 2005 IS112. Chapter goals Describe the distinguishing characteristics of primary and secondary storage Describe the.

Magnetic storage

Uses magnetism to store binary information onto a storage medium that can store magnetic information

Least expensive medium for secondary storage Can be portable Retains data without electricity Over longer periods of time will eventually lose

information

Page 41: Chapter 5 Data Storage Technology 2005 IS112. Chapter goals Describe the distinguishing characteristics of primary and secondary storage Describe the.

Read/write in magnetic device

Page 42: Chapter 5 Data Storage Technology 2005 IS112. Chapter goals Describe the distinguishing characteristics of primary and secondary storage Describe the.

Magnetic decay and leakage

Primary disadvantage is loss of data over time

Magnetic Decay – the tendency of magnetically charges particles to lose their charge over time

Magnetic Leakage – a decrease in the strength of individual bit charges

Page 43: Chapter 5 Data Storage Technology 2005 IS112. Chapter goals Describe the distinguishing characteristics of primary and secondary storage Describe the.

Magnetic storage

Page 44: Chapter 5 Data Storage Technology 2005 IS112. Chapter goals Describe the distinguishing characteristics of primary and secondary storage Describe the.

Organization of tracks and sectors

Page 45: Chapter 5 Data Storage Technology 2005 IS112. Chapter goals Describe the distinguishing characteristics of primary and secondary storage Describe the.

Optical mass storage devices

Advantages: Higher recording density Longer data life Retain data for decades Not subject to problems of magnetic decay and leakage

Page 46: Chapter 5 Data Storage Technology 2005 IS112. Chapter goals Describe the distinguishing characteristics of primary and secondary storage Describe the.

Optical storage

Optical storage devices store bit values as variations in light reflection.

Storage medium is a surface of highly reflective material.

The read mechanism consists of a low-power laser and a photoelectric cell.

Page 47: Chapter 5 Data Storage Technology 2005 IS112. Chapter goals Describe the distinguishing characteristics of primary and secondary storage Describe the.

Storing binary information

Page 48: Chapter 5 Data Storage Technology 2005 IS112. Chapter goals Describe the distinguishing characteristics of primary and secondary storage Describe the.

Examples of optical devices

Page 49: Chapter 5 Data Storage Technology 2005 IS112. Chapter goals Describe the distinguishing characteristics of primary and secondary storage Describe the.

Chapter summary

A typical computer system has primary and secondary storage devices

The critical performance characteristics of primary storage devices are their access speed and the number of bits that can be accessed in a single read or write operation

Page 50: Chapter 5 Data Storage Technology 2005 IS112. Chapter goals Describe the distinguishing characteristics of primary and secondary storage Describe the.

Summary cont.

Programs generally are created as through they occupied contiguous primary storage locations starting at the first location

Magnetic storage storage devices store data bits as magnetic charges

Optical discs store data bits as variations in light reflection