Limit GPU usage %?

Moderators: Site Moderators, FAHC Science Team

Post Reply
terrabusi
Posts: 1
Joined: Sat Mar 14, 2020 3:49 am

Limit GPU usage %?

Post by terrabusi »

Hello, is there any way to limit the GPU usage to some %? Currently I can only fold with 100% GPU usage. This is pretty inconvenient, I want to fold while I work but I need my CPU so I thought I could fold with the GPU while working. The problem is that the GPU at 100% usage its very loud and generates a lot of heat.

Basically, I would like to limit the GPU usage % so I can fold while also working on my PC.

Thanks.
raven562
Posts: 16
Joined: Wed Mar 11, 2020 4:26 pm
Contact:

Re: Limit GPU usage %?

Post by raven562 »

Got same issue.
Fix it with overclocking software from gpu vendor's site. Slight downclocking wanish that noise.
JimboPalmer
Posts: 2522
Joined: Mon Feb 16, 2009 4:12 am
Location: Greenwood MS USA

Re: Limit GPU usage %?

Post by JimboPalmer »

Welcome to Folding@Home!

The driver software for the Graphics Card would need to resemble a multitasking Operating System, to have Priorities. Since the major users (Gamers) of Graphics cards have no desire to share or slow their card, Nvidia and AMD have no 'market' for a driver that can slow down Graphics in software.

raven562's idea to slow down the hardware, is your best bet.

Both AMD and Nvidia have been kind to F@H, you have to admit we do not make a large portion of their market.

BTW, Windows, Mac and Linux are multitasking OSs, and F@H defaults to low priority, so in most cases it does not slow other work on your CPU. Very rarely, a lack of RAM, heavy Graphics use, or a slow drive can slow other work, but mostly F@H gets out of the way on CPUs.

So far, no one makes a multitasking OS for GPUs, and there really is very little demand for one. But I want one for Folding.
Tsar of all the Rushers
I tried to remain childlike, all I achieved was childish.
A friend to those who want no friends
foldy
Posts: 2040
Joined: Sat Dec 01, 2012 3:43 pm
Hardware configuration: Folding@Home Client 7.6.13 (1 GPU slots)
Windows 7 64bit
Intel Core i5 2500k@4Ghz
Nvidia gtx 1080ti driver 441

Re: Limit GPU usage %?

Post by foldy »

I use MSI Afterburner to limit power usage of GPU which makes it silent again.
Fotis_RT
Posts: 1
Joined: Sat Mar 14, 2020 11:02 pm
Hardware configuration: OS Name Microsoft Windows 10 Pro
Version 10.0.18363 Build 18363

System Manufacturer Gigabyte Technology Co., Ltd.
System Model X570 AORUS ELITE

Processor AMD Ryzen 7 3700X
BIOS Version/Date American Megatrends Inc. F12f, 06-Mar-20
SMBIOS Version 3.2

Installed Physical Memory (RAM) 16.0 GB
Total Physical Memory 16.0 GB

Name AMD Radeon RX 5700 XT
PNP Device ID PCI\VEN_1002&DEV_731F&SUBSYS_0B361002&REV_C1\6&F397DEA&0&00000019
Adapter Type AMD Radeon Graphics Processor (0x731F), Advanced Micro Devices, Inc. compatible

Adapter RAM (1,048,576) bytes
Driver Version 26.20.15019.15019

Memory Address 0xE0000000-0xF01FFFFF
Memory Address 0xF0000000-0xF01FFFFF
I/O Port 0x0000E000-0x0000EFFF
Memory Address 0xFCB00000-0xFCBFFFFF
IRQ Channel IRQ 4294967257
I/O Port 0x000003B0-0x000003BB
I/O Port 0x000003C0-0x000003DF
Memory Address 0xA0000-0xBFFFF

Re: Limit GPU usage %?

Post by Fotis_RT »

Hi!

I also want a way to limit the GPU% used for folding, but not the GPU's total power.
Essentially, I want to be able to game on my PC while also folding, without folding impacting my gaming.

Ideally, it would automatically use a lower GPU% that I set while I'm "working", then switch to a different Idle setting when I'm not using the PC.
If anyone has figured out a way to do that, please share :)
Gustavo
Posts: 2
Joined: Sun Mar 15, 2020 1:56 pm

Re: Limit GPU usage %?

Post by Gustavo »

On linux I set the power limit to 125w (down from 175w) of my 2060 super using nvidia-smi:

Code: Select all

sudo nvidia-smi -pl 125
that way it keeps its temperatures low enough to be silent.

It would be great to have another way to avoid stuttering on desktop usage while using OpenCL, but I haven't found one.
toTOW
Site Moderator
Posts: 6349
Joined: Sun Dec 02, 2007 10:38 am
Location: Bordeaux, France
Contact:

Re: Limit GPU usage %?

Post by toTOW »

Fotis_RT wrote:Hi!

I also want a way to limit the GPU% used for folding, but not the GPU's total power.
Essentially, I want to be able to game on my PC while also folding, without folding impacting my gaming.

Ideally, it would automatically use a lower GPU% that I set while I'm "working", then switch to a different Idle setting when I'm not using the PC.
If anyone has figured out a way to do that, please share :)
As stated above by JimboPalmer, the GPUs doesn't have a scheduler like CPUs have. It means that there's not way to manager priorities or limit what is processed by the GPU.

In you situation, he best is to manually pause the GPU slot before launching a game, and then resume it when you're done gaming.
Image

Folding@Home beta tester since 2002. Folding Forum moderator since July 2008.
Juanro49
Posts: 16
Joined: Wed Mar 18, 2020 8:10 pm
Contact:

Re: Limit GPU usage %?

Post by Juanro49 »

terrabusi wrote:Hello, is there any way to limit the GPU usage to some %? Currently I can only fold with 100% GPU usage. This is pretty inconvenient, I want to fold while I work but I need my CPU so I thought I could fold with the GPU while working. The problem is that the GPU at 100% usage its very loud and generates a lot of heat.

Basically, I would like to limit the GPU usage % so I can fold while also working on my PC.

Thanks.
you can try this to limit usage https://github.com/FoldingAtHome/fah-is ... -601378794
Consulta como ver TV y leer noticias desde tu movil en una sola app con FeedTV.
Apoya la investigación desde esta imagen Image
babay
Posts: 1
Joined: Sun Mar 29, 2020 2:55 am

Re: Limit GPU usage %?

Post by babay »

toTOW wrote: As stated above by JimboPalmer, the GPUs doesn't have a scheduler like CPUs have. It means that there's not way to manager priorities or limit what is processed by the GPU.
You're wrong. It's really possible to limit GPU usages and games do that very easy.
It's just like PWM. It's enough to alternate short periods of load and short periods without load.

Fully load the GPU for 1 ms. And then pause for 2 ms. Then full load again for 1 ms. And so on. It will give you 30% GPU usage.

There are topics on this forum with this idea at least since 2017.

For example, I'd like to contribute. But I have rather loud GPU. So I can't contribute with 100% GPU usage. Even setting lower frequency for GPU.
Joe_H
Site Admin
Posts: 7927
Joined: Tue Apr 21, 2009 4:41 pm
Hardware configuration: Mac Pro 2.8 quad 12 GB smp4
MacBook Pro 2.9 i7 8 GB smp2
Location: W. MA

Re: Limit GPU usage %?

Post by Joe_H »

babay wrote:You're wrong. It's really possible to limit GPU usages and games do that very easy.
It's just like PWM. It's enough to alternate short periods of load and short periods without load.
Yes, you can do it that way and the constant cycling is worse for the GPU than running it at a steady load.

Now, what most people are actually doing is use an utility such as Afterburner to set power and/or temperature limits. That works by reducing the clock to run the GPU at a slower speed.
Image

iMac 2.8 i7 12 GB smp8, Mac Pro 2.8 quad 12 GB smp6
MacBook Pro 2.9 i7 8 GB smp3
bruce
Posts: 20824
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

Re: Limit GPU usage %?

Post by bruce »

Nobody has found a realistic method of Folding while Gaming. The only option we have is configureing the FAH GPU slot to run while idle. When you fall asleep and drop the joystick (or mouse or whatever) your OS will detect that you're no longer using the and signal that any screensaver that's waiting to run can take over. FAH doesn't really use a screensaver, but FAHClient can accept that signal that it's okay to let FAHCore_22 go back to work. Later, when you wake up the computer, FAHCore_22 will enter the paused state.

Under ideal conditions, those transitions will only happen a couple times per day. It's phenomenally better than the 1ms/2ms transitions suggested above.
Manfred.Knick
Posts: 36
Joined: Wed Mar 25, 2020 10:21 am
Hardware configuration: Multiple XEON + GTX
Location: Germany

Re: Limit GPU usage %?

Post by Manfred.Knick »

Gustavo wrote: ... avoid stuttering on desktop usage while using OpenCL ...
To me, this is the crucial point to keep up folding during the whole day while working.

E.g., typing 10-fingers quickly, it is absolutely irritating if my XEON-based WS can't keep up the keyboard etc. pp.
Post Reply