Overview
Tesla K40 GPU Accelerator
BD-06902-001_v05 | 5
Table 1 gives a summary of the
nvidia-smi
commands for using NVIDIA GPU Boost
on Tesla.
Table 1.
nvidia-smi Commands
Usage
Command
View the clocks the Tesla board supports
nvidia-smi –q –d SUPPORTED_CLOCKS
Set one of the supported clocks
nvidia-smi -ac <MEM clock, Graphics clock>
Make the clock settings persistent across
driver unload
nvidia-smi -pm 1
Make the clock settings revert to base clocks
after driver unloads (or turn off the
persistent mode)
nvidia-smi -pm 0
To view the clock in use, use the command
nvidia-smi -q –d CLOCK
To reset clocks back to the base clock (as
specified in the board specification)
nvidia-smi –rac
To allow “non-root” access to change
graphics clock
nvidia-smi -acp 0
When using non-default applications clocks, driver persistence mode should be enabled.
Persistence mode ensures that the driver stays loaded even when no NVIDIA
®
CUDA
®
or X applications are running on the GPU. This maintains current state, including
requested applications clocks. If persistence mode is not enabled, and no applications
are using the GPU, the driver will unload and any current user settings will revert back
to default for the next application. To enable persistence mode run '
sudo nvidia-smi -
pm 1'.
The driver will attempt to maintain requested applications clocks whenever a CUDA
context is running on the GPU. However, if no contexts are running the GPU will revert
back to idle clocks to save power and will stay there until the next context is created.
Thus, if the GPU is not busy, you may see idle current clocks even though requested
applications clocks are much higher.
Note: By default changing the application clocks requires root access. If the user
does not have root access, the user can request his or her cluster manager to allow
non-root control over application clocks. Once changed, this setting will persist for
the life of the driver before reverting back to root-only defaults. Persistence mode
should always be enabled whenever changing application clocks, or enabling non-
root permissions to do so.