Simple Mining, HiveOS and PiMP OS

Moderators: Site Moderators, FAHC Science Team

Simple Mining, HiveOS and PiMP OS

Postby Ichbin3 » Tue Jul 14, 2020 10:19 am

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-fight-against-the-covid-19-infection/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.
Asus Z87-A, i5-4570, RTX 2080Ti_Rev.A@200W, Mint 19.3
Ichbin3
 
Posts: 80
Joined: Thu May 28, 2020 9:06 am
Location: Germany

Re: Simple Mining, HiveOS and PiMP OS

Postby MeeLee » Wed Jul 15, 2020 2:02 am

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
MeeLee
 
Posts: 1097
Joined: Tue Feb 19, 2019 11:16 pm

Re: Simple Mining, HiveOS and PiMP OS

Postby Ichbin3 » Wed Jul 15, 2020 8:26 pm

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.
Ichbin3
 
Posts: 80
Joined: Thu May 28, 2020 9:06 am
Location: Germany

Re: Simple Mining, HiveOS and PiMP OS

Postby MeeLee » Sun Jul 19, 2020 2:35 am

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.
MeeLee
 
Posts: 1097
Joined: Tue Feb 19, 2019 11:16 pm

Re: Simple Mining, HiveOS and PiMP OS

Postby Ichbin3 » Mon Jul 20, 2020 9:00 am

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?
Ichbin3
 
Posts: 80
Joined: Thu May 28, 2020 9:06 am
Location: Germany

Re: Simple Mining, HiveOS and PiMP OS

Postby MeeLee » Mon Jul 20, 2020 9:03 pm

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.
MeeLee
 
Posts: 1097
Joined: Tue Feb 19, 2019 11:16 pm

Re: Simple Mining, HiveOS and PiMP OS

Postby Ichbin3 » Wed Jul 22, 2020 11:45 am

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/questions/367584/how-to-adjust-nvidia-gpu-fan-speed-on-a-headless-node
Ichbin3
 
Posts: 80
Joined: Thu May 28, 2020 9:06 am
Location: Germany


Return to V7.5.1 Public Release Windows/Linux/MacOS X

Who is online

Users browsing this forum: No registered users and 1 guest

cron