2.3 Hardware Components
2.3.6 RAM & cache/COAST memory
Random Access Memory
Random Access Memory (RAM) is considered temporary, or volatile memory. The contents of RAM are lost when the computer power is turned off. RAM chips on the computer hold the data and programs that the microprocessor is processing. In other words, RAM is memory that stores frequently used data for rapid retrieval by the processor. The more RAM a computer has, the more capacity the computer has to hold and process large programs and files. The amount and type of memory in the system can make a big difference in the system performance. Some programs have more memory requirements than others. Typically a computer running Windows 95, 98, or ME would have 64 MB installed. It is common to find systems with 128 MB or 256 MB of RAM, especially if they are running newer operating systems such as Windows 2000 or other network operating systems.

There are two classes of RAM that are commonly used today. These are Static RAM (SRAM) and Dynamic RAM (DRAM).

  • SRAM is relatively more expensive, but it is fast. It will maintain data only as long as voltage is available. SRAM is used for cache memory. 
  • DRAM is inexpensive and somewhat slow, but very dense for the size. DRAM stores data in tiny capacitors that must be refreshed to maintain the data. Once the power is turned off, the data is lost.

RAM can be installed on the motherboard, either as a permanent fixture, or in the form of small chips, referred to as Dual Inline Package (DIPs). RAM is usually on small plug-in boards such as Single Inline Memory Modules (SIMMs) or Dual Inline Memory Modules (DIMMs). SIMMs and DIMMs are removable cards that can be replaced with larger or smaller increments of memory. Although having more memory installed on the computer is a good thing, most system boards have limitations on the amount and type of RAM that can be added or supported. Some systems may require that only SIMMs be used, while others may require that SIMMs be installed in matched sets of two or four modules at a time. Additionally, some systems use only RAM with parity (built-in error checking) while others use non-parity RAM (having no error checking capability).

Tips: Sometimes it is necessary to adjust the system BIOS (CMOS), to enable the use of RAM with parity or non-parity RAM depending on the type of motherboard. The relevant information is found in the manual.

Identifying SIMMs and DIMMs
A SIMM plugs into the motherboard with a 72-pin or 30-pin connector. The pins connect to the system bus, creating an electronic path through which memory data can flow to and from other system components. Two 72-pin SIMMs can be installed in a computer that supports 64-bit data flow. With a SIMM board, the pins on opposite sides of the module board are connected to each other forming a single row of contacts.

A DIMM plugs into the system's memory bank using a 168-pin connector. The pins establish a connection with the system bus, creating an electronic path through which data can flow between the memory chip and other system components. A single 168-pin DIMM supports 64-bit (non-parity) and 72-bit (parity) data flow. This configuration is now being used in the latest generation of 64-bit systems. Recall that parity refers to error checking capability built into the RAM chip to ensure data integrity. An important feature is that the pins on a DIMM board are not connected side to side (as with SIMMs) forming two sets of contacts.

Note: SIMMs are available in 30-pin and 72-pin versions, while DIMMs take the form of larger, 168-pin circuit boards.

With most technologies, newer or more specialized forms of RAM are put out into the market all the time. Here are some examples that are of particular interest:

  • Video RAM (VRAM) and Windows RAM (WRAM) are currently the best kinds of memory for video. Both VRAM and WRAM are optimized for video cards and are designed to be dual-ported. This means that the chipset processor and RAMDAC chip can access the memory at the same time. Simultaneous access greatly increases video throughput. The newest types of video cards also support the newest system RAM types, such as Synchronous DRAM (SDRAM). 
  • RAMDAC (random access memory Digital to Analog Converter) is another specialized form of memory designed to convert digitally encoded images into analog signals for display. It is made of a SRAM component (for storing the color map) and three DACs, one each for the RGB (Red, Green, Blue) electron guns.

Most other types of RAM such as EDO RAM and FPM RAM are too slow for today's computing standards and are no longer used in new computers. Table gives a summary of useful information on different types of RAM.

Cache Memory
Cache is a specialized form of computer chip that is designed to enhance memory performance. Cache memory stores frequently used information and transfers it to the processor much faster than RAM. Most computers have two separate memory cache levels:

  • L1 cache is located on the CPU 
  • L2 cache is located between the CPU and DRAM

L1 cache is faster than L2 because it is located within the CPU and runs at same speed as the CPU. It is the first place the CPU looks for its data. If data is not found in L1 cache, the search will then continue with L2 cache, and then on to main memory (or DIMM).

L1 and L2 cache is made of SRAM chips. However, some systems use the COAST modules. COAST modules are used to provide cache memory on many Pentium-based systems. A COAST module essentially resembles a SIMM, except that it is taller and has a different connector. Additionally, it is noted for its reliability and speed because it uses the so-called pipeline-burst cache, which is significantly faster than SRAM cache. Some systems offer both SRAM sockets and a COAST module socket.

Lab Activity  (PDF, 14 KB)
  In this lab, students will focus on the identification of various types of RAM and RAM sockets.
   
Worksheet  (PDF, 6 KB)
  RAM and RAM Sockets