Thursday, December 1, 2022
HomeCrypto MiningEasy methods to Lock Nvidia GPU Clock and Energy Restrict Below Home...

Easy methods to Lock Nvidia GPU Clock and Energy Restrict Below Home windows with Nvidia-smi


The Nvidia System Administration Interface (nvidia-smi) is a command line utility, based mostly on high of the Nvidia Administration Library (NVML), supposed to assist within the administration and monitoring of Nvidia GPU units. It has numerous helpful instructions for principally monitoring the standing of your Nvidia GPUs, however there are some instructions that may be helpful for miners as nicely. There are two instructions that we’ll be discussing right here now that may be helpful that can assist you optimize your mining efficiency and whereas right here the main target is to be used below Home windows, the nvidia-smi device can also be obtainable for Linux and can be utilized there as nicely. We’ll be studying how you can lock the working frequency of an Nvidia GPU to a sure fastened worth in addition to how you can management the facility restrict of that specific GPU as nicely and the way these two instructions can complement one another nicely so as to optimize the efficiency and vitality effectivity of a mining rig based mostly on Nvidia GPUs.

Fixing or locking the GPU frequency to a sure stage or the facility restrict on an Nvidia GPU with the nvidia-smi device on Home windows requires you to start out a “Command Immediate” window, however be sure to achieve this with Administrator privileges, in any other case you will be unable to vary something as you wouldn’t have the required permissions. The nvidia-smi device needs to be included within the Path, so no must run it from a selected location, although you would possibly need to run it from a Batch (BAT) file so as to automate it with the beginning of a miner as an example. Because it requires Admin privileges you can’t set the Batch file to be executed as Admin by default, however should you make a Shortcut to the BAT file you possibly can set the Shortcut in Home windows to be ran as Administrator and that will do the job.

To set the GPU clock on Nvidia GPU utilizing the nvidia-smi device it’s worthwhile to use the -lgc parameter. So, for instance to set the GPU clock to 1050 MHz you would wish to run nvidia-smi -lgc 1050 as on the instance screenshot above. Do observe that this would be the GPU clock that your Nvidia graphic adapter(s) will probably be operating at ONLY if they’re allowed to by their energy limiter in the intervening time, however extra on that in a second.

To set the GPU Energy Restrict on Nvidia GPU utilizing the nvidia-smi device it’s worthwhile to use the -pl parameter. So, for instance to set the GPU Energy Restrict to 120W you would wish to run nvidia-smi -pl 120 as on the instance screenshot above. When set the Energy Restrict is fastened no matter different choices of the GPU.

In our instance above we’ve got set the GPU clock to 1050 MHz and the Energy Restrict to 120W for a mining rig with 6x Nvidia RTX 3070 GPUs, however as you possibly can see from the NBMiner screenshot right here the working frequency is decrease than the set worth whereas the Energy Restrict can also be reported 119W as an alternative of 120W, however small variation right here is regular. Properly, the factor is that at 120W of energy utilization as per our restrict right here the mentioned GPUs are simply not in a position to perform with such excessive GPU clock, but when we improve the facility restrict a bit extra the video playing cards will be capable of function at 1050 MHz clock and not using a downside. So, what it’s worthwhile to be sure to do is to match nicely each of those parameters so as to get optimum efficiency with optimum energy utilization…

For those who set the facility restrict to allow us to say 150W, however the GPU clock restrict is at 1050 MHz the video playing cards will simply eat round 130-135W and never the total 150 Watts. The trick right here is to first see what GPU clock you want for the optimum efficiency of a sure video card, like for instance the RTX 3070 (relying on the make and mannequin and working situations) can require someplace between round 850 and 1050 MHz GPU clock to provide you 60 MHs of Ethash mining hashrate with 120W-130W of energy utilization as most. You simply must mess around together with your particular {hardware} a bit and see what works greatest after which you possibly can automate the settings for optimum efficiency and energy utilization by way of the batch file you utilize to run your mining software program.

Some concepts on how you can Monitor and Management Your Nvidia GPUs Whereas Mining with nvidia-smi…

  • Publihsed in: Mining Software program
  • Associated tags: Nvidia fastened clock, Nvidia fastened clock Home windows, Nvidia fastened GPU clock, Nvidia fastened GPU clock Home windows, Nvidia lock GPU clock, Nvidia lock energy restrict, Nvidia mining tweak, Nvidia tweak, nvidia-smi, nvidia-smi gpu clock lock, nvidia-smi gpu lock, nvidia-smi gpu energy restrict, nvidia-smi energy restrict

Verify Some Extra Related Crypto Associated Publications:



Please enter your comment!
Please enter your name here

Most Popular

Recent Comments