ECC memory (error-correcting code)

ECC memory carries extra bits that let the server find and fix a flipped bit in memory, instead of silently using a wrong value.

In plain words

Memory cells can be upset by electrical noise, ageing or, rarely, cosmic rays, and a single flipped bit can change a number or crash a program. ECC memory stores a short check code alongside every word of data. On each read the memory controller recomputes the code, and a basic scheme, SECDED, corrects any single-bit error and detects a double-bit error. Server platforms add stronger chipkill-class schemes, such as HPE Advanced ECC, that can correct the failure of a whole memory chip. On DDR4 modules this takes 8 extra bits per 64 bits of data, which is why the modules are 72 bits wide.

Servers use ECC because they run for months, hold large amounts of memory and keep important data in it. The correction is silent and the server logs each event. A module that logs rising corrected errors is warned about and can be replaced before it produces an error that cannot be corrected, which would stop the server.

DDR5 chips also have on-die ECC inside the chip. That is a manufacturing aid and does not replace server ECC, which protects the data across the bus and the whole module. A server RDIMM has both.

Desktop, non-ECC memory is cheaper and does not fit most server boards. Some entry-level servers and workstations accept unbuffered ECC modules (ECC UDIMMs), but a registered module and an unbuffered one cannot be mixed. Always match the exact module type in the QuickSpecs.

Why it matters when you buy a server

ECC is not an extra to leave off a server quotation to save money: the saving is small and a memory error can corrupt a database before anyone sees it. If a quotation lists memory without saying ECC and registered, ask.

Keep reading

Sources: JEDEC DDR5 SDRAM standard (JESD79-5); HPE ProLiant memory documentation (Advanced ECC).

Related terms

Tell us what the server must run.

An engineer checks the configuration against the manufacturer's specifications and replies with a formal quotation.