Use it when choosing and populating DIMMs, and when a server reports correctable or uncorrectable memory errors.
Memory and ECC
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.
1. Correctable or uncorrectable?
2. Which DIMM label/slot?
3. Is the count rising?
4. Is the population per the vendor rules (all channels, matched DIMMs)?
DIMM → memory channel → memory controller ECC (correct/detect) → patrol scrub → error reported to OS (EDAC/MCE/WHEA) and BMC (SEL) → threshold → replace DIMM
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Read-only Verification Verify boundary
# Errors per DIMM (rasdaemon)
sudo ras-mc-ctl --error-count
sudo ras-mc-ctl --errors | tail -20
# Kernel EDAC counters
grep -H . /sys/devices/system/edac/mc/mc*/ce_count /sys/devices/system/edac/mc/mc*/ue_count
# Inventory: slot, size, speed, part number
sudo dmidecode -t memory | grep -E 'Locator:|Size:|Configured Memory Speed|Part Number' | grep -v 'No Module'
# BMC view
sudo ipmitool sel elist | grep -i -E 'memory|ecc'
If EDAC shows no memory controllers, the platform's EDAC driver is missing or the firmware handles errors itself (firmware-first); then rely on the BMC log and WHEA/MCE messages.
Step 2 Common mistakes Narrow the fault
- Ignoring correctable errors until they become uncorrectable.
- Mixing DIMM sizes, ranks or vendors in a channel.
- Leaving channels empty.
- Believing DDR5 on-die ECC alone protects the system.
- Replacing the wrong DIMM because labels in the OS and on the board differ — use the BMC's slot name.
Step 3 Troubleshooting Narrow the fault
Server crashed with an uncorrectable memory error. Identify the DIMM from the BMC SEL or OS log, replace it, and check whether the BMC disabled the DIMM (capacity lower after reboot).
Correctable errors on one DIMM. Watch the trend; reseat only if the vendor recommends it, replace if the count keeps rising.
Errors move with the slot, not the DIMM. Suspect the board, socket pins or CPU memory controller — open a vendor case.
Memory runs slower than rated. Two DIMMs per channel, mixed DIMM types, or BIOS memory settings; check the vendor population guide.
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.
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.
ReferenceWhat it is2 sections · depth on demand
Direct Answer
Server memory is registered (RDIMM) DDR4 or DDR5 with ECC. ECC stores extra check bits with every word, so the memory controller can correct single-bit errors and detect larger ones. Correctable errors (CE) are logged and the system keeps running; uncorrectable errors (UE) usually crash the server or poison the affected data. A DIMM whose correctable-error count keeps rising should be replaced before it produces an uncorrectable error. Bandwidth depends on population: fill every channel on every socket with identical DIMMs.
Scope and canonical references
- Platform: Server Architecture, NUMA.
- ECC as a data-integrity concept in storage: ECC Memory in Storage.
- Not elliptic-curve cryptography: ECC in Security.
- OS memory usage: Memory (Linux), Memory (Windows).
- Diagnostics workflow: Hardware Diagnostics.
ReferenceImportant terms & boundaries1 section · depth on demand
In depth
DIMM types
| Type | Use |
|---|---|
| UDIMM | Desktops, small servers |
| RDIMM | Standard server memory; a register buffers command/address signals |
| LRDIMM / 3DS RDIMM | Highest capacity per slot, slightly higher latency |
DDR5 has on-die ECC inside each chip to deal with the chip's own density; it does not report errors to the system. Server DDR5 RDIMMs additionally carry side-band ECC, which is what the memory controller uses and reports.
Population
Each CPU has several channels (current server CPUs 8–12). Bandwidth is highest when every channel has the same DIMM type, size and rank; unbalanced configurations lower bandwidth or speed. Two DIMMs per channel usually lowers the supported speed. Follow the vendor's population table — slot order matters.
ECC and RAS features
| Feature | What it does |
|---|---|
| SECDED ECC | Corrects single-bit, detects double-bit errors |
| Chipkill / SDDC / ADDDC (vendor names) | Survives failure of a whole DRAM device |
| Patrol scrubbing | Reads memory in the background to correct latent errors before they accumulate |
| Post Package Repair (PPR) | Remaps a failing row to a spare inside the DRAM |
| Memory mirroring / sparing | Keeps a copy or a spare rank; costs capacity |
How errors are reported
The memory controller signals errors through the machine-check architecture. Linux EDAC drivers expose counters per memory controller and DIMM under /sys/devices/system/edac/mc/; rasdaemon records events with DIMM labels. Windows logs WHEA events. The BMC records memory events in its SEL and often marks the DIMM in its inventory, and many BMCs disable a DIMM that crosses a threshold.
When to replace
- Any uncorrectable error on the same DIMM.
- Correctable errors that keep increasing, or a BMC/vendor predictive-failure alert.
- Replace with the same part (size, rank, speed) and re-check counters after replacement; errors that follow a slot rather than a DIMM point to the board or CPU.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Deep reference
Healthy vs suspicious evidence
Output interpretation
ras-mc-ctl --error-count lists corrected (CE) and uncorrected (UE) counts per DIMM label. A few CEs over months are normal; a fast-growing CE count on one DIMM predicts failure — replace it in a maintenance window.
EDAC sysfs ce_count/ue_count per memory controller give the same picture without rasdaemon; a non-zero ue_count with no crash means the platform contained the error, but the DIMM is suspect.
dmidecode: Configured Memory Speed lower than the DIMM's rated speed is normal when many DIMMs per channel are installed or modules are mixed; it costs bandwidth.
BMC SEL entries such as "Correctable ECC" with a slot name confirm the OS view and survive OS reinstalls.
Design & tradeoffs
Design decisions
Populate for bandwidth: fill all channels evenly with identical DIMMs; one DIMM per channel usually runs fastest.
Capacity vs speed: more DIMMs per channel add capacity but may lower speed; know the platform's population rules.
Error handling: enable patrol scrubbing and keep ECC error thresholds and alerting in the BMC and OS; advanced modes (memory mirroring, spare ranks) trade capacity for resilience.
Replace on trend, not only on failure, and keep the failed DIMM's slot history for warranty cases.