Why are CPU projects worth so few points relative to GPU?

Moderators: Site Moderators, FAHC Science Team

vica153
Posts: 16
Joined: Thu Mar 19, 2020 7:29 pm

Re: Why are CPU projects worth so few points relative to GPU

Post by vica153 »

Anyway, the original question was about CPU vs GPU points. I was under the impression that some projects required the use of a CPU instead of GPU. Apparently that was incorrect and it is simply a distribution of work to available computing resources. That pretty much invalidates the rest of my arguments about the point system.
BobWilliams757
Posts: 520
Joined: Fri Apr 03, 2020 2:22 pm
Hardware configuration: ASRock X370M PRO4
Ryzen 2400G APU
16 GB DDR4-3200
MSI GTX 1660 Super Gaming X

Re: Why are CPU projects worth so few points relative to GPU

Post by BobWilliams757 »

bruce wrote:FAH is not waiting around 8 days for your GT430 to finish it, but it's certainly possible that on somebody else's machiine that may be sort of true. They're waiting around to give the GT430 credit for trying. FAH waiting one day for that WU to be completed. Once the WU reaches the 1-day timeout, the WU will be duplicated and sent to somebody else. After the timeout, FAH has given up on your GT430 and decided they'd be better off finding somebody else to depend on who might happen to have a 1050 Ti.

After the Timeout expires, FAH is waiting for 8 days to consider granting a modicum of points for the failed effort to complete the WU. After the time out expires, the QRB points are disabled. Then they're willing to wait 7 more days to award (only) baseline points or to decide to give no credit at all to that slow GPU.

Forgive the newbie question, but is this to say that essentially FAH will move on and not ever waste time on WU's if there is more capable hardware to take it over if not completed in that one day period?

I have no concern about points or the QRB, just trying to clarify to make sure the work gets done quickly when possible. I'm assuming the WU's are assigned with the intention that the target machine can do the WU within a day.

I did some folding years ago when my hardware was more "cutting edge" then got away from it when hardware became less of a priority to me. Being I'm now running a stock 2400G setup, I know there are machines that run circles around it.
Fold them if you get them!
JimboPalmer
Posts: 2522
Joined: Mon Feb 16, 2009 4:12 am
Location: Greenwood MS USA

Re: Why are CPU projects worth so few points relative to GPU

Post by JimboPalmer »

Between when you get a WU and it's timeout, F@H will not assign it to others. If it times out, then some other folder will get it, F@H does not have a clear idea who is 'capable' or not. All they get for a CPU is the number of cores assigned.
Tsar of all the Rushers
I tried to remain childlike, all I achieved was childish.
A friend to those who want no friends
Neil-B
Posts: 1996
Joined: Sun Mar 22, 2020 5:52 pm
Hardware configuration: 1: 2x Xeon E5-2697v3@2.60GHz, 512GB DDR4 LRDIMM, SSD Raid, Win10 Ent 20H2, Quadro K420 1GB, FAH 7.6.21
2: Xeon E3-1505Mv5@2.80GHz, 32GB DDR4, NVME, Win10 Pro 20H2, Quadro M1000M 2GB, FAH 7.6.21 (actually have two of these)
3: i7-960@3.20GHz, 12GB DDR3, SSD, Win10 Pro 20H2, GTX 750Ti 2GB, GTX 1080Ti 11GB, FAH 7.6.21
Location: UK

Re: Why are CPU projects worth so few points relative to GPU

Post by Neil-B »

… but just because a WU might not complete within its timeout doesn't mean it should not be completed … it might not get reissued if the folding resource are limited (true, not necessarily the case at the moment) … but if the WU is completed in say 1.5x the timeout it may well complete before the reissued WU completes and so it is better for science to keep going - the machine to which it is reissued might be slower than the one that can't make the timeout !!
2x Xeon E5-2697v3, 512GB DDR4 LRDIMM, SSD Raid, W10-Ent, Quadro K420
Xeon E3-1505Mv5, 32GB DDR4, NVME, W10-Pro, Quadro M1000M
i7-960, 12GB DDR3, SSD, W10-Pro, GTX1080Ti
i9-10850K, 64GB DDR4, NVME, W11-Pro, RTX3070

(Green/Bold = Active)
Roadpower
Posts: 71
Joined: Mon Mar 16, 2020 5:11 pm

Re: Why are CPU projects worth so few points relative to GPU

Post by Roadpower »

After reading this thread and watching my 2070 Super perform, I'm thinking more than ever about getting a second one. First one cost me a bit more than $600 with the taxes but I'm not complaining and it is cranking out the work at a good pace. I also can't take the cash to the grave with me.
BobWilliams757
Posts: 520
Joined: Fri Apr 03, 2020 2:22 pm
Hardware configuration: ASRock X370M PRO4
Ryzen 2400G APU
16 GB DDR4-3200
MSI GTX 1660 Super Gaming X

Re: Why are CPU projects worth so few points relative to GPU

Post by BobWilliams757 »

Thanks for the responses. The timeout limits are generous enough that just about anything that will fold should be able to handle it.
Fold them if you get them!
Nuitari
Posts: 78
Joined: Sun Jun 09, 2019 4:03 am
Hardware configuration: 1x Nvidia 1050ti
1x Nvidia 1660Super
1x Nvidia GTX 660
1x Nvidia 1060 3gb
1x AMD rx570
2x AMD rx560
1x AMD Ryzen 7 PRO 1700
1x AMD Ryzen 7 3700X
1x AMD Phenom II
1x AMD A8-9600
1x Intel i5-4590S

Re: Why are CPU projects worth so few points relative to GPU

Post by Nuitari »

So should I turn off the GT520 so that there is an extra core available for the CPU (i5-4590S) ?

Would it hurt the science to keep the GT520 running? It takes about 4 to 5 days to complete a WU. Recently it shows that most completed WU were also done by someone else, but looking at the past it is less likely.
Is there a setting that we can use to flag that its not a powerful gpu ?
Image
PantherX
Site Moderator
Posts: 6986
Joined: Wed Dec 23, 2009 9:33 am
Hardware configuration: V7.6.21 -> Multi-purpose 24/7
Windows 10 64-bit
CPU:2/3/4/6 -> Intel i7-6700K
GPU:1 -> Nvidia GTX 1080 Ti
§
Retired:
2x Nvidia GTX 1070
Nvidia GTX 675M
Nvidia GTX 660 Ti
Nvidia GTX 650 SC
Nvidia GTX 260 896 MB SOC
Nvidia 9600GT 1 GB OC
Nvidia 9500M GS
Nvidia 8800GTS 320 MB

Intel Core i7-860
Intel Core i7-3840QM
Intel i3-3240
Intel Core 2 Duo E8200
Intel Core 2 Duo E6550
Intel Core 2 Duo T8300
Intel Pentium E5500
Intel Pentium E5400
Location: Land Of The Long White Cloud
Contact:

Re: Why are CPU projects worth so few points relative to GPU

Post by PantherX »

Nuitari wrote:So should I turn off the GT520 so that there is an extra core available for the CPU (i5-4590S) ?...
That's a choice for you to make. My recommended is to use the PPD to make that decision as it means you get the most science done out of your system and contribution.
Nuitari wrote:...Would it hurt the science to keep the GT520 running? It takes about 4 to 5 days to complete a WU. Recently it shows that most completed WU were also done by someone else, but looking at the past it is less likely...
As long as you successfully finish all the assigned WUs before the Timeout date, you're not hurting Science at all. Occassionally, a WU might be assigned to few Donors when the original WU either reports an error (to verify that it is indeed a bad WU and not an unstable GPU) or it is "lost" (wasn't returned by the Timeout date).
Nuitari wrote:...Is there a setting that we can use to flag that its not a powerful gpu ?
At this stage, there's no flag to identify a powerful GPU from a a low-end one. We can only allocate WUs based upon the GPU's architecture, not its model.
ETA:
Now ↞ Very Soon ↔ Soon ↔ Soon-ish ↔ Not Soon ↠ End Of Time

Welcome To The F@H Support Forum Ӂ Troubleshooting Bad WUs Ӂ Troubleshooting Server Connectivity Issues
JimboPalmer
Posts: 2522
Joined: Mon Feb 16, 2009 4:12 am
Location: Greenwood MS USA

Re: Why are CPU projects worth so few points relative to GPU

Post by JimboPalmer »

Nuitari wrote:So should I turn off the GT520 so that there is an extra core available for the CPU (i5-4590S) ?

Would it hurt the science to keep the GT520 running? It takes about 4 to 5 days to complete a WU. Recently it shows that most completed WU were also done by someone else, but looking at the past it is less likely.
Is there a setting that we can use to flag that its not a powerful gpu ?
You will do a little more science with one more CPU core, but do what you like so you keep doing it.

Finishing late hurts because the second attempt won't start until you time out.

But sincerely, do what you enjoy!
Tsar of all the Rushers
I tried to remain childlike, all I achieved was childish.
A friend to those who want no friends
Crunchtimer
Posts: 50
Joined: Tue May 05, 2020 5:34 am

Re: Why are CPU projects worth so few points relative to GPU

Post by Crunchtimer »

Hi guys
I'm wondering if anybody has an idea of the correlation between WU distribution, number of steps per WU, GPU utilization, credits etc.
I have two servers equipped with 4 Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz and 1 NVIDIA Tesla T4 GPU dedicated to F@H.
Each WU assigned to the GPUs varies in the total number of steps required, e.g. 500.000, 2.000.000, 8.000.000 etc. however, each WU %-step takes, more or less, the same amount of time ~150 seconds for them to complete, i.e. the servers require ~ the same amount to time to complete 5.000 steps as 80.000 steps for different WUs. Now WUs generatedifferent amount of credit depending on the number of steps required it seems, for example 77.500 credits for a WU of 500.000 steps and 147.000 credits for a WU of 2.000.000 steps.

My question is now:
1) Can I manually decide how big WUs I can allocate my servers as they seem underutilized taking on less than 10Mega-steps WUs.
2) Are there any correlation between steps and complexity of WUs

Not sure if my questions are in the right order, but please share your thoughts and knowledge on this one.

Thanks!
ajm
Posts: 750
Joined: Sat Mar 21, 2020 5:22 am
Location: Lucerne, Switzerland

Re: Why are CPU projects worth so few points relative to GPU

Post by ajm »

Not sure I understand your description. But each project has WUs with the same "Base Credit", that indicates its complexity (for the donor). The number of steps is always 100 (ie from 1 to 100%) and your "speed" is expressed as TPF (time per frame, in minutes), and that speed will vary according to the Base Credit. viewtopic.php?p=327412&f=24#p327409

No, you can't decide which WU will be allocated to you. The server will just match your hardware with the requirements defined by the scientists.
Joe_H
Site Admin
Posts: 7937
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: Why are CPU projects worth so few points relative to GPU

Post by Joe_H »

One correction to arm's post, a "step" is a specific amount of time between each iteration of the calculation. A WU may need to process for 500,000 steps or 5 million. What he is thinking of is referred to as a "frame". Now a frame is always equal to 1 percent of progress, but in the early years of F@h might not have been.

So yes there is a bit of correlation between complexity and number of steps. A smaller, less complex system sill usually be configured to run WUs for more time steps so the total time spent will be on the same order as a WU from a larger, more complex project. Consideration of upload size of the completed WU is also taken.

There is a setting in the client left over from dial up access and slower internet connections for requesting WUs that will have a results file smaller than a certain size. It can be specified in MB or "small", "normal", or "big". But this only refers to the normal upload size of the WU, and needs to have been set on the serve by a researcher. It does not have a direct link to length of time needed to process, or difficulty.
Image

iMac 2.8 i7 12 GB smp8, Mac Pro 2.8 quad 12 GB smp6
MacBook Pro 2.9 i7 8 GB smp3
Crunchtimer
Posts: 50
Joined: Tue May 05, 2020 5:34 am

Re: Why are CPU projects worth so few points relative to GPU

Post by Crunchtimer »

ajm wrote:Not sure I understand your description. But each project has WUs with the same "Base Credit", that indicates its complexity (for the donor). The number of steps is always 100 (ie from 1 to 100%) and your "speed" is expressed as TPF (time per frame, in minutes), and that speed will vary according to the Base Credit. viewtopic.php?p=327412&f=24#p327409

No, you can't decide which WU will be allocated to you. The server will just match your hardware with the requirements defined by the scientists.
Thanks for the replies to my questions!
Well if you check the fahclient log.txt you can see that each WU has different number of steps in addition to the %, and as Joe_H explained they don't seem to have a direct correlation to credits:

Code: Select all

20:20:26:WU01:FS01:0x22:Completed 1340000 out of 2000000 steps (67%)
20:20:33:WU00:FS00:0xa7:Completed 305000 out of 500000 steps (61%)
20:21:39:WU01:FS01:0x22:Completed 1360000 out of 2000000 steps (68%)
20:22:45:WU00:FS00:0xa7:Completed 310000 out of 500000 steps (62%)
20:22:50:WU01:FS01:0x22:Completed 1380000 out of 2000000 steps (69%)
20:24:01:WU01:FS01:0x22:Completed 1400000 out of 2000000 steps (70%)
I took some samples and calculated 2 ratios Credits/second (9.2 - 12.1) and Credit/step (0.01 - 0.16) which further supports what Joe_H explained, I guess.
Then I can happily sit back and expect 10x3600x24x2 credits each day from my 2 servers :)
bruce
Posts: 20824
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

Re: Why are CPU projects worth so few points relative to GPU

Post by bruce »

You've mentioned several important measurements of a WU but you've left out the biggest driver for project complexity and the associated points: The number of atoms. If the protein has 50 000 atoms and another has 100 000 the latter is not twice as complex; it's 4x as complex. Motions are governed by the forces between each PAIR of atoms,

See column 3: https://apps.foldingathome.org/psummary
Crunchtimer
Posts: 50
Joined: Tue May 05, 2020 5:34 am

Re: Why are CPU projects worth so few points relative to GPU

Post by Crunchtimer »

Thanks Bruce, that's interesting!
But I guess it's still like ajm says, that you can't decide which WU will be allocated to you?

Happy folding everyone!
Post Reply