Dynamic Random-access Memory - Error Detection and Correction

Error Detection and Correction

Electrical or magnetic interference inside a computer system can cause a single bit of DRAM to spontaneously flip to the opposite state. The majority of one-off ("soft") errors in DRAM chips occur as a result of background radiation, chiefly neutrons from cosmic ray secondaries, which may change the contents of one or more memory cells or interfere with the circuitry used to read/write them. Recent studies show that single event upsets due to cosmic radiation have been dropping dramatically with process geometry and previous concerns over increasing bit cell error rates are unfounded.

This problem can be mitigated by using redundant memory bits and memory controllers that exploit these bits, usually implemented within DRAM modules. These extra bits are used to record parity and to enable missing data to be reconstructed by error-correcting code (ECC). Parity allows the detection of all single-bit errors (actually, any odd number of wrong bits). The most common error-correcting code, a SECDED Hamming code, allows a single-bit error to be corrected and, in the usual configuration, with an extra parity bit, double-bit errors to be detected.

An ECC-capable memory controller as used in many modern PCs can typically detect and correct errors of a single bit per 64-bit "word" (the unit of bus transfer), and detect (but not correct) errors of two bits per 64-bit word. Some systems also 'scrub' the errors, by writing the corrected version back to memory. The BIOS in some computers, and operating systems such as Linux, allow counting of detected and corrected memory errors; this allows identification and replacement of failing memory modules.

Recent tests give widely varying error rates with over 7 orders of magnitude difference, ranging from 10−10−10−17 error/bit·h, roughly one bit error, per hour, per gigabyte of memory to one bit error, per century, per gigabyte of memory.

Read more about this topic:  Dynamic Random-access Memory

Famous quotes containing the words error and/or correction:

    In religion,
    What damned error but some sober brow
    Will bless it, and approve it with a text,
    Hiding the grossness with fair ornament?
    William Shakespeare (1564–1616)

    There are always those who are willing to surrender local self-government and turn over their affairs to some national authority in exchange for a payment of money out of the Federal Treasury. Whenever they find some abuse needs correction in their neighborhood, instead of applying the remedy themselves they seek to have a tribunal sent on from Washington to discharge their duties for them, regardless of the fact that in accepting such supervision they are bartering away their freedom.
    Calvin Coolidge (1872–1933)