DRAM

What does an error-correcting code (ECC) used in memory do?

  1. ACompresses data to increase capacity
  2. BAdds redundant bits to data to detect and correct bit errors
  3. CEncrypts data
Show answer and explanation

Answer: B. Adds redundant bits to data to detect and correct bit errors

ECC adds check bits to data so errors can be detected and corrected on readout. Up to DDR4, server memory typically adds 8 bits to every 64, enabling single-error correction and double-error detection (SECDED); DDR5 modules add 8 bits (4 bits in some configurations) to each 32-bit subchannel. High-reliability servers go further with schemes such as Chipkill, which survives the failure of an entire chip. DDR5 also builds ECC into each DRAM die.