Welcome to MilkyWay@home

Performance discrepancy

Message boards : Number crunching : Performance discrepancy
Message board moderation

To post messages, you must log in.

AuthorMessage
Ulrich Metzner
Avatar

Send message
Joined: 11 Apr 15
Posts: 58
Credit: 63,291,127
RAC: 0
Message 63356 - Posted: 11 Apr 2015, 15:04:02 UTC

Hello everybody,

i'm new to this project and have a question:
My system is a dual GPU setup using a Nvidia GT 640 an a Nvidia GT 430. In other projects the GT 640 is about 2.5 times faster than the GT 430 but not so in Milkyway. Here the GT 430 completes a standard task in about 20 minutes, where the GT 640 uses about 25 minutes. Also the GPU load is ~80-90% on the GT 430 where the GT 640 reaches only ~55-60& GPU load. Is there a way to improve the performance and load on the GT 640?
Aloha, Uli

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

Send message
Joined: 11 Dec 08
Posts: 8
Credit: 14,977,931
RAC: 0
Message 63358 - Posted: 12 Apr 2015, 0:05:57 UTC
Last modified: 12 Apr 2015, 0:08:37 UTC

The applications via this project depend on FP64. In general, consumer Kepler excluding Titan lags behind Fermi architecture due to Kepler having FP64 locked down to 1/24 of the FP32 compute rating. The GT 430 is set at 1/12 of the FP32 rating. By my calculations, the GT 640 still comes ahead due to having a much higher FP32 GFLOPS rating than the GT 430 and should run at approximately 25.5-33.5 GFLOPS FP64 compared to 22.4 GFLOPS FP64 of the GT 430. There are several variants of the GT 640 with different compute ratings.

Based on this, my guess would be that the GT 640 is not boosting to full clock speed due to the GPU not being fully loaded. You can setup an app_config.xml file in the milkyway project folder and run two tasks per GPU to see if this increases the GPU load and resulting frequency.

<app_config>
<app>
<name>milkyway</name>
<gpu_versions>
<gpu_usage>0.5</gpu_usage>
<cpu_usage>0.05</cpu_usage>
</gpu_versions>
</app>
</app_config>
ID: 63358 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
[TA]Assimilator1
Avatar

Send message
Joined: 22 Jan 11
Posts: 375
Credit: 64,657,871
RAC: 0
Message 63362 - Posted: 12 Apr 2015, 10:19:13 UTC - in response to Message 63358.  

Even 'only' running 1 WU at a time the 640 should be achieving a much higher GPU load, maybe there isn't enough spare CPU resources for the GPUs?

Ulrich
If you pause crunching on the 430 does the GPU load on the 640 go up?
Do you leave a spare CPU core for the 2 GPUs when running MW?
Team AnandTech - SETI@H, DPAD, F@H, MW@H, A@H, LHC, POGS, R@H, Einstein@H, DHEP, WCG

Main rig - Ryzen 5 3600, MSI B450 G.Pro C. AC, RTX 3060Ti 8GB, 32GB DDR4 3200, Win 10 64bit
2nd rig - i7 4930k @4.1 GHz, HD 7870 XT 3GB(DS), 16GB DDR3 1866, Win7
ID: 63362 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Ulrich Metzner
Avatar

Send message
Joined: 11 Apr 15
Posts: 58
Credit: 63,291,127
RAC: 0
Message 63367 - Posted: 12 Apr 2015, 13:59:03 UTC

Hi there,

thanks for the suggestions, i tried them. I freed one core, but the GPU load on the GT 640 remained at about 55-60%. The GT 640 is running at max speed, there is no throttling. Excluding the GT 430 does not influence the crunching on the GT 640. The only way to max out the GT 640 is running two instances via app_config.xml, but then screen lags occur and the GT 430 starts thrashing memory. I think i'll have to live with that. :?
Aloha, Uli

ID: 63367 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile mikey
Avatar

Send message
Joined: 8 May 09
Posts: 3321
Credit: 520,524,206
RAC: 27,242
Message 63380 - Posted: 15 Apr 2015, 10:07:43 UTC - in response to Message 63367.  

Hi there,

thanks for the suggestions, i tried them. I freed one core, but the GPU load on the GT 640 remained at about 55-60%. The GT 640 is running at max speed, there is no throttling. Excluding the GT 430 does not influence the crunching on the GT 640. The only way to max out the GT 640 is running two instances via app_config.xml, but then screen lags occur and the GT 430 starts thrashing memory. I think i'll have to live with that. :?


You could run the 640 here and the 430 on seti gpu units and the 640 could run 2 units at once while the 430 could run only one unit at a time. That should help the thrashing and optimize things.
ID: 63380 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Ulrich Metzner
Avatar

Send message
Joined: 11 Apr 15
Posts: 58
Credit: 63,291,127
RAC: 0
Message 63544 - Posted: 9 May 2015, 16:54:39 UTC

Hi there,

i finally found the optimal configuration for my GPU setup. I now run two instances of Milkyway per GPU and one instance on CPU. For that i use the following app_config.xml:

<app_config>

<app>
<name>milkyway</name>
<gpu_versions>
<gpu_usage>0.5</gpu_usage>
<cpu_usage>0.25</cpu_usage>
</gpu_versions>
</app>

</app_config>


Additionally i raised the "Frequency (in Hz) that should try to complete individual work chunks." from 60 to 100, to prevent screen lags. Now the GPU usage is a constant 99% on both GPUs and the system is responsive and usable without deficits. Thanks everyone for the suggestions! :)
Aloha, Uli

ID: 63544 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile mikey
Avatar

Send message
Joined: 8 May 09
Posts: 3321
Credit: 520,524,206
RAC: 27,242
Message 63548 - Posted: 10 May 2015, 10:18:35 UTC - in response to Message 63544.  

Hi there,

i finally found the optimal configuration for my GPU setup. I now run two instances of Milkyway per GPU and one instance on CPU. For that i use the following app_config.xml:

<app_config>

<app>
<name>milkyway</name>
<gpu_versions>
<gpu_usage>0.5</gpu_usage>
<cpu_usage>0.25</cpu_usage>
</gpu_versions>
</app>

</app_config>


Additionally i raised the "Frequency (in Hz) that should try to complete individual work chunks." from 60 to 100, to prevent screen lags. Now the GPU usage is a constant 99% on both GPUs and the system is responsive and usable without deficits. Thanks everyone for the suggestions! :)


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

Message boards : Number crunching : Performance discrepancy

©2024 Astroinformatics Group