Improve Performance Using GPU Monitor Metrics
R2026bThe GPU Monitor provides information that you can use to improve the efficiency of MATLAB® code that uses your GPU. This page explains what you might observe in the GPU Monitor and gives advice on how to use those observations to speed up your code.
GPU Activity
The Activity tab shows real-time plots of GPU utilization and memory usage.
This table gives tips for how to respond to observations made in the Activity tab.
| Observation | Explanation | Possible Actions |
|---|---|---|
| High utilization | The GPU is consistently busy. High GPU utilization indicates that you are using all of your GPU's compute resources. |
|
| Low utilization | The GPU is frequently idle, so there is an opportunity to use it more effectively. |
|
| High memory usage | Most of the GPU's memory is in use. Provided you do not run out of GPU memory, using most of the memory is not necessarily a bad thing. On Windows® systems, the Windows Display Driver Model (WDDM) can reduce GPU performance when memory is scarce. |
|
| Low memory usage | The GPU has available memory |
|
GPU Processes
The Processes tab shows tables of the processes running on the GPUs being monitored.
This table gives tips for how to respond to observations made in the Processes tab.
| Observation | Explanation | Possible Actions |
|---|---|---|
| Active graphics processes | The GPU is being used for graphics processing |
|
| Many active processes | The GPU is being used by other processes |
|