Detailed Explanation of NVIDIA-SMI Series Commands (17) - Clock Frequency

Clock frequency (CLOCK)

This article is a detailed explanation of the NVIDIA-SMI series of commands Part 17 - Clock Frequency, introduces and demonstrates the clocks option of the nvidia-smi command and its additional parameters, the command is as follows:

nvidia-smi clocks

This command is used to control and query clock frequency related information. Currently only available for simultaneous overclocking.

The list of supported parameters is as follows:

    [-i | --id]: 枚举索引, PCI 总线 ID 或者 UUID。多个设备时使用逗号隔开。
    [ | --sync-boost-list]: 列举所有同步超频组
    [ | --sync-boost-add]: 添加一个同步超频组

    [ | --sync-boost-remove]: 删除一个同步超频组。
                              组 id 从 --sync-boost-list 获取。

    [-h | --help]: 显示帮助信息

Detailed explanation of each parameter

-i specifies the identity of the GPU

Natural enumeration number, PCI bus address, or UUID of the GPU device. Separate multiple devices with commas.

Run the example

Add GPUs 0 and 1 to the simultaneous overclocking group

nvidia-smi clocks -i 0,1 --sync-boost-add

image

It can be seen that GPUs 0 and 1 have been successfully added to synchronous overclocking group 0.

--sync-boost-list list all sync boost groups

List all simultaneous OC groups

Run the example

List all simultaneous OC groups

 nvidia-smi clocks --sync-boost-list

image

It can be seen that there are GPUs 0 and 1 in simultaneous overclocking group 0, and GPUs 5 and 6 in simultaneous overclocking group 1.

--sync-boost-add add a synchronous boost group

Add a simultaneous overclocking group

Run the example

Add GPUs 5 and 6 to a simultaneous overclocking group

nvidia-smi clocks -i 5,6 --sync-boost-add

image

It can be seen that GPUs No. 5 and No. 6 are successfully added to Synchronous Overclocking Group No. 1.

Notice:

The same GPU can only be added to one OC group.

image

As shown in the figure, when GPUs No. 5 and No. 6 have been added to No. 1 simultaneous overclocking group, adding No. 5 GPU to a new simultaneous overclocking group will cause an error.

--sync-boost-remove list all sync boost groups

Delete a sync boost group, the group id is obtained from --sync-boost-list.

Run the example

Delete simultaneous overclocking group 0

 nvidia-smi clocks --sync-boost-remove 0

Before deletion:

image

After deletion:

image

It can be seen that the No. 0 synchronous overclocking group has been deleted.

-h print help information

Run the example

Show nvidia-smi clocks help information

nvidia-smi clocks -h

image

The corresponding content is as follows:

nvidia-smi clocks -h

    clocks -- Control and query clock information.

    Usage: nvidia-smi clocks [options]

    Options include:
    [-i | --id]: Enumeration index, PCI bus ID or UUID. Provide comma
                 separated values for more than one device

    [ | --sync-boost-list]: List all synchronous boost groups

    [ | --sync-boost-add]: Add a synchronous boost group

    [ | --sync-boost-remove]: Remove a synchronous boost group. Provide the group id
                 returned from --sync-boost-list

    [-h | --help]: Display help information

Guess you like

Origin juejin.im/post/7233304089370787877