Simple Mining, HiveOS and PiMP OS

Moderators: Site Moderators, FAHC Science Team

Post Reply
Ichbin3
Posts: 96
Joined: Thu May 28, 2020 8:06 am
Hardware configuration: MSI H81M, G3240, RTX 2080Ti_Rev-A@220W, Ubuntu 18.04
Location: Germany

Simple Mining, HiveOS and PiMP OS

Post by Ichbin3 »

Did anyone try this with f@h?
I'm asking because it seems to be possible to undervolt a NVIDIA-gpu at these os.

Edit:
found some news about HiveOS
https://forum.hiveos.farm/t/join-the-fi ... tion/14928
If I'll find time I'll give it a shot.
Edit2:
Because it is simply Ubuntu it is not possible to undervolt NVIDIA-cards. Still ...
Can be closed.
Image
MSI H81M, G3240, RTX 2080Ti_Rev-A@220W, Ubuntu 18.04
MeeLee
Posts: 1375
Joined: Tue Feb 19, 2019 10:16 pm

Re: Simple Mining, HiveOS and PiMP OS

Post by MeeLee »

While it's not recommended to undervolt Nvidia GPUs, due to stability issues, you can do it on Ubuntu.
A better method, is to adjust the power curve on the GPU. Then the driver will automatically adjust the voltages to the lowest stable voltage.
Capping power on Ubuntu is as simple as doing:

sudo nvidia-smi -pl 133
Ichbin3
Posts: 96
Joined: Thu May 28, 2020 8:06 am
Hardware configuration: MSI H81M, G3240, RTX 2080Ti_Rev-A@220W, Ubuntu 18.04
Location: Germany

Re: Simple Mining, HiveOS and PiMP OS

Post by Ichbin3 »

MeeLee wrote:sudo nvidia-smi -pl 133
This I do know.
MeeLee wrote:undervolt Nvidia GPUs, due to stability issues, you can do it on Ubuntu.
Please show me how.
It seems to be a very hidden secret, because nobody in the whole internet knows this.
Image
MSI H81M, G3240, RTX 2080Ti_Rev-A@220W, Ubuntu 18.04
MeeLee
Posts: 1375
Joined: Tue Feb 19, 2019 10:16 pm

Re: Simple Mining, HiveOS and PiMP OS

Post by MeeLee »

Ichbin3 wrote:
MeeLee wrote:sudo nvidia-smi -pl 133
This I do know.
MeeLee wrote:undervolt Nvidia GPUs, due to stability issues, you can do it on Ubuntu.
Please show me how.
It seems to be a very hidden secret, because nobody in the whole internet knows this.
It's been experimented with before, reported and done before.
Maybe you don't know about it...

Undervolting Nvidia GPUs, might work on Core 22, but then you're way above the optimal setting for Core 21.
But when you set it for core 21, the voltage setting will crash WUs on core 22, because core 22 WUs are more GPU demanding, causing voltage drops, and instabilities.
The voltage setting is hard set, and has no auto adjustment for Nvidia GPUs.
Not only that, but even if your voltage is set perfectly, if the WU has one small fraction (a spike) in power consumption, the WU crashes.
It's the same as when you'd overclock the GPU too high. It's a fine tuning that requires days or weeks of testing, and being ok with a setting that works for the heaviest WUs on the hottest of days, but is slightly less optimal for cold days on smaller atom WUs.

Instead, limiting power consumption, will allow the driver to do it's work of auto-tuning the voltage for the optimal setting.
Since power usage and overclocking, still allows the driver to autoadjust/correct in case there's a higher than normal demand of activity, it will be more forgiving.

From the Boinc Forums I've read (but haven't tested), that AMD drivers are forgiving when dropping the voltage too low; but power capping can cause them to crash WUs.
Ichbin3
Posts: 96
Joined: Thu May 28, 2020 8:06 am
Hardware configuration: MSI H81M, G3240, RTX 2080Ti_Rev-A@220W, Ubuntu 18.04
Location: Germany

Re: Simple Mining, HiveOS and PiMP OS

Post by Ichbin3 »

MeeLee wrote: It's been experimented with before, reported and done before.
Maybe you don't know about it...
Would be nice to get some source, how to undervolt NVIDIA@Ubuntu.
Undervolting NVIDIA@Win10 is not a secret, but this is not what I'm running or asking for.
MeeLee wrote:The voltage setting is hard set
Does it mean it is coded into the bios of the gpu?
Image
MSI H81M, G3240, RTX 2080Ti_Rev-A@220W, Ubuntu 18.04
MeeLee
Posts: 1375
Joined: Tue Feb 19, 2019 10:16 pm

Re: Simple Mining, HiveOS and PiMP OS

Post by MeeLee »

Ichbin3 wrote:
MeeLee wrote: It's been experimented with before, reported and done before.
Maybe you don't know about it...
Would be nice to get some source, how to undervolt NVIDIA@Ubuntu.
Undervolting NVIDIA@Win10 is not a secret, but this is not what I'm running or asking for.
MeeLee wrote:The voltage setting is hard set
Does it mean it is coded into the bios of the gpu?
For voltage in Ubuntu there's no clear cut guide.
A while ago, I read an article on adjusting a whole lot of parameters, including fan speeds and voltage control of Nvidia GPUs in Arch Linux.
It wasn't regular terminal language.
I can't find the article back, but it's probably the closest thing documented, to getting fan speeds adjusted over SSH, or at boot.
Voltage control was also in there.
The procedure didn't work on Ubuntu.
I feel we're left out.

However, if it's possible in Windows, it's possible in Linux.
Though Linux is more easily reverse engineered. And Nvidia doesn't give a lot of their code away easily.
I think because their code runs on anything from GTX600 series all the way up to RTX Titans and Quadros.

I've repeatedly asked for simple things, like startup scripts to adjust fan control and pl at bootup on their forums. But no response.
Your closest thing to an answer will be there. Would be nice if you did find an answer, and shared.
Ichbin3
Posts: 96
Joined: Thu May 28, 2020 8:06 am
Hardware configuration: MSI H81M, G3240, RTX 2080Ti_Rev-A@220W, Ubuntu 18.04
Location: Germany

Re: Simple Mining, HiveOS and PiMP OS

Post by Ichbin3 »

Ichbin3 wrote: like startup scripts to adjust fan control and pl at bootup
This seems not to be very mystical.
This are two commands, one via nvidia-smi, second via nvidia-settings, written in an executable file and linked to startup.
Maybe it is not just simple simple, but possible.
You might have a look here:
https://unix.stackexchange.com/question ... dless-node
Image
MSI H81M, G3240, RTX 2080Ti_Rev-A@220W, Ubuntu 18.04
Post Reply