GPU vs CPU WUs

Moderators: Site Moderators, FAHC Science Team

Post Reply
iero
Posts: 177
Joined: Tue Feb 09, 2021 10:40 am

GPU vs CPU WUs

Post by iero »

I was looking around the forum and the web, trying to understand some things. The question to which i arrived is the following:
Regarding any new WUs that get produced, could they all be writen is such a way that they run exclusively on GPUs, or do some
of the research must absoluterly call upon instruction sets that only CPUs can execute? :roll:
Image
GPU only
RTX 3060 12GB Gigabyte Gaming OC [currently mining]
Folding since 14/02/2021
bruce
Posts: 20910
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

Re: GPU vs CPU WUs

Post by bruce »

Yes, every project runs EITHER on the CPU (x86-64) or on supported GPUs. Each client automaically configures a slot to run CPU projects and another slot associated with each supported GPU. They'll run assignments independently of each other and you can manage the slots with FAHControl.

GPUs require OpenCL support and/or CUDA support. In most cases, we recommend drivers from the vendor. [We can help you if you have an unusual case.]
JimboPalmer
Posts: 2573
Joined: Mon Feb 16, 2009 4:12 am
Location: Greenwood MS USA

Re: GPU vs CPU WUs

Post by JimboPalmer »

Historically, there used to be WUs that had to be done on CPUs. Until 'recently' GPUs could not solve problems with explicit solvation while CPUs could. This has been solved.*
https://en.wikipedia.org/wiki/Solvent_model

Today, they choose CPU and GPU work by the complexity of the molecule. smaller molecules would 'waste' large GPU cards, as small molecules do not have enough bonds to occupy all the shaders. Those that are small enough, occupy the CPUs that are so abundant. As GPUs and CPUs get more complex (there are Epycs with 128 cores/256 threads) the size of 'small' molecules is also increasing.

*some part of "Why doesn't my ancient GPU work any more, I used to fold on it in 2018?" is that the researchers had to code for features old GPUs do not have.
Tsar of all the Rushers
I tried to remain childlike, all I achieved was childish.
A friend to those who want no friends
iero
Posts: 177
Joined: Tue Feb 09, 2021 10:40 am

Re: GPU vs CPU WUs

Post by iero »

JimboPalmer wrote:Historically, there used to be WUs that had to be done on CPUs. Until 'recently' GPUs could not solve problems with explicit solvation while CPUs could. This has been solved.*
https://en.wikipedia.org/wiki/Solvent_model

Today, they choose CPU and GPU work by the complexity of the molecule. smaller molecules would 'waste' large GPU cards, as small molecules do not have enough bonds to occupy all the shaders. Those that are small enough, occupy the CPUs that are so abundant. As GPUs and CPUs get more complex (there are Epycs with 128 cores/256 threads) the size of 'small' molecules is also increasing.

*some part of "Why doesn't my ancient GPU work any more, I used to fold on it in 2018?" is that the researchers had to code for features old GPUs do not have.
My only gripe would be that wouldn't said underutilized GPU*if it was used for low count atoms instead of a cpu*
still be more energy efficient doing the same work? If that is true, does then need to still use CPUs arise from their abundance compared to available GPUs?*as far as F@h is concerned*
Image
GPU only
RTX 3060 12GB Gigabyte Gaming OC [currently mining]
Folding since 14/02/2021
gunnarre
Posts: 567
Joined: Sun May 24, 2020 7:23 pm
Location: Norway

Re: GPU vs CPU WUs

Post by gunnarre »

Note that an idle GPU can clock down, while a GPU working on a low atom count WU still has raise its clocks and voltages, leading to more power usage, so at some point I suspect the GPU and CPU efficiency intersects.
Image
Online: GTX 1660 Super, GTX 1080, GTX 1050 Ti 4G OC, RX580 + occasional CPU folding in the cold.
Offline: Radeon HD 7770, GTX 960, GTX 950
JimboPalmer
Posts: 2573
Joined: Mon Feb 16, 2009 4:12 am
Location: Greenwood MS USA

Re: GPU vs CPU WUs

Post by JimboPalmer »

If one had a GPU that was structurally sound (it did 64 bit Floating Point math and supported OpenCL 1.2) but was extremely slow, all you would need is a researcher who did not care when his/her project got done and a species for for 'sound but dead slow'. I do not think you are going to find the former, but I sincerely believe F@H is trying to achieve the latter.
Tsar of all the Rushers
I tried to remain childlike, all I achieved was childish.
A friend to those who want no friends
Post Reply