51
Memory systems Unit objectives Describe the function of memory and differentiate between different types of memory chips Differentiate between different memory packages Install RAM Monitor memory usage Test memory and troubleshoot memory problems

Memory systems Unit objectives Describe the function of memory and differentiate between different types of memory chips Differentiate between different

Embed Size (px)

Citation preview

Page 1: Memory systems Unit objectives Describe the function of memory and differentiate between different types of memory chips Differentiate between different

Memory systems

Unit objectives Describe the function of memory and

differentiate between different types of memory chips

Differentiate between different memory packages

Install RAM Monitor memory usage Test memory and troubleshoot

memory problems

Page 2: Memory systems Unit objectives Describe the function of memory and differentiate between different types of memory chips Differentiate between different

Topic A

Topic A: Memory Topic B: Memory packaging Topic C: Memory installation Topic D: Memory monitoring Topic E: Memory troubleshooting

Page 3: Memory systems Unit objectives Describe the function of memory and differentiate between different types of memory chips Differentiate between different

Memory

RAM: random access memory Working area for data during

processing Need sufficient RAM for

– Performance– Software support

Quality of RAM is important

Page 4: Memory systems Unit objectives Describe the function of memory and differentiate between different types of memory chips Differentiate between different

Measuring memory

Cells– Store a single bit of data– 0 or 1– Represents on/off or yes/no

Measurement units – Bit– Nibble = 4 bits– Byte = 8 bits– Word = based on CPU

32-bit processor: 32-bit word 64-bit processor: 64-bit word

Page 5: Memory systems Unit objectives Describe the function of memory and differentiate between different types of memory chips Differentiate between different

Larger memory units Byte (B) = 8 bits Kilobyte (KB) = 1024 bytes Megabyte (MB) = 1024 KB = 1,048,576 bytes Gigabyte (GB) = 1024 MB = 1,073,741,824 bytes Terabyte (TB) = 1024 GB = 1,099,511,627,776

bytes

Page 6: Memory systems Unit objectives Describe the function of memory and differentiate between different types of memory chips Differentiate between different

Memory types

Classify memory as:– Volatile vs. non-volatile– Static vs. dynamic– Asynchronous vs. synchronous

Page 7: Memory systems Unit objectives Describe the function of memory and differentiate between different types of memory chips Differentiate between different

Volatile vs. non-volatile memory

Volatile: Loses contents without power Non-volatile: Keeps contents without power

RAM Volatile Random access memory

CMOS Volatile Complementary metal oxide semiconductor

ROM Non-volatile Read-only memory

PROM Non-volatile Programmable read-only memory

EPROM Non-volatile Erasable programmable read-only memory

EEPROM Non-volatile Electronically erasable programmable read-only memory

Flash Non-volatile

Page 8: Memory systems Unit objectives Describe the function of memory and differentiate between different types of memory chips Differentiate between different

Dynamic vs. static memory

Dynamic (DRAM)– Must be continually refreshed– Inexpensive– Small

Static (SRAM)– Refreshing not required– More expensive– Larger– Faster

Typical uses– Main system memory: DRAM– Cache memory and CMOS: SRAM

Page 9: Memory systems Unit objectives Describe the function of memory and differentiate between different types of memory chips Differentiate between different

Asynchronous vs. synchronous

Asynchronous– Not synchronized to system clock– Consistent time to access and read data

Synchronous– Synchronized to system clock– Accesses data and returns in one or

more clock cycles

SDRAM faster than ADRAM

Page 10: Memory systems Unit objectives Describe the function of memory and differentiate between different types of memory chips Differentiate between different

Memory access typesDRAM Dynamic RAM Older technology

FPM Fast Page Mode Improved over DRAM

VRAM Video RAM Dual port, optimized for video

EDO Extended Data Out Improved over FPM

BEDO Burst Extended Data Out Adds pipelining to EDO

ADRAM Asynchronous DRAM Not synchronized to the system clock

SDRAM Synchronous DRAM Interleaving permits overlapped requests

DRDRAM Direct Rambus DRAM 16-bit memory bus and two transfers per clock cycle

continued

Page 11: Memory systems Unit objectives Describe the function of memory and differentiate between different types of memory chips Differentiate between different

Memory access types, continuedDDR Double Data Rate Double transfer rate of SDRAM

with two transfers per clock cycle

DDR2 Double Data Rate 2 64 bits per transfer to double DDR performance

DDR3 Double Data Rate 3 Transfers data at a rate of 800–1600 MHz

Page 12: Memory systems Unit objectives Describe the function of memory and differentiate between different types of memory chips Differentiate between different

Access time

Latency Memory speed

– Nanoseconds vs. megahertz

Overall speed– Doesn’t include latency– Doesn’t consider bus speed

Bandwidth

Page 13: Memory systems Unit objectives Describe the function of memory and differentiate between different types of memory chips Differentiate between different

Speed ratingsMemory type Technology Bandwidth I/O bus clock speed Memory clock speed

PC100 SDRAM 0.8 GB/sec. 100 MHz 100 MHz

PC133 SDRAM 1 GB/sec. 133 MHz 133 MHz

PC1600 DDR-200 1.6 GB/sec. 100 MHz 100 MHz

PC2100 DDR-266 2.1 GB/sec. 133 MHz 133 MHz

PC2700 DDR-333 2.7 GB/sec. 166 MHz 166 MHz

PC3200 DDR-400 3.2 GB/sec. 200 MHz 200 MHz

PC2-3200 DDR2-400 3.2 GB/sec. 200 MHz 100 MHz

PC2-4200 DDR2-533 4.2 GB/sec. 266 MHz 133 MHz

PC2-5300 DDR2-667 5.3 GB/sec. 333 MHz 166 MHz

PC2-6400 DDR2-800 6.4 GB/sec. 400 MHz 200 MHz

PC2-8500 DDR2-1066 8.5 GB/sec. 533 MHz 266 MHz

PC3-6400 DDR3-800 6.4 GB/sec. 400 MHz 100 MHz

PC3-8500 DDR3-1066 8.5 GB/sec. 533 MHz 133 MHz

PC3-10600 DDR3-1333 10.6 GB/sec. 667 MHz 166 MHz

PC3-12800 DDR3-1600 12.8 GB/sec. 800 MHz 200 MHz

Page 14: Memory systems Unit objectives Describe the function of memory and differentiate between different types of memory chips Differentiate between different

Activity A-1

Identifying memory characteristics

Page 15: Memory systems Unit objectives Describe the function of memory and differentiate between different types of memory chips Differentiate between different

Topic B

Topic A: Memory Topic B: Memory packaging Topic C: Memory installation Topic D: Memory monitoring Topic E: Memory troubleshooting

Page 16: Memory systems Unit objectives Describe the function of memory and differentiate between different types of memory chips Differentiate between different

Packaging Early PCs used individual chips No more than 1 MB of memory

continued

Page 17: Memory systems Unit objectives Describe the function of memory and differentiate between different types of memory chips Differentiate between different

Packaging, continued

Package– Small circuit board– Also called a module– Installed in slot

Module contains– Memory chips– Connecting wires– Support chips– Pins or edge contacts

Page 18: Memory systems Unit objectives Describe the function of memory and differentiate between different types of memory chips Differentiate between different

Single- and double-sided modules

Early DRAM had chips on just one side

Double memory by placing chips on both sides

Double-sided modules have two rows of pins at bottom– Pins on front aren’t connected to pins on

back

Number of DRAM chips no longer corresponds to data being stored

Page 19: Memory systems Unit objectives Describe the function of memory and differentiate between different types of memory chips Differentiate between different

Package types: desktops

SIMM 30-pin SIMM 72-pin DIMM 100-pin DIMM 168-pin DIMM 184-pin DIMM 240-pin

– DDR2– DDR3

RIMM 184-pin

Page 20: Memory systems Unit objectives Describe the function of memory and differentiate between different types of memory chips Differentiate between different

Package types: laptops

MICRODIMM 144-pin SODIMM 144-pin SODIMM 200-pin

– DDR– DDR2

SODIMM 204-pin

Page 21: Memory systems Unit objectives Describe the function of memory and differentiate between different types of memory chips Differentiate between different

Memory error recovery

Parity — Detects an error ECC — Detects and corrects an error Desktop memory — No parity or ECC Server memory — Often includes

parity or ECC

Page 22: Memory systems Unit objectives Describe the function of memory and differentiate between different types of memory chips Differentiate between different

Parity

9 chips,supportsparity

8 chips,no parity

Page 23: Memory systems Unit objectives Describe the function of memory and differentiate between different types of memory chips Differentiate between different

Activity B-1

Comparing RAM packaging

Page 24: Memory systems Unit objectives Describe the function of memory and differentiate between different types of memory chips Differentiate between different

Topic C

Topic A: Memory Topic B: Memory packaging Topic C: Memory installation Topic D: Memory monitoring Topic E: Memory troubleshooting

Page 25: Memory systems Unit objectives Describe the function of memory and differentiate between different types of memory chips Differentiate between different

Memory installation considerations

Banking requirements Proper handling techniques Slot insertion techniques Safe storage BIOS configuration

Page 26: Memory systems Unit objectives Describe the function of memory and differentiate between different types of memory chips Differentiate between different

Banking requirements

Install memory in groups called banks Bank might include 1, 2, or 4 slots Must fill every slot in a bank Might have to use same type and

speed of memory in every slot Leave extra banks empty

– With DRDRAM, install continuity modules

Dual-channel architecture

Page 27: Memory systems Unit objectives Describe the function of memory and differentiate between different types of memory chips Differentiate between different

Proper handling

Unplug computer before opening it Ground yourself to computer’s chassis Move around as little as possible Lay module in static-safe packaging

atop the computer’s power supply to safely discharge potential differences

Always handle modules by their edges Never touch chips or contacts

Page 28: Memory systems Unit objectives Describe the function of memory and differentiate between different types of memory chips Differentiate between different

Inserting memory modules

1. Insert module at 45-degree angle

2. While pushing into slot, move module to fully vertical or horizontal position Clips should engage automatically

when module is fully seated

Page 29: Memory systems Unit objectives Describe the function of memory and differentiate between different types of memory chips Differentiate between different

Removing a module

1. Gently release the retaining clips at both ends of the module

2. Move the module to a 45-degree angle

3. Remove the module

Page 30: Memory systems Unit objectives Describe the function of memory and differentiate between different types of memory chips Differentiate between different

Storage

Store in:– Original packaging– Static-safe bag

Static-safe bag– Metal-coated plastic – Conductive – Transmits static charges slowly

Page 31: Memory systems Unit objectives Describe the function of memory and differentiate between different types of memory chips Differentiate between different

CMOS configuration

BIOS checks memory at boot Compares actual memory with CMOS

entry Follow prompt to update CMOS entry

Page 32: Memory systems Unit objectives Describe the function of memory and differentiate between different types of memory chips Differentiate between different

Activity C-1

Adding memory to a desktop computer

Page 33: Memory systems Unit objectives Describe the function of memory and differentiate between different types of memory chips Differentiate between different

Notebook memory

Location varies from notebook to notebook

Refer to documentation Shut down notebook, unplug cord, and

remove battery

Page 34: Memory systems Unit objectives Describe the function of memory and differentiate between different types of memory chips Differentiate between different

Shared video memory

Main system memory shared with video circuitry– No dedicated video memory

Reduces cost Users less power; generates less heat Not all RAM is available to OS and

applications Slower than dedicated video memory Add more system memory to increase

performance

Page 35: Memory systems Unit objectives Describe the function of memory and differentiate between different types of memory chips Differentiate between different

Activity C-2

Adding memory to a notebook computer

Page 36: Memory systems Unit objectives Describe the function of memory and differentiate between different types of memory chips Differentiate between different

Memory in handheld computers

Expandable memory, a feature of more expensive handhelds

Some use modules similar to those in notebooks

Others use memory cards similar to those in digital cameras

Consult the manual

Page 37: Memory systems Unit objectives Describe the function of memory and differentiate between different types of memory chips Differentiate between different

Activity C-3

Adding memory to a handheld computer

Page 38: Memory systems Unit objectives Describe the function of memory and differentiate between different types of memory chips Differentiate between different

Topic D

Topic A: Memory Topic B: Memory packaging Topic C: Memory installation Topic D: Memory monitoring Topic E: Memory troubleshooting

Page 39: Memory systems Unit objectives Describe the function of memory and differentiate between different types of memory chips Differentiate between different

Task Manager

Windows GUI utility Provides information on processes running Version available in all Windows OSs

– Windows 9x/Me Program List – Windows NT/2000/XP/Vista/7 Task Manager

Access:– Ctrl + Alt + Delete – Right-click empty space in the taskbar and

choose Task Manager – Ctrl + Shift + Esc

Page 40: Memory systems Unit objectives Describe the function of memory and differentiate between different types of memory chips Differentiate between different

Performance tab indicators

CPU Usage CPU Usage History Memory (7/Vista) PF Usage (XP/2000) Physical Memory Usage History

(7/Vista) Page File Usage History (XP/ 2000)

continued

Page 41: Memory systems Unit objectives Describe the function of memory and differentiate between different types of memory chips Differentiate between different

Performance tab indicators, continued

System (7/Vista) Totals (XP/2000) Physical Memory Commit Charge Kernel Memory Summary data

Page 42: Memory systems Unit objectives Describe the function of memory and differentiate between different types of memory chips Differentiate between different

The Performance tab

Page 43: Memory systems Unit objectives Describe the function of memory and differentiate between different types of memory chips Differentiate between different

Activity D-1

Monitoring memory usage

Page 44: Memory systems Unit objectives Describe the function of memory and differentiate between different types of memory chips Differentiate between different

Virtual memory

Page 45: Memory systems Unit objectives Describe the function of memory and differentiate between different types of memory chips Differentiate between different

Optimizing the page file

On boot partition by default Determined by amount of RAM Size automatically increases or

decreases for best performance Can manually override the settings Page file size:

– RAM × 1.5 – System’s peak commit value

Can move file to different hard disk

Page 46: Memory systems Unit objectives Describe the function of memory and differentiate between different types of memory chips Differentiate between different

Activity D-2

Changing the size of the Windows page file

Page 47: Memory systems Unit objectives Describe the function of memory and differentiate between different types of memory chips Differentiate between different

Topic E

Topic A: Memory Topic B: Memory packaging Topic C: Memory installation Topic D: Memory monitoring Topic E: Memory troubleshooting

Page 48: Memory systems Unit objectives Describe the function of memory and differentiate between different types of memory chips Differentiate between different

Memory testing

POST not sufficient Use testing utility

– Memtest86 — Free, open source– Microsoft Windows Memory

Diagnostic — Free, unsupported– DocMemory Diagnostic — Free,

unsupported

Boot from floppy or CD Full test suite can take many hours

Page 49: Memory systems Unit objectives Describe the function of memory and differentiate between different types of memory chips Differentiate between different

Memory-related problems

201 BIOS error code at boot time Parity error message Computer randomly freezes (locks up)

or crashes Wrong amount of memory reported by

the BIOS Windows reports General Protection

Fault, Page Fault, or Exception errors Random crashes, corrupted data,

strange application behavior

Page 50: Memory systems Unit objectives Describe the function of memory and differentiate between different types of memory chips Differentiate between different

Activity E-1

Troubleshooting memory

Page 51: Memory systems Unit objectives Describe the function of memory and differentiate between different types of memory chips Differentiate between different

Unit summary

Described the function of memory and differentiated between different types of memory chips

Differentiated between different memory packages

Installed RAM into a system while handling it properly and meeting your PC’s installation requirements

Monitored memory usage Identified and resolved memory

problems