Skip to content

Instantly share code, notes, and snippets.

@JohanAR
Created December 2, 2022 07:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JohanAR/88a295684116c7ad31f986687f1b282f to your computer and use it in GitHub Desktop.
Save JohanAR/88a295684116c7ad31f986687f1b282f to your computer and use it in GitHub Desktop.
RTX3080 power limit
#!/bin/sh
# Set persistence mode on
nvidia-smi -i 0 -pm 1
# Set 200W power limit
nvidia-smi -i 0 -pl 200
# Limit max clock speed to 1850 MHz
nvidia-smi -i 0 -lgc 210,1850
# Add +325 MHz clock offset
nvidia-settings -a "[gpu:0]/GPUGraphicsClockOffsetAllPerformanceLevels=325"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment