GPU Boost
Posted on Tue 17 October 2017 in Notes
Display the current application clock:
$ nvidia-smi -q -i 0 -d CLOCK ==============NVSMI LOG============== [...] Attached GPUs : 1 GPU 0000:03:00.0 [...] Applications Clocks Graphics : 1404 MHz Memory : 5705 MHz Default Applications Clocks Graphics : 1404 MHz Memory : 5705 MHz Max Clocks Graphics : 1911 MHz SM : 1911 MHz Memory : 5705 MHz Video : 1708 MHz [...]
Enabled persistence mode to keep the driver and the changes loaded:
$ sudo nvidia-smi -pm ENABLED -i 0 Enabled persistence mode for GPU 0000:04:00.0. All done.
To see all possible parameters for Memory and Graphics clock rates of the card:
$ nvidia-smi -q -i 0 -d SUPPORTED_CLOCKS ==============NVSMI LOG============== Timestamp : Tue Oct 17 18:52:46 2017 Driver Version : 375.66 Attached GPUs : 1 GPU 0000:03:00.0 Supported Clocks Memory : 5705 MHz Graphics : 1911 MHz Graphics : 1898 MHz Graphics : 1885 MHz Graphics : 1873 MHz Graphics : 1860 MHz Graphics : 1847 MHz [...]
Change card setting to new Memory and Graphics clock rates (the pair must be from the previous list):
sudo nvidia-smi -ac 5705,1911 -i 0 Applications clocks set to "(MEM 5705, SM 1911)" for GPU 0000:03:00.0 All done.
Go back to default settings:
$ sudo nvidia-smi -rac -i 0 All done.