Pcornel
Hardware · Server Architecture

Memory and ECC

Cheat sheet · https://pcornel.dk/topic.php?topic=6275

Back to the Topic

Answer

Server memory uses registered DIMMs with ECC, which detects and corrects bit errors. Capacity, speed and bandwidth depend on how channels are populated; errors are counted per DIMM by the memory controller.

Remember

Correctable errors are warnings, uncorrectable errors crash or isolate data. A DIMM with rising correctable errors is a replacement candidate. DDR5's on-die ECC is not the same as system (side-band) ECC. Populate channels identically per socket.

First checks

  • ras-mc-ctl --error-count — CE/UE per DIMM (rasdaemon).
  • grep . /sys/devices/system/edac/mc/mc*/ce_count — kernel EDAC counters.
  • dmidecode -t memory — slot, size, speed, part number (root).
  • ipmitool sel elist | grep -i memory — BMC memory events.

Verify in this order

DIMM → memory channel → memory controller ECC (correct/detect) → patrol scrub → error reported to OS (EDAC/MCE/WHEA) and BMC (SEL) → threshold → replace DIMM

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=6275

Confirmation

Confirm action

Continue?