22
Sep 2022
To set the GPU clock on Nvidia GPU utilizing the nvidia-smi tool you require to utilize the -lgc specification. For example to set the GPU clock to 1050 MHz you would need to run nvidia-smi -lgc 1050 as on the example screenshot above. Do note that this will be the GPU clock that your Nvidia graphic adapter( s) will be running at ONLY if they are permitted to by their power limiter at the minute, but more on that in a moment.
To set the GPU Power Limit on Nvidia GPU utilizing the nvidia-smi tool you require to use the -pl specification. So, for example to set the GPU Power Limit to 120W you would require to run nvidia-smi -pl 120 as on the example screenshot above. When set the Power Limit is fixed no matter other options of the GPU.
The Nvidia System Management Interface (nvidia-smi) is a command line utility, based on top of the Nvidia Management Library (NVML), planned to aid in the management and monitoring of Nvidia GPU devices. It has a number of useful commands for mainly monitoring the status of your Nvidia GPUs, but there are some commands that can be beneficial for miners too. There are two commands that well be discussing here now that can be beneficial to assist you enhance your mining efficiency and while here the focus is for usage under Windows, the nvidia-smi tool is likewise offered for Linux and can be used there too. Well be learning how to lock the operating frequency of an Nvidia GPU to a specific fixed value as well as how to manage the power limitation of that specific GPU as well and how these 2 commands can match each other well in order to enhance the performance and energy efficiency of a mining rig based upon Nvidia GPUs.
In our example above we have actually set the GPU clock to 1050 MHz and the Power Limit to 120W for a mining rig with 6x Nvidia RTX 3070 GPUs, but as you can see from the NBMiner screenshot here the operating frequency is lower than the set worth while the Power Limit is also reported 119W instead of 120W, but small variation here is typical. Well, the important things is that at 120W of power use based on our limit here the said GPUs are just unable to function with such high GPU clock, however if we increase the power limit a bit more the video cards will have the ability to operate at 1050 MHz clock without an issue. What you require to make sure you do is to match well both of these specifications in order to get optimal efficiency with optimal power usage …
If you set the power limit limitation let us say 150W, but the GPU clock limit is at 1050 MHz the video cards will just consume around 130-135W and not the full 150 Watts. The technique here is to first see what GPU clock you need for the ideal performance of a certain video card, like for example the RTX 3070 (depending upon the make and model and operating conditions) can require someplace between around 850 and 1050 MHz GPU clock to give you 60 MHs of Ethash mining hashrate with 120W-130W of power usage as maximum. You simply need to experiment with your particular hardware a bit and see what works best and then you can automate the settings for optimal efficiency and power use via the batch file you utilize to run your mining software application.
— Some ideas on how to Monitor and Control Your Nvidia GPUs While Mining with nvidia-smi …
Publihsed in: Mining Software
Related tags: Nvidia fixed clock, Nvidia repaired clock Windows, Nvidia repaired GPU clock, Nvidia fixed GPU clock Windows, Nvidia lock GPU clock, Nvidia lock power limit, Nvidia mining fine-tune, Nvidia tweak, nvidia-smi, nvidia-smi gpu clock lock, nvidia-smi gpu lock, nvidia-smi gpu power limit, nvidia-smi power limitation
Fixing or locking the GPU frequency to a specific level or the power limit on an Nvidia GPU with the nvidia-smi tool on Windows needs you to start a “Command Prompt” window, however make sure you do so with Administrator advantages, otherwise you will not be able to alter anything as you would not have actually the needed approvals. The nvidia-smi tool needs to be consisted of in the Path, so no need to run it from a particular area, though you may wish to run it from a Batch (BAT) file in order to automate it with the start of a miner for instance. Considering that it requires Admin advantages you can not set the Batch file to be performed as Admin by default, but if you make a Shortcut to the BAT file you can set the Shortcut in Windows to be ran as Administrator and that would get the job done.
Check Some More Similar Crypto Related Publications:
Repairing or locking the GPU frequency to a specific level or the power limit on an Nvidia GPU with the nvidia-smi tool on Windows requires you to begin a “Command Prompt” window, but make sure you do so with Administrator advantages, otherwise you will not be able to change anything as you would not have the required permissions. To set the GPU clock on Nvidia GPU utilizing the nvidia-smi tool you need to use the -lgc parameter. To set the GPU Power Limit on Nvidia GPU utilizing the nvidia-smi tool you require to use the -pl criterion.
Well be learning how to lock the operating frequency of an Nvidia GPU to a specific fixed value as well as how to control the power limitation of that specific GPU as well and how these two commands can match each other well in order to enhance the performance and energy performance of a mining rig based on Nvidia GPUs.