CPU, GPU AND RAM

Linux DDR5 ECS control: what the 6.15 sysfs interface actually exposes

In this article
THE QUICK TAKE

The ECS ABI exposes supported control callbacks; its presence is not proof of universal DDR5 coverage or a measured reduction in hardware failures.

Linux added a standardized EDAC control interface for memory reliability features in the development cycle for 6.15. For DDR5 Error Check Scrub, the useful question is which controls a specific device and driver actually expose, and what their counters mean. A kernel version alone cannot establish that every installed memory module supports the same operations.

Date the interface from a pinned record

The original EDAC pull request is dated March 25, 2025. It introduces infrastructure for registering memory scrub and related reliability features with EDAC, with CXL devices identified as a main use case. This is evidence of a software interface change, rather than a field trial demonstrating fewer failures.

The version-pinned ECS ABI labels the interface for kernel 6.15. It places per-media-unit controls beneath an EDAC device directory. Critically, an attribute exists only when the parent driver implements its callback and registers the necessary operations. Absence of a file is therefore not an observation of zero errors.

Counter modes change the counted object

The ABI distinguishes a mode that counts rows containing detected errors from a mode that counts erroneous codewords. These are different observation units. A change in mode breaks a naive comparison of raw counter increments, even if the physical memory workload is unchanged.

The log-entry type also distinguishes per-DRAM reporting from reporting per field-replaceable memory unit. Preserve both settings with a measurement. The host-ECC guide explains why an EDAC identifier needs platform mapping before being equated with a chassis slot or confused with a GPU-memory event.

Threshold and reset do not repair the same thing

The ECS threshold is expressed per gigabit of memory cells and masks counts below the selected threshold. A quieter reported series after a threshold change need not indicate fewer physical errors. It may reflect changed visibility. The documented threshold values are a control contract, not universal acceptable-error limits for every server.

The reset attribute clears the counter. That bookkeeping action is not evidence that a faulty cell was repaired. Preserve the observation interval and any reset event before calculating rates or drawing a health trend. An apparent drop to a baseline loses meaning if the counter’s lifecycle has changed.

Scrubbing, repair and reporting remain distinct

The pinned scrub documentation describes ECS as an internal DRAM read, correction and writeback mechanism. It also discusses background and on-demand scrubbers with different control paths. Those mechanisms should not be reduced to one interchangeable scrub switch.

The current features overview describes a broader stack connecting platform firmware, drivers, EDAC and userspace control. Its repair and dynamic-controller descriptions should not be assumed to document every attribute in the earlier release. Internal correction is likewise not proof of end-to-end protection for every system-memory transfer or processing stage.

Build an interpretable observation record

Record the exact kernel, firmware, device identity, driver, available attributes and their initial meanings. Align EDAC observations with platform-management logs using known timestamps. Establish whether the intended experiment measures reporting, background scanning or an actual repair mechanism before comparing results.

If a controlled operation changes configuration, keep workload, duration and thermal conditions comparable and retain the setting transition. The RAM-versus-VRAM guide supplies the broader resource distinction. The interface makes reliability management inspectable; the actual capabilities and operational outcome remain properties of the specific hardware and registered implementation.

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles