half GPU power usage on Nvidia RTX


Message boards : Number crunching : half GPU power usage on Nvidia RTX

Message board moderation

To post messages, you must log in.
AuthorMessage
Technik007[CZ]

Send message
Joined: 9 Sep 12
Posts: 1
Credit: 5,092,032
RAC: 1,680
Message 8630 - Posted: 28 Nov 2024, 14:37:01 UTC

Last modified: 28 Nov 2024, 14:45:14 UTC
On my GPU card Nvidia RTX 4070 Super when I am running primegrid tasks GPU and Power usage is nearly on 100%.
But with Asteroid@home app GPU usage is 100% but power usage about 50%.
Does anybody know why?

nvidia-smi
Thu Nov 28 14:35:58 2024
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 560.35.03 Driver Version: 560.35.03 CUDA Version: 12.6 |
|-----------------------------------------+------------------------+----------------------+
| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+========================+======================|
| 0 NVIDIA GeForce RTX 4070 ... On | 00000000:08:00.0 Off | N/A |
| 34% 61C P0 118W / 242W | 5890MiB / 12282MiB | 100% Default |
| | | N/A |
+-----------------------------------------+------------------------+----------------------+

+-----------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=========================================================================================|
| 0 N/A N/A 3068 G /usr/lib/xorg/Xorg 254MiB |
| 0 N/A N/A 4474 G compton 3MiB |
| 0 N/A N/A 357062 G /usr/lib/firefox/firefox 164MiB |
| 0 N/A N/A 373424 G ...erProcess --variations-seed-version 60MiB |
| 0 N/A N/A 383964 C ..._x86_64-pc-linux-gnu__cuda118_linux 2782MiB |
| 0 N/A N/A 384505 C ..._x86_64-pc-linux-gnu__cuda118_linux 2566MiB |
+-----------------------------------------------------------------------------------------+

note: running 1 single, 2 or 4 tasks at same time does not change anything
ID: 8630 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Keith Myers
Avatar

Send message
Joined: 16 Nov 22
Posts: 141
Credit: 157,431,259
RAC: 427,503
Message 8631 - Posted: 28 Nov 2024, 17:56:52 UTC
Check your Boinc settings for any restrictions on gpu usage or memory usage. Your computers are hidden so don't know whether they are Windows or Linux based. Could be Windows power settings I suspect.

I run 2X on my cards with a custom application and they utilize all the power I allow them to use.

A proud member of the OFA (Old Farts Association)
ID: 8631 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Honza1616

Send message
Joined: 18 Nov 15
Posts: 1
Credit: 13,601,493
RAC: 51,126
Message 8637 - Posted: 2 Dec 2024, 17:14:07 UTC - in response to Message 8630.  
On my GPU card Nvidia RTX 4070 Super when I am running primegrid tasks GPU and Power usage is nearly on 100%.
But with Asteroid@home app GPU usage is 100% but power usage about 50%.
Does anybody know why?

Tohle je častý problém mnoha projektů, sám nevím co to způsobuje, někdy pomůže spustit paralelně další výpočet
například
<app_config>
<app>
<name>period_search</name>
<max_concurrent>30</max_concurrent>
<fraction_done_exact/>
<gpu_versions>
<gpu_usage>0.5</gpu_usage>
<cpu_usage>0.01</cpu_usage>
</gpu_versions>
</app>
</app_config>

uložit jako app_config.xml v tomto adresáři
C:\ProgramData\BOINC\projects\asteroidsathome.net_boinc,
v Boincu pak dej možnosti -> načíst konfigurační soubory
u některých projektů se vytížení zvýší na plno nebo téměř na plno, samozřejmě se úměrně tomu protáhne doba výpočtu,
ale to je v tomto případě asi jedno, jestli děláš jeden výpočet 5 minut nebo 2 paralelní výpočty 10 minut.
Vzhledem k tomu že někdy tato úprava configu pomůže, tak bych řekl že je to chyba aplikace která je zastaralá a nebo neoptimalizovaná pro dnešní výkonný HW.
A ještě k tomu nastavení, když z toho chceš vyždímat maximum, mužeš si všimnout (při výpočtu 2 úkolů) že při dokončení jednoho vytížení GPU spadne zase na polovinu, je to tím že chvíli trvá než se nový úkol rozjede, z toho důvodu já někdy používám nastavení
<gpu_usage>0.33</gpu_usage> pro 3 paralelní úkoly
<gpu_usage>0.25</gpu_usage> nebo pro 4 paralelní úkoly
to aby grafická karta byla vždy vytížena aspoň 2 úkoly
ID: 8637 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Ian&Steve C.
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 23 Apr 21
Posts: 88
Credit: 119,528,081
RAC: 139,372
Message 8639 - Posted: 2 Dec 2024, 17:25:05 UTC - in response to Message 8630.  
On my GPU card Nvidia RTX 4070 Super when I am running primegrid tasks GPU and Power usage is nearly on 100%.
But with Asteroid@home app GPU usage is 100% but power usage about 50%.
Does anybody know why?

nvidia-smi
Thu Nov 28 14:35:58 2024
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 560.35.03 Driver Version: 560.35.03 CUDA Version: 12.6 |
|-----------------------------------------+------------------------+----------------------+
| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+========================+======================|
| 0 NVIDIA GeForce RTX 4070 ... On | 00000000:08:00.0 Off | N/A |
| 34% 61C P0 118W / 242W | 5890MiB / 12282MiB | 100% Default |
| | | N/A |
+-----------------------------------------+------------------------+----------------------+

+-----------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=========================================================================================|
| 0 N/A N/A 3068 G /usr/lib/xorg/Xorg 254MiB |
| 0 N/A N/A 4474 G compton 3MiB |
| 0 N/A N/A 357062 G /usr/lib/firefox/firefox 164MiB |
| 0 N/A N/A 373424 G ...erProcess --variations-seed-version 60MiB |
| 0 N/A N/A 383964 C ..._x86_64-pc-linux-gnu__cuda118_linux 2782MiB |
| 0 N/A N/A 384505 C ..._x86_64-pc-linux-gnu__cuda118_linux 2566MiB |
+-----------------------------------------------------------------------------------------+

note: running 1 single, 2 or 4 tasks at same time does not change anything


the Asteroids GPU application is heavily constrained by random memory access. this slows down overall computation A LOT. your GPU is waiting around for memory transfers more than it's actually computing, that's why the power used is so low, because it's not working that hard. it's not a problem, its just the nature of the application.

Primegrid is just crunching numbers, and doesnt have the same reliance on VRAM transfers, primegrid tasks mostly fit within the L2 cache on the 40-series cards from what i remember, and they are more optimized than the apps here. you basically can't compare two apps that are doing two totally different things.

ID: 8639 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote

Message boards : Number crunching : half GPU power usage on Nvidia RTX