PC Hardware

Memory Controllers

All computers have some form of memory controller, which handles the movement of data to and from the CPU and the system memory banks. The memory controller is also responsible for the integrity of the data as it is swapped in and out. There are two primary methods of ensuring that the data received is the same as the data sent: parity and error-correction coding (ECC).

Parity

Parity is a method of ensuring data integrity that adds an extra bit (the parity bit) along with each 8-bit bus cycle. There are two kinds of parity: even and odd. Both use a three-step process to validate a bus transaction; however, they do it in opposite ways.

  • In step one, both methods set the value of the parity bit based on the even or odd number that represents the sum of the data bits as the first step.

  • In step two, the string goes into DRAM.

  • And in step three, the parity circuit checks the math. If the parity bit matches the parity bit of the number that represents the sum of the binary string sent, the data is passed on. If it fails the test, an error is reported.

ECC

A more robust technology, ECC can detect errors beyond the limits of the simpler parity method. It adds extra information about the bits, which is then evaluated to determine if there are problems with individual bits in the data string.

Access Speed

Access speed, denoted in nanoseconds (ns), is the amount of time it takes for the RAM to provide requested data to the memory controller. Here, smaller is better. Be sure to buy RAM that is at least as fast as that listed as standard for the computer in question.

A typical total response time for a 70-ns DRAM chip is between 90 and 120 ns. This includes the time required to access the address bus and data bus. Most 486- and Pentium-based machines use either 70-ns or 60-ns DRAM chips, although 50-ns chips are now available. The access speed of a chip is usually printed on the chip (often as part of the identification number).

Here are a few important things to remember about access speed when adding memory:

  • Any add-on memory should be the same speed or faster (lower number) as any existing memory.

  • You cannot mix memory modules with different speeds in the same bank.

  • You should check the motherboard specifications for the recommended memory chip speed.