Cpu hindering or helping w/ gpu

A forum for discussing FAH-related hardware choices and info on actual products (not speculation).

Moderator: Site Moderators

Forum rules
Please read the forum rules before posting.
Post Reply
Green
Posts: 40
Joined: Wed Oct 22, 2014 6:46 pm
Location: Lexington, KY 40503
Contact:

Cpu hindering or helping w/ gpu

Post by Green »

If I start folding on my cpu, is it worth any drop in points I may incure on the gpu? I assume gpu folding does tax the cpu a little. I only have a 4600 in this machine. Anyways, on my mind as I drop 12 gigs of ram next week, because while f@h might not need it, a computer left on does need it.
Very Respectfully
Ben D.C. Bruner
Mstenholm
Posts: 84
Joined: Fri Oct 22, 2010 10:17 pm
Hardware configuration: 4 x GTX 970. Win 7.

Re: Cpu hindering or helping w/ gpu

Post by Mstenholm »

As long as you leave one core/thread for the GPU folding you will be good. I know for sure that using all threads on WCG and folding on a NVidia GPU will lose me more than 20 % PPD. If you want to have a more qualified answer we need to know what kind of hardware you plan to use.
7im
Posts: 10179
Joined: Thu Nov 29, 2007 4:30 pm
Hardware configuration: Intel i7-4770K @ 4.5 GHz, 16 GB DDR3-2133 Corsair Vengence (black/red), EVGA GTX 760 @ 1200 MHz, on an Asus Maximus VI Hero MB (black/red), in a blacked out Antec P280 Tower, with a Xigmatek Night Hawk (black) HSF, Seasonic 760w Platinum (black case, sleeves, wires), 4 SilenX 120mm Case fans with silicon fan gaskets and silicon mounts (all black), a 512GB Samsung SSD (black), and a 2TB Black Western Digital HD (silver/black).
Location: Arizona
Contact:

Re: Cpu hindering or helping w/ gpu

Post by 7im »

The Fah client automatically reserves one CPU thread to feed the gpu client. Folding on the remaining threads of the CPU has no impact on gpu folding.
How to provide enough information to get helpful support
Tell me and I forget. Teach me and I remember. Involve me and I learn.
JonasTheMovie
Posts: 86
Joined: Wed Jan 06, 2016 4:16 am
Location: Northern Sweden

Re: Cpu hindering or helping w/ gpu

Post by JonasTheMovie »

As long as you use "-1" 7im, right?
Image
7im
Posts: 10179
Joined: Thu Nov 29, 2007 4:30 pm
Hardware configuration: Intel i7-4770K @ 4.5 GHz, 16 GB DDR3-2133 Corsair Vengence (black/red), EVGA GTX 760 @ 1200 MHz, on an Asus Maximus VI Hero MB (black/red), in a blacked out Antec P280 Tower, with a Xigmatek Night Hawk (black) HSF, Seasonic 760w Platinum (black case, sleeves, wires), 4 SilenX 120mm Case fans with silicon fan gaskets and silicon mounts (all black), a 512GB Samsung SSD (black), and a 2TB Black Western Digital HD (silver/black).
Location: Arizona
Contact:

Re: Cpu hindering or helping w/ gpu

Post by 7im »

Yes, and that is the default setting.
How to provide enough information to get helpful support
Tell me and I forget. Teach me and I remember. Involve me and I learn.
DemonfangArun
Posts: 95
Joined: Fri Sep 09, 2011 11:23 pm
Contact:

Re: Cpu hindering or helping w/ gpu

Post by DemonfangArun »

I'm going to assume that's an i5 chip, in which case you are correct in that -1 on the CPU slot will reserve 1 thread for the GPU, and use the remaining 3 threads for the CPU slot. More hardware info would be needed to determine how to best optimize your system, but I will leave some suggestions below.

AMD GPU: you should be fine with -1, as AMD GPU's don't need much CPU, and you should be fine with this
NVIDIA GPU: I would recommend reserving a CPU thread for the GPU, and another thread for daily tasks (web browsing, etc...). If this is a dedicated folding rig, then you should be fine running -1 in this scenario too.
This user has stopped using F@H because it supports fake crap!
Green
Posts: 40
Joined: Wed Oct 22, 2014 6:46 pm
Location: Lexington, KY 40503
Contact:

Re: Cpu hindering or helping w/ gpu

Post by Green »

my point is I see a point loss of about 30000 when I run on cpu. Should I still run a cpu?
Very Respectfully
Ben D.C. Bruner
DemonfangArun
Posts: 95
Joined: Fri Sep 09, 2011 11:23 pm
Contact:

Re: Cpu hindering or helping w/ gpu

Post by DemonfangArun »

Green wrote:my point is I see a point loss of about 30000 when I run on cpu. Should I still run a cpu?
with only 2-3 cores available, it's probably not worth it. by my estimates that CPU slot, even optimized right, wouldn't do much. that said, if you want to fold on it, it probably won't hinder your GPU if you set the number of threads to use in the slot settings to whatever your system has minus 2
This user has stopped using F@H because it supports fake crap!
Green
Posts: 40
Joined: Wed Oct 22, 2014 6:46 pm
Location: Lexington, KY 40503
Contact:

Re: Cpu hindering or helping w/ gpu

Post by Green »

30000 with 2 cpus
Very Respectfully
Ben D.C. Bruner
DemonfangArun
Posts: 95
Joined: Fri Sep 09, 2011 11:23 pm
Contact:

Re: Cpu hindering or helping w/ gpu

Post by DemonfangArun »

Green wrote:30000 with 2 cpus
Didn't know that was with that applied. In that case, I would say you are better off with no CPU folding. I can say this is the first instance I've come across where any CPU folding at all causes major GPU PPD reduction.
This user has stopped using F@H because it supports fake crap!
JonasTheMovie
Posts: 86
Joined: Wed Jan 06, 2016 4:16 am
Location: Northern Sweden

Re: Cpu hindering or helping w/ gpu

Post by JonasTheMovie »

I can see a massive drop on my GPU if I start NaCl on the CPU, was a bit surprised there. Thought that the GPU client would have higher priority to the CPU than the NaCl.
Image
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: Cpu hindering or helping w/ gpu

Post by Joe_H »

Running NaCl at which setting? If you are running it at 100%, then it is going to take all CPU cores. The NaCl client is totally separate from the FAH 7.4.4 client and does not have any interconnection to reserve a core for GPU folding. The NaCl process runs at the priority of the user process using Chrome.

The FAH client will by default reserve a core for the GPU slot unless overridden. It manages CPU and GPU folding slots setup within it, but can not do the same for CPU folding for another client, whether that is the NaCl one or the WCG client mentioned in Mstenholm's post.
Image

iMac 2.8 i7 12 GB smp8, Mac Pro 2.8 quad 12 GB smp6
MacBook Pro 2.9 i7 8 GB smp3
Sn1ken
Posts: 53
Joined: Tue Feb 11, 2014 12:58 pm

Re: Cpu hindering or helping w/ gpu

Post by Sn1ken »

It is worth noting the big difference when folding Nvidia vs AMD.

Nvidia is requiring a lot from the CPU. And new assignments seems to push the limit even further, and this becomes especially clear when using 980 TI.

In some cases the drop in PPD when folding CPU and GPU is absolutely not worth it when PPD is a factor. And somehow PPD is the measure that shows the scientific value of the contribution. What is the purpose of using more power to accomplish less science?

On the other hand, folding AMD will give another picture. But still the PPD pr watt is far greater on GPU vs CPU.
Image
7im
Posts: 10179
Joined: Thu Nov 29, 2007 4:30 pm
Hardware configuration: Intel i7-4770K @ 4.5 GHz, 16 GB DDR3-2133 Corsair Vengence (black/red), EVGA GTX 760 @ 1200 MHz, on an Asus Maximus VI Hero MB (black/red), in a blacked out Antec P280 Tower, with a Xigmatek Night Hawk (black) HSF, Seasonic 760w Platinum (black case, sleeves, wires), 4 SilenX 120mm Case fans with silicon fan gaskets and silicon mounts (all black), a 512GB Samsung SSD (black), and a 2TB Black Western Digital HD (silver/black).
Location: Arizona
Contact:

Re: Cpu hindering or helping w/ gpu

Post by 7im »

When you are so far up the points curve on the exponential QRB scale with very fast hardware like the 980, even the very smallest event has an extremely significant impact on the bonus points. Very much disproportional to the actual difference in the science getting done, IMO.
How to provide enough information to get helpful support
Tell me and I forget. Teach me and I remember. Involve me and I learn.
bruce
Posts: 20824
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

Re: Cpu hindering or helping w/ gpu

Post by bruce »

When Stanford designed NaCl, they assumed it would be the only FAH program running. That's not to say that you can't run both, but their plan didn't include accommodating any possible interactions.

The same is fundamentally true for the GPU core and for the CPU core .. except for the one accommodation for the fact that using all your CPUs will over-commit the CPU, causing unplanned delays. DemonfangArun alludes to that fact with his comments about sometimes reserving a second CPU for a computer that's frequently used for other things. When managing multiple clients, things get pretty complicated pretty rapidly.
Post Reply