Chipkill is IBM's trademark for a form of advanced error checking and correcting (ECC) computer memory technology that protects memory systems from single memory chip failures and multi-bit errors from any portion of a single memory chip.
Overview
Chipkill technology was developed by the IBM Corporation in the early and mid-1990s. Although "Chipkill" remains a valid trademark, "chipkill correct" has become the standard term for equivalent scattering schemes. It is an important RAS (Reliability, Availability, and Serviceability) feature deployed primarily on SSDs, mainframes, and midrange servers.
How It Works
One simple scheme to perform this function scatters the bits of an ECC word across multiple memory chips, such that the failure of any single memory (SDRAM) chip will affect only one ECC bit per word. If using the typical 72-bit SECDED (single-error correct, double-error detect) Hamming code to approach the problem, the goal is to scatter each bit onto its own memory chip. This is achievable with four ranks of standard x4 ECC DIMM, as each rank has 18 chips.
Chipkill uses BCH (Bose, Ray-Chaudhuri, Hocquenghem) code with sixteen ECC bits for every 128 bits of data. It can detect all single-symbol and double-symbol errors, but correct only single-symbol errors. By calculating syndromes through threshold decoding, it mathematically restores the entire lost contribution of the failed chip, perceiving it as a single symbol erasure module. The technology corrects up to four adjacent bit errors in an x4 organization without any loss of computational performance.
Dynamic Bit-Steering
Chipkill is frequently combined with dynamic bit-steering, so that if a chip fails (or has exceeded a threshold of bit errors), another, spare, memory chip is used to replace the failed chip. The concept is similar to that of RAID, which protects against disk failure, except that the concept is applied to individual memory chips.
Equivalent and Derived Systems
- Sun Microsystems: Extended ECC
- HP: Advanced ECC and Chipspare
- Intel: Single-device data correction (S4EC-D4ED or S8EC-D8ED, where the number indicates the width of a single DRAM chip) and Lockstep memory, which provides double-device data correction (DDDC) functionality across two memory modules.
- Micron: Redundant array of independent NAND (RAIN), for SSDs
- SandForce: RAISE level 2, for SSDs
Effectiveness
A 2009 study using data from Google's data centers found that DRAM errors were recurrent at the same location, with 8% of DIMMs affected each year. In more than 85% of cases, a correctable error was followed by at least one more correctable error in the same month. DIMMs with Chipkill error correction showed a lower fraction of DIMMs reporting uncorrectable errors compared to DIMMs with error-correcting codes that can only correct single-bit errors. A 2010 paper from the University of Rochester also demonstrated that Chipkill memory resulted in substantially fewer memory errors, using both real-world memory traces and simulations.
See Also
- ECC memory
- Lockstep memory
- Memory ProteXion
- Redundant array of independent memory
- Single-error correction and double-error detection (SECDED)