Skip to content

Instantly share code, notes, and snippets.

@imakin
Created June 4, 2021 04:34
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save imakin/7cfb0c9ac93baab757bc7e43c05d7392 to your computer and use it in GitHub Desktop.
Save imakin/7cfb0c9ac93baab757bc7e43c05d7392 to your computer and use it in GitHub Desktop.
how to overclock NVIDIA GPU on linux from command line
nvidia-settings -a [gpu:0]/GPUMemoryTransferRateOffset[4]=1500
nvidia-settings -a [gpu:1]/GPUMemoryTransferRateOffset[4]=2000
nvidia-settings -q all | grep CUDA | grep gpu
# Attribute 'CUDACores' (mkn2020:0[gpu:0]): 1920.
# Attribute 'CUDACores' (mkn2020:0[gpu:1]): 4864.
nvidia-smi -L
#GPU 0: NVIDIA GeForce RTX 3060 Ti (UUID: GPU-1e08c8ef-81e2-8759-0754-b4c30de0da7a)
#GPU 1: NVIDIA GeForce RTX 2060 (UUID: GPU-fc4f102f-e8c5-6d53-5ef5-1bcb348ddaa0)
nvidia-settings -q all | grep UUID | grep gpu
# Attribute 'GpuUUID' (mkn2020:0[gpu:0]): GPU-fc4f102f-e8c5-6d53-5ef5-1bcb348ddaa0
# Attribute 'GpuUUID' (mkn2020:0[gpu:1]): GPU-1e08c8ef-81e2-8759-0754-b4c30de0da7a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment