3.1 Data center management and monitoring

NCA-AIIO · AI Operations (22% of the exam) · Official objective: “Describe AI data center management and monitoring essentials.”

Reading Xid errors and choosing the recovery action NVIDIA documents.

Key points

  1. An Xid is an error report that the NVIDIA driver writes to the kernel log. Xid 48 is a double-bit ECC error. ECC (error-correcting code) memory can fix single-bit errors, but not double-bit ones, so this error is uncorrectable. NVIDIA's Xid Catalog lists the recovery for Xid 48 seen alone as RESET_GPU and the follow-up as RUN_FIELDDIAG (run field diagnostics). If Xid 63 or 64 appears with it, the catalog says to drain the node and reset.

    What NVIDIA says (3)

    “48 ROBUST_CHANNEL_GPU_ECC_DBE Double Bit ECC Error”

    — NVIDIA Xid Catalog

    “This event is logged when the GPU detects that an uncorrectable error occurs on the GPU.”

    — NVIDIA Xid Catalog

    “WORKFLOW_XID_48 Data Center Recovery Action Solo: RESET_GPU w/ 63 or 64: DRAIN_AND_RESET Investagatory Action Solo: RUN_FIELDDIAG”

    — NVIDIA Xid Catalog

  2. Xid 79 means the GPU has fallen off the bus. The bus here is PCI Express (PCIe), the link between the GPU and the server's CPU. NVIDIA says the event is logged when the driver tries to reach the GPU over PCIe and finds it is not accessible. It is often caused by hardware failures on the PCIe link, so check system and kernel PCI event logs.

    What NVIDIA says (3)

    “79 ROBUST_CHANNEL_GPU_HAS_FALLEN_OFF_THE_BUS”

    — NVIDIA Xid Catalog

    “This event is logged when the GPU driver attempts to access the GPU over its PCI Express connection and finds that the GPU is not accessible.”

    — NVIDIA Xid Catalog

    “This event is often caused by hardware failures on the PCI Express link causing the GPU to be inaccessible due to the link being brought down.”

    — NVIDIA Xid Catalog

  3. NVLink is NVIDIA's direct GPU-to-GPU link. An NVSwitch is a switch chip that connects many GPUs over NVLink. Xid 74 is logged when the GPU detects a problem with an NVLink connection to another GPU or an NVSwitch. The cause can be at the far end. If one GPU fails, a GPU linked to it may report Xid 74 simply because the link went down. For several error bits, NVIDIA's workflow says to check link mechanical connections, re-seat if needed, and run diagnostics if the issue persists.

    What NVIDIA says (3)

    “This event is logged when the GPU detects that a problem with a connection from the GPU to another GPU or NVSwitch over NVLink.”

    — NVIDIA Xid Catalog

    “For example, if a GPU fails, another GPU connected to it over NVLink may report an Xid 74 simply because the link went down as a result.”

    — NVIDIA Xid Catalog

    “Check link mechanical connections and re-seat if a field resolution is required. Run diags if issue persists.”

    — NVIDIA Xid Catalog

  4. Xid 13 is logged for general user application faults. NVIDIA says it is typically an out-of-bounds error, where code walks past the end of an array. Hardware failures can show up as Xid 13, but NVIDIA calls that rare. Because only one person's code triggers it, start by debugging that code.

    What NVIDIA says (2)

    “This event is logged for general user application faults. Typically this is an out-of-bounds error where the user has walked past the end of an array, but could also be an illegal instruction, illegal register, or other case.”

    — NVIDIA Xid Catalog

    “In rare cases, it’s possible for a hardware failure or system software bugs to materialize as XID 13.”

    — NVIDIA Xid Catalog

  5. Xid 45 is logged when an application aborts and the kernel driver tears down its work on the GPU. NVIDIA lists Ctrl-C, GPU resets and SIGKILL as examples. In many cases it is not a bug but a user or system action. If other Xids appear with it, follow the guidance for those.

    What NVIDIA says (2)

    “This event is logged when the user application aborts and the kernel driver tears down the GPU application running on the GPU. Control-C, GPU resets, sigkill are all examples where the application is aborted and this event is created.”

    — NVIDIA Xid Catalog

    “In many cases, this is not indicative of a bug but rather a user or system action.”

    — NVIDIA Xid Catalog

  6. Row remapping is how Ampere-generation and newer GPUs retire a faulty row of memory by mapping it to a spare row. Xid 63 records a row-remapping event, and the catalog's immediate action is IGNORE. Xid 64 records a row-remapping failure, and the catalog says RESET_GPU, then CONTACT_SUPPORT. An RMA (return merchandise authorization) is the return-for-replacement process. NVIDIA says the RMA criteria are met when the row-remapping failure flag is set and validated by field diagnostics.

    What NVIDIA says (4)

    “63 INFOROM_DRAM_RETIREMENT_EVENT”

    — NVIDIA Xid Catalog

    “64 INFOROM_DRAM_RETIREMENT_FAILURE”

    — NVIDIA Xid Catalog

    “On GPUs that support row remapping, starting with NVIDIA® Ampere archtecture GPUs, these events provide details on row remapper activity.”

    — NVIDIA Xid Catalog

    “Regarding row-remapping failures, the RMA criteria is met when the row-remapping failure flag is set and validated by the field diagnostic.”

    — GPU Memory Error Management: RMA Policy Thresholds

  7. Error containment is an Ampere-generation feature. It limits the impact of an uncorrectable ECC error to the application that hit it. For Xid 94, NVIDIA says the error is contained to one application, which must be restarted. All other applications are unaffected. NVIDIA still recommends resetting the GPU when convenient.

    What NVIDIA says (2)

    “For Xid 94, these errors are contained to one application, and the application that encountered this error must be restarted. All other applications running at the time of the Xid are unaffected. It is recommended to reset the GPU when convenient.”

    — NVIDIA Xid Catalog

    “The benefit of error containment is being able to limit the impact of uncorrectable ECC errors on GPU applications.”

    — GPU Memory Error Management: Error Containment

  8. An uncontained error is one the GPU could not limit to a single application. For Xid 95, NVIDIA says the errors affect multiple applications and the GPU must be reset before applications can restart. So the operator drains the work from that GPU and resets it, instead of restarting just one service.

    What NVIDIA says (2)

    “For Xid 95, these errors affect multiple applications, and the affected GPU must be reset before applications can restart.”

    — NVIDIA Xid Catalog

    “95 ROBUST_CHANNEL_UNCONTAINED_ERROR”

    — NVIDIA Xid Catalog

  9. DCGM offers health checks of different lengths. Quick invasive checks take seconds and verify a GPU is ready before a job. Medium checks take a few minutes and are for a failed job or a suspect GPU. Long checks take tens of minutes for serious hardware investigations. In dcgmi diag, level r2 (Medium) runs in under 10.5 minutes on an 8-GPU Hopper system, and r1 (Short) in under 2.5 seconds.

    What NVIDIA says (3)

    “Quick, invasive health checks that take a few seconds and are designed to verify that a GPU is ready for work prior to job submission.”

    — DCGM Feature Overview

    “Medium duration invasive health checks, taking a few minutes, that can be run when a job has failed or a GPU’s health is otherwise suspect Full system validation .”

    — DCGM Feature Overview

    “r1 (Short) < 2.5 Seconds. r2 (Medium) < 2.5 mins on 4 GPU systems, < 10.5 mins on 8 GPU systems.”

    — DCGM Diagnostics

  10. DCGM policies can notify a client, or take action when a condition is met. NVIDIA's DCGM guide says a common action policy is to retire a memory page automatically after an ECC double-bit error. Because this resets the GPU, a quick system validation follows to make sure the GPU is healthy. Retiring a page does not take the GPU out of service. The page is set aside (blacklisted) the next time the GPU is reattached, for example by a GPU reset, a driver reload or a reboot, and after that applications run as before. NVIDIA's page-retirement FAQ says application performance is unaffected and the memory lost is at most about 4 MiB. The GPU becomes an RMA (return for replacement) candidate only when the retired-page count or rate reaches the levels NVIDIA's FAQ lists.

    What NVIDIA says (5)

    “Policy # DCGM provides a way for clients to configure automatic GPU behaviors in response to various conditions.”

    — DCGM Feature Overview

    “A common action based policy is to configure DCGM to automatically retire a memory page after an ECC DBE has occurred.”

    — DCGM Feature Overview

    “Since this operation involves resetting the GPU, a quick system validation is a follow-up step to ensure the GPU is healthy.”

    — DCGM Feature Overview

    “Pages that have been previously retired are blacklisted for all future allocations of the framebuffer, provided that the target GPU has been properly reattached and initialized.”

    — Dynamic Page Retirement: Blacklisting and ECC Error Recovery

    “No, application performance is unaffected by either the retirement of pages or their subsequent blacklisting.”

    — Dynamic Page Retirement: FAQ

  11. The deployment plugin checks that the node is ready to run CUDA applications. NVIDIA's DCGM diagnostics documentation says it fails if, among other things, NVML or the CUDA runtime cannot load, the open-source nouveau driver is loaded, any pages are pending retirement, or row remaps are pending or have failed. Any of these means the node should not take work until it is fixed.

    What NVIDIA says (2)

    “Deployment Plugin # The deployment plugin’s purpose is to verify the compute environment is ready to run CUDA applications and is able to load the NVML library.”

    — DCGM Diagnostics

    “The NVML library libnvidia-ml.so cannot be loaded The CUDA runtime libraries cannot be Loaded The nouveau driver is found to be loaded Any pages are pending retirement on the target GPU(s) Any pending row remaps or failed row remappings on the target GPU(s).”

    — DCGM Diagnostics

  12. Without persistence mode, the driver can unload when no program uses the GPU, and the next job pays the start-up cost. The nvidia-smi documentation says that with persistence mode enabled, the driver stays loaded even with no active clients. It also says persistence mode defaults to Disabled after each reboot, so it must be enabled at boot (for example by a service).

    What NVIDIA says (2)

    “When persistence mode is enabled the NVIDIA driver remains loaded even when no active clients, such as X11 or nvidia-smi, exist.”

    — nvidia-smi documentation

    “After each reboot persistence mode will default to "Disabled".”

    — nvidia-smi documentation

  13. Large InfiniBand fabrics have thousands of ports and cables. NVIDIA says UFM lets data center operators monitor and operate the entire fabric and maximize fabric resource use. Its architecture centers on a UFM server that manages all physical and logical data, with a web UI that uses the server's REST API.

    What NVIDIA says (3)

    “UFM enables data center operators to efficiently monitor and operate the entire fabric, boost application performance and maximize fabric resource utilization.”

    — NVIDIA UFM Enterprise User Manual: Overview

    “UFM Server UFM server is a central data repository and management server that manages all physical and logical data.”

    — UFM Enterprise: Software Architecture

    “The Web application uses a standard REST API provided by the UFM server.”

    — UFM Enterprise: Software Architecture

  14. Cable validation compares what was installed with what was planned. NVIDIA's cluster bring-up procedure says the cable validation tool does not depend on a working SM or any InfiniBand communication. It uses the management interfaces of the network devices. That lets the team validate the cluster incrementally as parts are deployed.

    What NVIDIA says (3)

    “Cable validation is the process of validating the actual cable deployment, against the expected topology (from the planning).”

    — InfiniBand Cluster Bring-up Procedure: Cable Validation

    “The tool is not dependent on a working SM, or any working IB communication at all, but utilizes the management interfaces of all the connected network devices.”

    — InfiniBand Cluster Bring-up Procedure: Cable Validation

    “This allows to bring up the cluster gradually / incrementally, and to validate the deployment in smaller pieces, rather than all at once.”

    — InfiniBand Cluster Bring-up Procedure: Cable Validation

  15. In an HA pair, one head node is active and the other is standby. The DGX SuperPOD deployment guide has you configure an external virtual IP used by the active head node, and says this is the IP that should always be used for access. On failover the VIP moves to the new active head node. The secondary is cloned from the primary, and /cm/shared and /home are moved to shared NFS storage so both heads see the same data.

    What NVIDIA says (3)

    “Configure an external Virtual IP address that will be used by the active head node in the HA configuration and then select NEXT .”

    — DGX SuperPOD Deployment Guide: High Availability

    “This will be the IP that should always be used for accessing the active head nodes.”

    — DGX SuperPOD Deployment Guide: High Availability

    “In this final HA configuration step, cmha-setup will copy the /cm/shared and /home directories to the shared storage and configure both head nodes and all cluster nodes to mount it.”

    — DGX SuperPOD Deployment Guide: High Availability

  16. Inconsistent nodes cause hard-to-find job failures and performance differences. The administration guide says the key to running a cluster is that all nodes are configured identically for their function and operate consistently. For health checks it names the NVIDIA System Management tool, nvsm.

    What NVIDIA says (2)

    “System Health Checks and Debugging # The key to successfully operating and managing a cluster is that all nodes are configured identically for their function, and they operate consistently.”

    — DGX SuperPOD Administration Guide: System Health Checks and Debugging

    “For health checks, this is the NVIDIA System Management tool (nvsm).”

    — DGX SuperPOD Administration Guide: System Health Checks and Debugging

  17. Almost all DCGM operations act on groups of GPUs. NVIDIA recommends one long-lived global group (all GPUs) for node-level tasks such as global configuration and health, and partitioned groups (subsets of GPUs) per job for job-level stats and health when several workloads share the node.

    What NVIDIA says (3)

    “Tip It is recommended that the client maintain one long-lived global group for node-level activities.”

    — DCGM Feature Overview

    “For systems with multiple transient concurrent workloads it is recommended that additional partitioned groups be maintained on a per-job basis.”

    — DCGM Feature Overview

    “Partitioned groups, consisting of only a subset of GPUs, are useful for job-level concepts such as job stats and health.”

    — DCGM Feature Overview

  18. Dynamic page retirement is how the NVIDIA driver stops using GPU memory pages with bad cells. 'Retiring' marks a page; 'blacklisting' is actually excluding it from future memory allocations. The driver retires a page after one double-bit ECC error (DBE) or two single-bit errors (SBE) at the same address. Blacklisting happens only when the GPU is reattached and initialized, so all clients must stop first. NVIDIA lists, from least to most invasive: let the GPU detach and reattach (persistence mode off), reset the GPU, reload the kernel module, or reboot. Until then 'Pending Page Blacklist' shows Yes. Afterwards the GPU keeps running normally: NVIDIA says application performance is unaffected and at most about 4 MiB of memory is lost. Page retirement is for GPUs before Ampere. Ampere and later GPUs use row remapping instead, which needs a GPU reset to take effect.

    What NVIDIA says (9)

    “The NVIDIA driver will retire a page once it has experienced a single Double Bit ECC Error (DBE), or 2 Single Bit ECC Errors (SBE) on the same address.”

    — Dynamic Page Retirement: Implementation

    “The marking of a page for exclusion is called “retiring”, while the actual act of excluding that page from subsequent memory allocations is called “blacklisting”.”

    — Dynamic Page Retirement: Implementation

    “If Pending Page Blacklist shows “Yes”, then at least one of the retired pages that are counted are not yet blacklisted.”

    — Dynamic Page Retirement: Blacklisting and ECC Error Recovery

    “It is not possible to blacklist a new page while clients remain active.”

    — Dynamic Page Retirement: Blacklisting and ECC Error Recovery

    “Re-attach the GPUs (persistence mode disabled only) Reset the GPUs Reload the kernel module (nvidia.ko) Reboot the machine (or VM)”

    — Dynamic Page Retirement: Blacklisting and ECC Error Recovery

    “No, application performance is unaffected by either the retirement of pages or their subsequent blacklisting.”

    — Dynamic Page Retirement: FAQ

    “However, the total maximum size of memory retired in this way is only on the order of 4 MiB.”

    — Dynamic Page Retirement: FAQ

    “No, page retirement is an important reliability feature and cannot be disabled for either SBEs or DBEs.”

    — Dynamic Page Retirement: FAQ

    “The row-remapping feature is a replacement for the page retirement scheme used in prior generation GPUs.”

    — GPU Memory Error Management: Row Remapping

  19. Each retired page costs very little memory, so a few retired pages are not a reason to replace a GPU. The retirement table holds at most 64 pages. NVIDIA's FAQ says a board with 60 or more retired pages is eligible for an RMA, and a card with 64 fails the NVIDIA Field Diagnostic. A board with 15 or more retired pages that keeps retiring one or more new pages a week can be evaluated for an RMA before it reaches 60. Track the retirement rate and send it with the board. On Ampere and later GPUs, which use row remapping, the NVIDIA Field Diagnostic decides RMA. It qualifies when the row-remapping failure flag is set and validated.

    What NVIDIA says (5)

    “The Tesla board will continue to retire pages up until the page retirement table is full, at 64 dynamically retired memory pages.”

    — Dynamic Page Retirement: FAQ

    “However, a board that generates 60 or more retired pages is eligible for an RMA.”

    — Dynamic Page Retirement: FAQ

    “Additionally, if a board is found to exhibit 15 or more retired pages and continues to retire memory pages at a rate of one or more newly retired pages per week, it can be evaluated for an RMA before the 60-page RMA threshold has been reached.”

    — Dynamic Page Retirement: FAQ

    “Please track the page retirement rate and provide that information with the returned board.”

    — Dynamic Page Retirement: FAQ

    “Regarding row-remapping failures, the RMA criteria is met when the row-remapping failure flag is set and validated by the field diagnostic.”

    — GPU Memory Error Management: RMA Policy Thresholds

  20. Dynamic page offlining exists on Ampere and later GPUs that support error containment. When the driver finds where an uncorrectable error is, it marks that page unusable. Running and newly launched workloads will not use that page. NVIDIA says these GPUs do not need a GPU reset to recover from most uncorrectable ECC errors. Row remapping, the hardware repair that swaps in a spare row, does need a GPU reset to take effect, and then lasts for the life of the GPU.

    What NVIDIA says (4)

    “Once the NVIDIA driver identifies the location of an uncorrectable error in the frame buffer memory, it marks the page containing the error as unusable.”

    — GPU Memory Error Management: Dynamic Page Offlining

    “Once the page is marked unusable, any of the currently executing or newly launched workloads will not be allocating this page in question.”

    — GPU Memory Error Management: Dynamic Page Offlining

    “GPUs that support dynamic page offlining do not require a GPU reset to recover from most uncorrectable ECC errors.”

    — GPU Memory Error Management: Dynamic Page Offlining

    “The process of row-remapping requires a GPU reset to take effect and will remain persistent throughout the life of the life of the GPU.”

    — GPU Memory Error Management: Row Remapping

Key terms

Try it

Sample question

dmesg on a GPU node shows 'NVRM: Xid (PCI:0000:83:00): 48'. What does Xid 48 mean, and what does NVIDIA's catalog say to do when it appears on its own?

Show the answer

Answer: A double-bit ECC error, which the GPU could not correct. Reset the GPU, then run field diagnostics.

An Xid is an error report that the NVIDIA driver writes to the kernel log. Xid 48 is a double-bit ECC error. ECC (error-correcting code) memory can fix single-bit errors, but not double-bit ones, so this error is uncorrectable. NVIDIA's Xid Catalog lists the recovery for Xid 48 seen alone as RESET_GPU and the follow-up as RUN_FIELDDIAG (run field diagnostics). If Xid 63 or 64 appears with it, the catalog says to drain the node and reset.

What NVIDIA says (3)

“48 ROBUST_CHANNEL_GPU_ECC_DBE Double Bit ECC Error”

— NVIDIA Xid Catalog

“This event is logged when the GPU detects that an uncorrectable error occurs on the GPU.”

— NVIDIA Xid Catalog

“WORKFLOW_XID_48 Data Center Recovery Action Solo: RESET_GPU w/ 63 or 64: DRAIN_AND_RESET Investagatory Action Solo: RUN_FIELDDIAG”

— NVIDIA Xid Catalog

Practice 3.1 (20 questions) Full AI Operations guide

← 2.10 DPUs in the data center · 3.2 Orchestration and job scheduling →