Copyright © 2008 Heathkit Company, Inc. All Rights Reserved PC Fundamentals Presentation 24 – Computer Memory.

Slides:



Advertisements
Similar presentations
Chapter 5 Internal Memory
Advertisements

Computer Organization and Architecture
CP1610: Introduction to Computer Components Primary Memory.
LOGO.  Concept:  Is read-only memory.  Do not lose data when power is lost.  ROM memory is used to produce chips with integrated.
D75P 34 – HNC Computer Architecture Week 10 Computer Memory. © C Nyssen/Aberdeen College 2003 All images © C Nyssen/Aberdeen College except where stated.
Memory Chapter 3. Slide 2 of 14Chapter 1 Objectives  Explain the types of memory  Explain the types of RAM  Explain the working of the RAM  List the.
Memory RAM and CACHE. RAM Stands for Random Access Memory Stands for Random Access Memory It is volatile in nature It is volatile in nature Loses its.
Chapter 4 Computer Memory
IT Systems Memory EN230-1 Justin Champion C208 –
Memory. When we receive some instruction or information we retain them in our memory. Similarly a computer stores the instructions for solving a problem,
F1020/F1031 COMPUTER HARDWARE MEMORY. Read-only Memory (ROM) Basic instructions for booting the computer and loading the operating system are stored in.
* Definition of -RAM (random access memory) :- -RAM is the place in a computer where the operating system, application programs & data in current use.
RAM (random access memory)
PC Maintenance: Preparing for A+ Certification
CH05 Internal Memory Computer Memory System Overview Semiconductor Main Memory Cache Memory Pentium II and PowerPC Cache Organizations Advanced DRAM Organization.
CSIT 301 (Blum)1 Memory. CSIT 301 (Blum)2 Types of DRAM Asynchronous –The processor timing and the memory timing (refreshing schedule) were independent.
Memory. Random Access Memory Defined What is memory? operating system and other system software that control the usage of the computer equipment application.
Computer Architecture Part III-A: Memory. A Quote on Memory “With 1 MB RAM, we had a memory capacity which will NEVER be fully utilized” - Bill Gates.
Memory Main memory consists of a number of storage locations, each of which is identified by a unique address The ability of the CPU to identify each location.
Computers: Information Technology in Perspective By Long and Long Copyright 2002 Prentice Hall, Inc. Computers: Information Technology in Perspective.
Random access memory.
A+ Guide to Managing and Maintaining Your PC Fifth Edition Chapter 6 Managing Memory.
Copyright © 2007 Heathkit Company, Inc. All Rights Reserved PC Fundamentals Presentation 24 – Computer Memory— Part 1.
Memory  Main memory consists of a number of storage locations, each of which is identified by a unique address  The ability of the CPU to identify each.
9/26: Memory ROM vs. RAM ROM –BIOS RAM –changeable –different kinds & uses inc. VRAM, SRAM –how it works image courtesy of How Computers Work CD.
© Banff and Buchan College 2007 DH2T 34 Computer Architecture 1 LO2 Lesson One Memory.
Chapter 5 Internal Memory. Semiconductor Memory Types.
A+ Guide to Managing and Maintaining your PC, 6e Chapter 7 Upgrading Memory (v0.1)
+ CS 325: CS Hardware and Software Organization and Architecture Memory Organization.
Memory Chapter 6. Objectives After completing this chapter you will be able to Differentiate between different memory technologies Plan for a memory installation.
Chapter 4: MEMORY Internal Memory.
It is the work space for the CPU Temporary storage for data/programs the CPU is working with. Started as a collection of IC’s on Motherboard. Two main.
Computer system & Architecture
A+ Guide to Hardware, 4e Chapter 6 Upgrading Memory.
A+ Guide to Managing and Maintaining your PC, 6e Chapter 7 Upgrading Memory.
1 HW3 Name some of the third-party CMOS save-and-restore utility programs ?
Memory Hierarchy Registers Cache Main Memory Fixed Disk (virtual memory) Tape Floppy Zip CD-ROM CD-RWR Cost/Bit Access/Speed Capacity.
Computer Architecture Lecture 24 Fasih ur Rehman.
A+ Guide to Managing and Maintaining your PC, 6e Chapter 7 Upgrading Memory.
Semiconductor Memory Types
COMP541 Memories II: DRAMs
Lesson 4 Motherboard Core Hardware Fundamentals Objectives Identify the component layout of a motherboard. Identify distinguishing characteristics of.
1 Memory Hierarchy (I). 2 Outline Random-Access Memory (RAM) Nonvolatile Memory Disk Storage Suggested Reading: 6.1.
What is it and why do we need it? Chris Ward CS147 10/16/2008.
Chapter 5 Internal Memory. contents  Semiconductor main memory - organisation - organisation - DRAM and SRAM - DRAM and SRAM - types of ROM - types of.
CS 1410 Intro to Computer Tecnology Computer Hardware1.
Lecture 2 (Memory) Dr. Muhammad Ayaz Computer Organization and Assembly Language. (CSC-210)
Computer Architecture Chapter (5): Internal Memory
Instructor: Syed Shuja Hussain Chapter 2: The System Unit.
Types of RAM (Random Access Memory) Information Technology.
Components of Computer. Memory Unit Most important part of the computer Used to store data and instructions that are currently in use Main memory consists.
William Stallings Computer Organization and Architecture 7th Edition
Random Access Memory (RAM)
Types of RAM (Random Access Memory)
William Stallings Computer Organization and Architecture 7th Edition
William Stallings Computer Organization and Architecture 8th Edition
שמות מאפיינים ומטרות של זיכרונות ROM - ו RAM
Computer Architecture
William Stallings Computer Organization and Architecture 7th Edition
William Stallings Computer Organization and Architecture 8th Edition
MEMORY pp , 34-38, in Computer Systems: Organization and Architecture (Carpinelli)
Chapter 4: MEMORY.
William Stallings Computer Organization and Architecture 8th Edition
Presentation transcript:

Copyright © 2008 Heathkit Company, Inc. All Rights Reserved PC Fundamentals Presentation 24 – Computer Memory

2 Objectives At the end of this presentation, you will be able to:

3 Compare and contrast the following types of memory: RAM, SRAM, DRAM, SDRAM, VRAM, ROM, PROM, EPROM, and EEPROM. Explain the difference between volatile and non- volatile memory. Explain the purpose of cache memory. Compare and contrast the following types of memory: SIMMs, DIMMS, DDR, and DDR2. Demonstrate the proper method to uninstall and reinstall a single-inline memory module (DIMM). Demonstrate the proper method to uninstall and reinstall a dual-inline memory module (DIMM).

4 Describe the characteristics of the following types of memory and server memory requirements: – Memory Interleaving – ECC – Hardware Compatibility List Define the following cache memories and explain how they work: – Processor cache – Disk cache Explain the precautions required when upgrading memory.

5 Define virtual memory. Define cache, cache hit, and cache miss. Explain how disk caching improves performance. Describe the Least Recently Used (LRU) cache algorithm, explain how it works, and list several applications in which it is most effective. Describe the Read Ahead cache algorithm, explain how it works, and list several applications in which it is most effective.

6 RAM… Random Access Memory Volatility Refresh Access Speed Packaging

7 Static RAM…SRAM No Refresh Fast More expensive

8 Dynamic RAM…DRAM Needs refreshed Fairly fast Inexpensive Small

9 DRAM “forgets” Each DRAM bit is made up of a transistor and a capacitor. Small capacitors lose their charge over time Capacitors must be recharged

10 Charge (volts) Time Full charge Minimum charge

11 Charge Refresh Time Refresh boosts the charge Circuit loses its charge slowly

12 EDO RAM Newer technology Faster than standard DRAM Slightly more expensive

13 Synchronous DRAM… SDRAM Runs at the same speed as the main system bus. Should be matched to the bus speed. Used in P2, P3, and some P4 systems

14 Programmable Read-Only Memory...PROM Non-Volatile Slow Difficult to Change Expensive

15 Erasable PROM… EPROM

16 Electrically-Erasable PROM… EEPROM

17 72-pin SIMM

18 DIMM

19 Double Data Rate (DDR) DIMM

20 DDR2 DIMM

21 Video RAM (VRAM) Windows RAM (WRAM) MDRAM SGRAM

22 Memory for Portables

23 Cache Memory

24 45º Centering Notch Centering Notch Notched End Notched End Rotate SIMM to about 45º

25 Push straight in Push straight in Press SIMM into socket

26 Rotate SIMM to the vertical position

27 Alignment pin Retaining clips

28 AMIBIOS System Configuration (C) , American Megatrends Inc., Main Processor : Pentium(P54C) Math Processor : Built-In Floppy Drive A: : 1.44 MB 3½” Floppy Drive B: : None AMIBIOS Date : 07/15/95 Processor Clock : 100MHz Power Management : Disabled Base Memory Size: 640KB Ext. Memory Size : 15360KB Display Type : VGA/EGA Serial Port(s) : 3F8,3E8 Parallel Port(s) : 378 External Cache : 256KB,Enabled Plug and Play ISA Devices: Analog Devices AD1816 Pci Devices: PCI Onboard IDE PCI Slot 2 VGA: IRQ 11 Bank 0: EDO Bank 1: FP Bank 0: EDO Bank 1: FP Base Memory Size : 640KB Ext. Memory Size : 15360KB

29 Installing DIMMs Notch

30 DIMM Latch

31

32 Removing the DIMM

33 USB Flash Memory

34 DRAM vs. SRAM... DRAM must be continually refreshed or it loses its memory. DRAM is slow but inexpensive. SRAM is fast, does not require refreshing, and holds its memory until power is removed. SRAM is expensive.

35 Interleaving Refreshing can be made more efficient by a memory design technique called Interleaving. With Interleaving, memory is organized in banks. While a memory address in one bank is being refreshed, data is being retrieved from a memory address in another bank. One stage gets the data from an address in a bank while at the same time the other stage refreshes an address in another bank.

36 Memory Organization Row 1 Row 2 Row 3 Row 4 Row 5 Row 6 Column

37 Fast Page Mode (FPM) DRAM Memory is arranged into pages of from 512 to several kilobytes each. All data on the page can then be accessed without relocating the page. As long as the next piece of data needed is on the selected page, it can be accessed directly without going through the hassle of relocating the page.

38 EDO (Extended Data Out) RAM With EDO memory, the processor takes the same time to make the first data access as it would with DRAM. But once the EDO RAM finds that first piece of data, it can send nearby bytes to the processor very quickly.

39 Synchronous DRAM Synchronous means that the DRAM and processor use the same clock. When the processor needs data, SDRAM can have it ready. SDRAM may also use pipelines. One stage fetches the next memory address while another stage outputs data. continued...

40 Synchronous DRAM (continued)... SDRAM has a burst counter that increments column addresses and speeds up burst accesses when next data is in the same row. SDRAM goes to the memory address the processor wants and sends that data to the processor. It then continues “shooting” data from the memory locations after that to the processor until the processor says to quit.

41 Synchronous DRAM (continued)... Operates at speeds of 100 MHz and 133 MHZ. Operates at the full width of the processors data bus. That is 64-bits (or 8 bytes) in the case of the Pentium. Overall throughput is: – 8 bytes times 100MHz = 800 MB/sec – 8 bytes times 133MHz = 1 GB/sec – 8 bytes times 266MHz = 2 GB/sec – 8 bytes times 532MHz = 4 GB/sec – 8 bytes times 1066MHz = 8.5 GB/sec

42 Rambus DRAM (RDRAM) Radically different memory design. It transfers only 16 bits (2 bytes) at a time, but at a much higher speeds, typically 800MHz. Throughput: –2 bytes times 800MHz = 1.6 GB/sec

43 Error Correction Code (ECC) Corrects single bit errors. Detects, but cannot correct, 2-bit, 3-bit, and 4- bit errors. Appends 8 additional bits on to every 64-bit double word in main memory. The additional ECC bits are automatically generated and stored along with the original 64 bits.

44 Error Correction Code (ECC) Later when the information is read back, the ECC bits are checked to make certain the information is still correct. Memory with ECC protection is more expensive. There is a slight speed penalty since some time is required to compute and then check the extra bits.

45 CPU Registers L1 Cache L2 Cache System Memory Virtual Memory (Disk) Network Virtual Memory SpeedSize 0.5ns<1kB 0.5ns 1ns 50ns 10 millisecs 100 millisecs 32kB 2MB 1GB 1TB Multiple Terabyte

46 Virtual Memory Allows the Operating System (OS) to use disk space as if it were an extension of RAM. Data can be swapped in and out of RAM from the disk. It allows the maximum size of programs and data to be limited only by the combined size of both physical memory and available disk space.

47 Caching – The technique of storing frequently-used or soon- to-be-needed data in high-speed memory so that it can be accessed more quickly.

48 Types of Caches High-speed memory caches that operate faster than normal system memory. Disk caches using solid state memory that operates faster than disk drives. Internet caches using disk drives that operate faster than Internet delivery.

49 Processor Cache Level 1 or L1 cache – A small high speed memory cache that is built into the CPU core itself. Level 2 or L2 cache – A high speed memory cache that is located outside the CPU core, but usually inside the same package as the CPU core. Typically, it is located as close as possible to the CPU. It is larger but slower than the L1 cache.

50 Core L2 Cache L1 Cache The CPU Die

51 Disk Caching Speeds I/O transfers between the CPU and the disks. Uses solid state memory and a cache controller.

52 Disk Cache System Cache Controller Disk Drives Cache Memory I/O

53 Cache Hits and Misses Hit - An I/O operation that retrieves data from the cache. Hits save time. Miss - An I/O operation that fails to retrieve data from the cache. Misses waste time.

54 Disk Caching Algorithms Read Algorithms Write Algorithms

55 Read Algorithms Least Recently Used (LRU) cache – Discards data from the cache if that data has not been used recently. Read-ahead cache – Loads the cache with the data immediately following the data that was just read.

56 Least Recently Used (LRU) Cache Assumes that data that has not been used for a while probably won’t be needed in the near future. Assumes that data that has been used recently will be used again.

57 Applications benefiting from LRU Cache Multi-user Database Applications Transaction Systems ERP Systems

58 Read-ahead Cache Assumes that the next data that will be needed is that immediately following the data that was just read.

59 Applications benefiting from a Read-ahead cache Audio Video Graphics Multimedia File serving

60 Cache Controller Disk Drive: Slow Non-volatile Cache Memory: Fast Volatile I/O

61 Upgrading Computer Memory Verify hardware support for capacity increase. Verify Operating System (OS) support for capacity increase.

62 Upgrading Computer Memory (Continued) Verify that memory is on the hardware vendor’s hardware compatibility list. Verify that memory is on the OS vendor’s hardware compatibility list.

63 Upgrading Computer Memory (Continued) Verify memory compatibility – Speed – Brand – Type

64 Upgrading Computer Memory (Continued) When performing the upgrade use ESD best practices. Verify that server and OS recognize the added memory

Copyright © 2008 Heathkit Company, Inc. All Rights Reserved PC Fundamentals End