What Is GPU Memory ECC? Check ECC Status and Errors on NVIDIA GPUs
GPU memory ECC (error-correcting code) stores check information alongside data so hardware can detect some bit errors and automatically correct errors that the device supports. ECC does not protect every GPU fault or guarantee correct computation. On NVIDIA GPUs, first check whether the device supports ECC and its counters, whether ECC is currently enabled, and which time window each counter represents.
What Is GPU Memory ECC? Check ECC Status and Errors on NVIDIA GPUs
GPU memory ECC (error-correcting code) stores check information alongside data so hardware can detect some bit errors and automatically correct errors that the device supports. ECC does not protect every GPU fault or guarantee correct computation. On NVIDIA GPUs, first check whether the device supports ECC and its counters, whether ECC is currently enabled, and which time window each counter represents.
This guide is for operators using NVIDIA nvidia-smi and DCGM. Available fields and recovery features vary by GPU model, architecture, driver, and virtualization setup. Do not interpret N/A or an unsupported response as an error count of zero.
What ECC protects
If a stored bit flips or a value changes during a read, ECC hardware compares data with its check information. A common SEC-DED code is a simplified example: it can correct a single-bit error and detect, but not correct, a two-bit error. NVIDIA also distinguishes some single-bit correctable errors from double-bit uncorrectable errors. The actual code and reporting coverage depend on the memory type and GPU generation.
ECC is therefore a hardware safeguard for some corruption of stored memory values. It does not fix bad inputs, program logic errors, missing synchronization, every circuit fault, or errors on every GPU interconnect. Results still need application-level validation.
Support and state are separate. A product may lack ECC, support it while it is disabled, or expose only selected counters. NVML provides memory-error counters for supported ECC devices when ECC is enabled, and can return NOT_SUPPORTED for a memory location it does not report. Where enabling ECC requires extra check bits, the total available memory can decrease.
Correctable and uncorrectable errors
A correctable error is one the hardware could repair. NVIDIA says its single-bit ECC errors are automatically corrected and do not, by themselves, corrupt data. A rising counter records correction events; the number alone does not prove a failed job or mean the GPU must be replaced. Check whether the count keeps increasing on the same device and whether page retirement or recovery status also changes.
An uncorrectable error could not be repaired by the applicable protection. A double-bit error is one NVIDIA-documented example. It may cause a workload failure, affect result reliability, or require recovery, but the impact depends on the product's containment and recovery features. Follow the device's reported recovery action and operating procedure instead of always killing every process or resetting the GPU immediately.
| Observation | Meaning | Next check |
|---|---|---|
| ECC disabled or unsupported | ECC protection or that counter may be unavailable. Unsupported does not mean zero errors. | Check product specifications and current/pending ECC mode. A mode change may require a reboot, so plan it operationally. |
| Correctable counter increases | More corrected error events were recorded. There is no universal severity threshold based on one number. | Compare values from the same counter window and check repeated growth, retired pages, and system logs. |
| Uncorrectable error or recovery action | Some memory error was not corrected, or device recovery is required. | Check the impact and reported recovery action; isolate or drain work safely if the procedure requires it. |
| Page retirement or pending row remap | An unreliable region may have been hidden or mapped to a reserved region. | Check device-specific status and available memory. Plan any required reset for a maintenance window. |
Counter windows: volatile and aggregate
nvidia-smi and NVML can report counts over different periods. A volatile count covers errors since the last driver load. On Windows this is generally once per boot; on Linux it can reset more often if the driver unloads when no clients are active. An aggregate count persists across reboots for the device's lifetime.
So a volatile value returning to zero after a reboot or driver reload does not mean past errors were repaired. An aggregate value may include old events and does not prove the same error is still occurring. Record start and end values for the same window, and correlate them with GPU UUID, driver start time, workload times, and logs. NVIDIA's CLI documentation says aggregate counters cannot be cleared on Ampere and later GPUs, so do not clear counters to establish a baseline.
For example, if a single-bit volatile counter rises from 0 to 2 and the aggregate counter rises from 4 to 6 during the same driver session, two correction events were added in that interval. This is a hypothetical example, not an alert threshold or product diagnostic rule. If the volatile counter returns to zero after the next driver load, check separately whether the aggregate count remains and whether new work increases it again.
Read NVIDIA status without changing it
These are query examples. GPU numbers can change with enumeration order, so do not assume an index is permanent; identify the target by UUID or PCI bus ID. Fields and output vary by driver and product.
nvidia-smi -L
nvidia-smi -i GPU-UUID -q -d ECC
nvidia-smi -i GPU-UUID -q -d PAGE_RETIREMENT
nvidia-smi -i GPU-UUID -q -d ROW_REMAPPERFirst identify the device and UUID. Then inspect current and pending ECC mode, error counts, and any supported retired-page or row-remapping information. If a display category is not recognized, consult nvidia-smi --help and documentation for the installed driver. You can also query repeatedly on Linux with nvidia-smi -l; record timestamps and driver restarts with the output.
Page retirement prevents the driver from allocating a memory page that has become unreliable. Row remapping connects a faulty memory row to a reserved row on supported GPUs. NVIDIA documents row remapping on Ampere and later, but specific repair and containment features differ across product families. A Pending remap may take effect only after a GPU reset. A reset can interrupt jobs, so check active work and use the site's maintenance procedure.
Five steps to investigate and respond
**Record the device and environment.** Save the UUID from `nvidia-smi -L`, GPU model, driver version, operating system, MIG or virtualization status, and query time. Recording only an index may point to a different GPU after reboot.
**Read current/pending ECC mode and counters.** Run `nvidia-smi -q -d ECC` for the target UUID. Record support, current state, pending state, and correctable/uncorrectable counts. Do not convert `N/A` to zero; check support first.
**Check page and remapping status.** Query `PAGE_RETIREMENT` and `ROW_REMAPPER` on supported devices. A pending item can describe when a repair is applied; check driver-version documentation and the recovery action before deciding what to do.
**Compare increases over the same interval.** Save volatile and aggregate values before and after, then correlate them with driver-load boundaries, job failures, and system events. Clearing counters does not improve trend analysis.
**Control impact, then verify.** If an uncorrectable error or recovery action appears, follow scheduler and operations policy to block new jobs and safely drain work or use checkpoints. After required maintenance, query device status and counters again. If an integrity test is needed, check the conditions below and validate application results too.
Integrity tests are different from bandwidth tests
NVIDIA DCGM's memory plugin writes known values to framebuffer memory and reads them back to check integrity. Current documentation sets its default allocation to 75% of GPU memory and requires sufficient free memory and supported ECC conditions. Running it on a busy GPU can cause memory pressure or contention, so use a drained GPU or an approved maintenance window.
dcgmi diag -r memory -p "memory.is_allowed=True"This is not a bandwidth benchmark. The separate memory_bandwidth plugin uses a STREAM Triad-derived workload to measure throughput. Low throughput can also reflect competing traffic or the configured threshold. Choose the test that matches the question:
| Question | Appropriate approach | Limitation |
|---|---|---|
| Does written data read back unchanged? | DCGM memory integrity test | Requires supported ECC/device conditions and allocates much of memory. Passing does not guarantee no future errors. |
| Does throughput meet a configured threshold? | DCGM memory_bandwidth test | Measures performance, not data integrity. An idle GPU reduces interference from competing traffic. |
| Are ECC errors increasing now? | Compare same-window volatile-counter deltas and logs | Supported locations and device scope vary; cumulative counts alone do not identify a cause or determine warranty replacement. |
A failed diagnostic does not automatically prove that one memory module is defective. Distinguish a data mismatch or uncorrectable ECC result from allocation failure, unsupported hardware, or API initialization failure; the latter means the test did not complete and does not establish faulty memory. Preserve conditions and logs, then follow the vendor's diagnostic and support process for the reported error.
Key takeaway
Interpret ECC support, current state, error type, counter window, and page/row repair status together. A rise in corrected errors is a trend to investigate; an uncorrectable error or recovery action calls for the device-specific procedure. Integrity and performance tests answer different questions. These distinctions help prevent overreacting to one number or treating N/A and a reset counter as proof of health.
References
[NVIDIA, `nvidia-smi` User Guide](https://docs.nvidia.com/deploy/nvidia-smi/index.html)
[NVIDIA, NVML Device Queries](https://docs.nvidia.com/deploy/nvml-api/latest/api/group__nvmlDeviceQueries.html)
[NVIDIA, NVML Device Enums](https://docs.nvidia.com/deploy/nvml-api/latest/api/group__nvmlDeviceEnums.html)
[NVIDIA DCGM, GPU Memory Plugin](https://docs.nvidia.com/datacenter/dcgm/latest/reference/diagnostics/plugins/memory.html)
[NVIDIA DCGM, Memory Bandwidth Plugin](https://docs.nvidia.com/datacenter/dcgm/latest/reference/diagnostics/plugins/memory-bandwidth.html)
[NVIDIA, Error Recovery and Response Flags](https://docs.nvidia.com/deploy/a100-gpu-mem-error-mgmt/latest/error-recovery-and-response-flags.html)