3.6.2 Memory Facts

This lesson covers memory characteristics.

Memory Characteristics

The best way to ensure that you get the correct RAM for a system is to consult the motherboard documentation. In addition, there are several websites on the internet where you can look up the system or scan the system to find the correct memory type to install. When selecting RAM, consider the following factors:

Characteristic

Description

Packaging (memory form)

When you are purchasing RAM for a system, the most important consideration is the packaging, also called memory form. Keep in mind:

  • Packaging and capacity must be supported by the motherboard.

  • The packaging controls both the physical size of the memory module and the memory standard (e.g., DDR2, DDR3, DDR4).

  • If you purchase the wrong type of RAM:

    • It will most likely not fit.

    • If does fit, it might have different voltage requirements than what is supported by the motherboard.

Capacity

The capacity (sometimes called the size) refers to the storage capacity of the memory module (e.g., 256 MB, 512 MB, 1 GB). The total capacity of memory that you can install in a system is limited by:

  • The number of memory slots on the motherboard.

  • The maximum total capacity that can be installed. For example, most systems will have a maximum capacity of between 3 GB and 16 GB of RAM.

  • The maximum module capacity. For example, the motherboard might be able to accept only up to 2 GB or 4 GB modules.

  • The maximum amount of memory that can be addressed (used) by the operating system. A 32-bit operating system can use between 3 GB and 4 GB of memory, while a 64-bit operating system can use much more.

    You can install more than 4 GB of memory in a system that uses a 32-bit operating system; however, the operating system can use only between 3 GB and 4 GB of that memory.

For example,

  • A motherboard has a total of three slots, with a maximum module size of 8 GB and a system maximum of 24 GB.

  • You have two 4 GB modules installed.

  • You can add only a single 8 GB module.

  • That brings the total up to 16 GB.

  • You could also replace one or both of the 4 GB modules, bringing the total to 20 or 24 GB respectively.

Frequency

For optimal performance, you should match the memory frequency (sometimes called the speed) with the frequency supported by the system bus/memory controller.

  • You can install slower memory in the motherboard, but this will degrade performance.

  • You can install faster memory in the motherboard, but it will operate only up to the maximum supported by the motherboard.

  • When you mix memory with different frequencies, all memory will operate at the lowest frequency.

  • Most memory modules include an EEPROM chip that identifies its frequency. The BIOS uses the information in this chip to set the frequency automatically.

  • On many systems, you can edit the BIOS manually to change the frequency.

  • If the BIOS does not configure memory to run at its highest rated speed, then do the following:

    • Verify that the motherboard supports that speed. You might be able to update the BIOS to support faster memory.

    • The serial presence detect (SPD) on the memory is often set below the maximum rating for the memory. To use the maximum speed settings, you can manually configure the speed and timing settings for the memory (if the motherboard allows you to do this).

Column address strobe or signal (CAS) latency

Another factor that affects the performance of memory is the latency associated with accessing data in RAM.

  • With a read request, the CAS latency (CL) is a delay between the time the data is requested and the time that the data is available on the module's output pins.

  • Older memory expressed the delay in nanoseconds, but DRAM uses a ratio based on the clock frequency to describe the delay.

  • For memory modules of the same type and frequency, a lower CAS number indicates less delay (i.e., faster RAM).

  • Because CL is related to the frequency, you cannot directly compare the CL between modules with different frequencies. For example, a DDR2 module operating at 533 MHz with a CL of six has more delay than a DDR3 module at 667 MHz with a CL of seven.

  • In addition to CL, memory timings collectively refers to other memory characteristics that describe the delay for performing other types of operations.

  • For stable operations, the bus takes into account these latencies to keep the bus and the memory synchronized.

  • Manufacturers test memory modules and rate them based on the operating frequency and the timing characteristics.

    • Settings that produce stable performance are encoded into the SPD module on the memory.

    • The BIOS reads this information to know how to configure memory settings on the motherboard.

  • For many systems, you can manually modify the memory timings and frequency.

    • Running RAM at a lower clock speed enables you to decrease the CAS latency setting.

    • Increasing the frequency must usually be compensated for by increasing the CL (and other) settings.

Error correcting code

Error correcting code (ECC) memory is a type of memory that detects and corrects the common kinds of internal data corruption.

  • ECC memory is also called parity memory.

  • With ECC, a value is appended to the end of each byte so that the value of the data can be compared and recalculated if an error occurs.

  • ECC is an improvement on parity techniques because errors in more than one bit can be detected and corrected.

Keep in mind the following facts about error correcting memory:

  • Memory modules with ECC have extra memory chips on the module (typically 9 modules instead of 8). If the number of chips is divisible by 3 or 5, the module is ECC memory.

  • ECC or parity memory must be supported by the motherboard.

  • Because it is more expensive than non-ECC, ECC memory is typically used only in servers.

  • ECC memory is slower than non-ECC memory.

  • Do not mix ECC and non-ECC memory in a system. Mixing ECC and non-ECC memory disables the error correction function.

You might hear the terms parity and ECC used interchangeably. However, parity RAM checks only for errors; ECC RAM checks and corrects errors.

Parity RAM

Parity memory is a type of memory that checks for common kinds of internal data corruption. It does not correct internal data corruption. Non-parity memory does not perform error checking.

Parity RAM is no longer used. Today, PC systems use ECC for error detection and correction.

Buffered (registered)

Buffered RAM holds memory addresses or data in a buffer before it is transferred to the memory controller.

  • Buffered RAM improves stability on systems with a lot of RAM (over 1 GB).

  • Buffered RAM might slow system performance.

  • ECC modules are typically buffered.

  • Buffered RAM must be supported by the motherboard.

  • Some motherboards require buffered memory.

Unbuffered memory does not have a buffer to hold memory addresses or data before it is transferred to the memory controller. Common workstations and laptops use unbuffered memory. Servers and high-end workstations use buffered memory.

Single-sided/
double-sided RAM

Single-sided RAM has memory modules that are organized into a single logical bank; double-sided RAM has modules organized into two banks.

  • The computer can access data in only one bank at a time. Therefore, single-sided RAM allows access to all the memory; double-sided RAM requires the computer to switch between banks.

  • Originally, double-sided RAM had modules on both sides of the circuit board, and single-sided RAM had modules on only one side. However, you can also have double-sided RAM with modules on only one side. The memory is divided into separate banks internally.

  • Single-sided memory of the same capacity as double-sided memory uses half the number of memory modules. The modules are denser, with a higher individual capacity.

  • Most motherboards support both single-sided and double-sided memory. However, verify compatibility before purchasing.

  • The use of single-sided and double-sided RAM varies among motherboards. You might find older motherboards:

    • Are unable to use double-sided memory.

    • Allow double-sided memory but can use only up to half the total memory when all memory slots are filled.

    • Do not allow mixing single-sided and double-sided together.