Skip to content

Instantly share code, notes, and snippets.

@arodd
Last active March 23, 2022 15:46
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 arodd/a2b1be229a1873c2fe36b9b05654c6ef to your computer and use it in GitHub Desktop.
Save arodd/a2b1be229a1873c2fe36b9b05654c6ef to your computer and use it in GitHub Desktop.
NVIDIA GPU Mining efficient clocks RTX 3080 TI FE/RTX 3080 12GB LHR/GTX 1660 6GB
#!/bin/bash
#Enables persistence mode
sudo nvidia-smi -i 0 -pm 1
sudo nvidia-smi -i 1 -pm 1
sudo nvidia-smi -i 2 -pm 1
#Set PowerLimits in watts
sudo nvidia-smi -i 0 -pl 366
sudo nvidia-smi -i 1 -pl 130
sudo nvidia-smi -i 2 -pl 450
#Lock Performance Mode
nvidia-settings -a "[gpu:0]/GPUPowerMizerMode=1"
nvidia-settings -a "[gpu:1]/GPUPowerMizerMode=1"
nvidia-settings -a "[gpu:2]/GPUPowerMizerMode=1"
#RTX 3080 TI FE
nvidia-settings -a "[gpu:0]/GPUGraphicsClockOffsetAllPerformanceLevels=-0" -a "[gpu:0]/GPUMemoryTransferRateOffsetAllPerformanceLevels=3200"
#Lock Graphics Core to reduce wattage
sudo nvidia-smi -i 0 -lgc 1600,1600
#GTX 1660
nvidia-settings -a "[gpu:1]/GPUGraphicsClockOffsetAllPerformanceLevels=-500" -a "[gpu:1]/GPUMemoryTransferRateOffsetAllPerformanceLevels=1950"
#Lock Graphics Core to reduce wattage
sudo nvidia-smi -i 1 -lgc 1300,1300
#Set Fan Speed
nvidia-settings -a "[gpu:1]/GPUFanControlState=1" -a "[gpu:1]/GPUTargetFanSpeed=80"
#RTX 3080 12GB LHR
nvidia-settings -a "[gpu:2]/GPUGraphicsClockOffsetAllPerformanceLevels=-1000" -a "[gpu:2]/GPUMemoryTransferRateOffsetAllPerformanceLevels=1350"
#Lock Graphics Core to reduce wattage
sudo nvidia-smi -i 2 -lgc 700,700
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment