Help Center/ Elastic Cloud Server/ User Guide (Paris Regions)/ FAQs/ OS Management/ How Do I View the GPU Usage of a GPU-accelerated ECS?
Updated on 2024-01-11 GMT+08:00

How Do I View the GPU Usage of a GPU-accelerated ECS?

Symptom

The GPU usage of GPU-accelerated ECSs running Windows Server 2012 and Windows Server 2016 cannot be viewed in Task Manager.

This section provides two methods for you to view the GPU usage. One is to run a command in the command-line interface, and the other is to install the GPU-Z tool.

Prerequisites

The NVIDIA driver has been installed on the GPU-accelerated ECS.

Method 1

  1. Log in to the GPU-accelerated ECS.
  2. Start the Run dialog box. Enter cmd and press Enter.
  3. Run the following commands to check the GPU usage:

    cd C:\Program Files\NVIDIA Corporation\NVSMI

    nvidia-smi

    To continuously observe the GPU usage, run the following command:

    nvidia-smi -l 1

    Figure 1 GPU usage

    NVIDIA GPUs can work in Tesla Compute Cluster (TCC) or Windows Display Driver Model (WDDM) mode.

    • In TCC mode, the GPU is completely used for computing.
    • In WDDM mode, the GPU supports both compute and graphics workloads.

    The WDDM mode can be used only when GRID drivers are installed on GPU-accelerated ECSs.

    Learn more about TCC and WDDM.

Method 2

  1. Log in to the GPU-accelerated ECS.
  2. Download GPU-Z and install it.
  3. Open GPU-Z and click Sensors to view the GPU usage.
    Figure 2 GPU usage