Question regarding use of CPU AND GPU

If you're new to FAH and need help getting started or you have very basic questions, start here.

Moderators: Site Moderators, FAHC Science Team

Post Reply
quak3man
Posts: 2
Joined: Sun Mar 04, 2012 4:12 pm

Question regarding use of CPU AND GPU

Post by quak3man »

Hello, i'm relatively new to folding and have completed several WU's using the GPU client with my Geforce GTX560TI . I was curious if it is possible to use both my Core I5 2500 and my GPU to work together on the same WU? If so how? Sorry if this is silly question. Thanks in advance.
JimboPalmer
Posts: 2522
Joined: Mon Feb 16, 2009 4:12 am
Location: Greenwood MS USA

Re: Question regarding use of CPU AND GPU

Post by JimboPalmer »

Yes.

The Nvidia GPU driver uses so little CPU that you can get full use of your CPUs. (AMD Drivers use more CPU, and it is often best to leave 1 CPU free to handle that load)

The v7 Client makes it easy to run CPU and GPU clients.
Tsar of all the Rushers
I tried to remain childlike, all I achieved was childish.
A friend to those who want no friends
Jesse_V
Site Moderator
Posts: 2850
Joined: Mon Jul 18, 2011 4:44 am
Hardware configuration: OS: Windows 10, Kubuntu 19.04
CPU: i7-6700k
GPU: GTX 970, GTX 1080 TI
RAM: 24 GB DDR4
Location: Western Washington

Re: Question regarding use of CPU AND GPU

Post by Jesse_V »

Hi there quak3man, welcome to the Folding@home support forum!

While it's possible to process separate WUs, each using different hardware under traditional v6 clients or the new v7 client, currently there is no way to have them process the same Work Unit. Such technology is under development: http://folding.typepad.com/news/2012/02 ... n-fah.html
Last edited by Jesse_V on Sun Mar 04, 2012 6:13 pm, edited 2 times in total.
F@h is now the top computing platform on the planet and nothing unites people like a dedicated fight against a common enemy. This virus affects all of us. Lets end it together.
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: Question regarding use of CPU AND GPU

Post by 7im »

Sorry, NO. FAH does not currently have a client that can use the processing power of both the CPU and GPU on the SAME work unit.

However, as noted above, you can use both types of hardware to increase your contibutions to folding, just with separate WUs on each type. Currently, that's more productive anyway. .
How to provide enough information to get helpful support
Tell me and I forget. Teach me and I remember. Involve me and I learn.
quak3man
Posts: 2
Joined: Sun Mar 04, 2012 4:12 pm

Re: Question regarding use of CPU AND GPU

Post by quak3man »

Thanks everyone for the quick and helpful replies. In that case i will be sure to download the appropriate client for use my my CPU as well and run that as well as my GPU client.
Crestwood
Posts: 7
Joined: Mon Aug 30, 2010 5:09 pm
Hardware configuration: Mobo: MSI Z97 Gaming 5 (LGA1150)
CPU: Intel i5-4690k, OC'd to 4000 mHz
Liquid CPU cooler: CoolerMaster Nepton 240m
Dual GPU's: 2x MSI GTX 970 Gaming, both OC'd to 1400 mHz.
RAM: 16 GB Kingston Hyper-X Fury 1600 Mhz DDR3 (2x8), OC'd to 1833 mHz.
Storage: WD Caviar Black 1TB HDD; Samsung 850 Pro 256 GB SSD (used mainly for OS & apps); Samsung 840 Pro 256 GB SSD (for backups).
PSU: Corsair AX860
Case: Corsair Air 540 (with 6 fans)
OS: Windows 10 64-bit

Current system is producing average 550 - 600 PPD, with max up to 650K PPD
Location: Seattle, WA

Re: Question regarding use of CPU AND GPU

Post by Crestwood »

I have a follow-up question on this subject. I have just upgraded my GPU (to an XFX-HD-6950), and I want to find the best balance between my CPU client and the GPU client (I'm running V7 of the beta). Would I get the best overall results (i.e., greatest number of WU's each day) if I set the CPU/SMP to "0" and let the client manage everything, or should I set the CPU/SMP to a specific number of cores (2, or 4?)?
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: Question regarding use of CPU AND GPU

Post by 7im »

Hello Crestwood, welcome to the forum.

We could only guess, since you didn't tell us what kind of CPU you have. Even then, it would still be a good guess. Run the GPU by itself and note the PPD. Run SMP by itself, and note the PPD. Then run both on all cores. Then run both with SMP using one less core. The one with the best total score wins. ;)
How to provide enough information to get helpful support
Tell me and I forget. Teach me and I remember. Involve me and I learn.
Jesse_V
Site Moderator
Posts: 2850
Joined: Mon Jul 18, 2011 4:44 am
Hardware configuration: OS: Windows 10, Kubuntu 19.04
CPU: i7-6700k
GPU: GTX 970, GTX 1080 TI
RAM: 24 GB DDR4
Location: Western Washington

Re: Question regarding use of CPU AND GPU

Post by Jesse_V »

Crestwood wrote:I have a follow-up question on this subject. I have just upgraded my GPU (to an XFX-HD-6950), and I want to find the best balance between my CPU client and the GPU client (I'm running V7 of the beta). Would I get the best overall results (i.e., greatest number of WU's each day) if I set the CPU/SMP to "0" and let the client manage everything, or should I set the CPU/SMP to a specific number of cores (2, or 4?)?
The V7 client will try to use all CPU cores by default. AMD GPUs typically consume one CPU core while folding, which would slow down the SMP folding. Likewise the SMP folding may impact GPU folding, but that's a guess. Like 7im said, try out some combinations and see. Maybe you'll get better performance by taking the SMP down a core.
F@h is now the top computing platform on the planet and nothing unites people like a dedicated fight against a common enemy. This virus affects all of us. Lets end it together.
Crestwood
Posts: 7
Joined: Mon Aug 30, 2010 5:09 pm
Hardware configuration: Mobo: MSI Z97 Gaming 5 (LGA1150)
CPU: Intel i5-4690k, OC'd to 4000 mHz
Liquid CPU cooler: CoolerMaster Nepton 240m
Dual GPU's: 2x MSI GTX 970 Gaming, both OC'd to 1400 mHz.
RAM: 16 GB Kingston Hyper-X Fury 1600 Mhz DDR3 (2x8), OC'd to 1833 mHz.
Storage: WD Caviar Black 1TB HDD; Samsung 850 Pro 256 GB SSD (used mainly for OS & apps); Samsung 840 Pro 256 GB SSD (for backups).
PSU: Corsair AX860
Case: Corsair Air 540 (with 6 fans)
OS: Windows 10 64-bit

Current system is producing average 550 - 600 PPD, with max up to 650K PPD
Location: Seattle, WA

Re: Question regarding use of CPU AND GPU

Post by Crestwood »

Thanks for the info. I'll experiment a bit to see what combo yields the best results. I should have described my system a bit more fully. It's a CyberPower build, which has been upgraded since it was first assembled. Current configuration includes: Gigabyte GA-P55A-UD3; Intel i7-870 CPU with CoolerMaster V8 cooler; XFX HD-6950 GPU; 2x4GB of 1600 mHz RAM; Corsair TX750 watt PSU.
Zagen30
Posts: 823
Joined: Tue Mar 25, 2008 12:45 am
Hardware configuration: Core i7 3770K @3.5 GHz (not folding), 8 GB DDR3 @2133 MHz, 2xGTX 780 @1215 MHz, Windows 7 Pro 64-bit running 7.3.6 w/ 1xSMP, 2xGPU

4P E5-4650 @3.1 GHz, 64 GB DDR3 @1333MHz, Ubuntu Desktop 13.10 64-bit

Re: Question regarding use of CPU AND GPU

Post by Zagen30 »

With an i7 it's usually recommended to drop the SMP client to -smp 6 if you need to free up a core due to GPU folding. Certain projects cannot run on 7 threads (or other prime numbers >5) and will fail instantly; getting the client to use 6 threads may decrease performance a bit but will ensure the every project will run properly (not counting an unstable overclock, the odd bad WU, etc.)
Image
bruce
Posts: 20824
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

Re: Question regarding use of CPU AND GPU

Post by bruce »

Zagen30 wrote:getting the client to use 6 threads may decrease performance a bit but will ensure . . .
It will decrease SMP performance compared using 8 threads, but only very slightly. It will most definitely increase performance on a [SMP+ATI GPU] system.
Post Reply