CPU requirement for GPU folding (NV)

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.
foldinghomealone
Posts: 130
Joined: Wed Feb 01, 2017 7:07 pm

CPU requirement for GPU folding (NV)

Post by foldinghomealone »

In our team we constantly discuss CPU requirements for NV GPU folding and the necessity for CPU-OC to 'feed' a NV GPU.
Mainly because when someone is setting up a new rig he wants to lower costs and use the cheapest CPU.

I was reading in several posts here that CPU speed for GPU folding is not important because for one GPU client one CPU thread would be enough because it is 'just' used to keep the I/O channel between CPU and GPU open. There would be no difference if the thread runs at 2GHz or 5GHz. (may be my own words)

My own experience goes in this direction as I tried to down-clock and OC my CPU in several different GPU projects and didn't see much difference.
But this opinion is not shared at all in our team. Most of our members are the opinion that the CPU can slow down GPU folding significantly when there is not enough CPU horesepower.

Maybe you can give some insights:
- Does CPU matter? Can a current non-OC celeron utilize a single Titan-X (P) (crazy example, I know) or do I need an OCed i7?
- If it matters are there pairing recommendations?
- When I have one GPU slot I see that the folding process 'jumps' from one thread to another. Does this 'jumping' cost folding power? Should I lock the folding process to one certain thread?
- Does the turbo-clocking need some time until it turbo-clocks and is therefore losing folding power? (This answer could be interesting for CPU-folding as well.)

Many questions, i hope you can understand them. Many thanks in advance
ComputerGenie
Posts: 236
Joined: Mon Dec 12, 2016 4:06 am

Re: CPU requirement for GPU folding (NV)

Post by ComputerGenie »

I can't help much, other than to say that there's no detectable difference between a GTX 1080 set up on a board that is running a AMD FX-8320 @ 3.25 GHz and a GTX 1080 set up on a board that is running a i7-6700K @ 4.5GHz
boristsybin
Posts: 50
Joined: Mon Jan 16, 2017 11:40 am
Hardware configuration: 4x1080Ti + 2x1050Ti
Location: Russia, Moscow

Re: CPU requirement for GPU folding (NV)

Post by boristsybin »

You need at least one cpu thread for one GPU; but the best practice is one cpu core for one GPU.
So, i think 3-y.o. dual-threaded celeron is enough for even titan x pascal, but only single titan.
AMD GPUs are not so CPU-dependable as NV (as for my experience with R9 290x, RX480 and GTX1070).

i`m succesfully use dual 1070 with dual-core (four-threaded) i3 4170 running round o`clock; CPU load fills up to 100%, 50% of is for FahCore_*, but i feel no discomfort even while routine work on my system (browsing, msoffice, whatever...) and with kaspersky AV :)
Last edited by boristsybin on Sat Mar 11, 2017 1:16 pm, edited 1 time in total.
Image
rwh202
Posts: 425
Joined: Mon Nov 15, 2010 8:51 pm
Hardware configuration: 8x GTX 1080
3x GTX 1080 Ti
3x GTX 1060
Various other bits and pieces
Location: South Coast, UK

Re: CPU requirement for GPU folding (NV)

Post by rwh202 »

Yep, as long as each slot has got a core, it doesn't really matter how slow it is. I tend to use pentiums (2C 2T) with dual GPUs (up to 1080s so far) and don't think I'm losing anything compared to my machines with i7s.
On a slower GPU (1060) with windows, it was easy enough to drop the processor speed by 50% using the power management settings and there was no discernible increase in TPF.
foldy
Posts: 2061
Joined: Sat Dec 01, 2012 3:43 pm
Hardware configuration: Folding@Home Client 7.6.13 (1 GPU slots)
Windows 7 64bit
Intel Core i5 2500k@4Ghz
Nvidia gtx 1080ti driver 441

Re: CPU requirement for GPU folding (NV)

Post by foldy »

The only thing to check is the mainboard pcie slot speeds, you don't want to go below pcie 3.0 x4 on fast GPUs and pcie 3.0 x8 or pcie 2.0 x16 has max performance on Windows. For slow GPUs or Linux that doesn't matter.
JT3rd
Posts: 8
Joined: Sat Jan 21, 2017 11:17 am

Re: CPU requirement for GPU folding (NV)

Post by JT3rd »

As a newbie, I started off with an FX-8350, both undervolted and underclocked.

Using this CPU with the GTX 1050 & TI, running the CPU from 2.0 to 4.4GH there were measurable GPU performance increases with the higher clock speeds. If I assigned a GPU to a single core, it would use the entire core until I hit about 3.2GH, at this point there was a little bit of overhead to spare. From my perspective (using Heaven, GPU-Test, Cinebench, FAH-Bench) at the lower clocks the GPUs were bottlenecked by the CPU, and because this CPU is such a power hog, I opted to get a Pentium G4560, with higher single core performance.

With the new G4560, running 2 GPUs on Windows 7, CPU usage hovers at 50% and the system is still snappy :)

Having said all this, regardless of the lower clock speeds, while the bench-marking tools were definitely degraded, the performance of the actual FAH client did not appear to be as degraded as the benchmarks.
road-runner
Posts: 227
Joined: Sun Dec 02, 2007 4:01 am
Location: Willis, Texas

Re: CPU requirement for GPU folding (NV)

Post by road-runner »

i3-4170 Haswell Dual-Core and GA-Z97X-Gaming 3 LGA 1150 Intel Z97 HDMI SATA 6Gb/s USB 3.0 ATX Intel Motherboard runs 2-1080s just fine...
Image
Nathan_P
Posts: 1180
Joined: Wed Apr 01, 2009 9:22 pm
Hardware configuration: Asus Z8NA D6C, 2 x5670@3.2 Ghz, , 12gb Ram, GTX 980ti, AX650 PSU, win 10 (daily use)

Asus Z87 WS, Xeon E3-1230L v3, 8gb ram, KFA GTX 1080, EVGA 750ti , AX760 PSU, Mint 18.2 OS

Not currently folding
Asus Z9PE- D8 WS, 2 E5-2665@2.3 Ghz, 16Gb 1.35v Ram, Ubuntu (Fold only)
Asus Z9PA, 2 Ivy 12 core, 16gb Ram, H folding appliance (fold only)
Location: Jersey, Channel islands

Re: CPU requirement for GPU folding (NV)

Post by Nathan_P »

Xeon E3-1230L v3 @ 1.8ghz runs my 1080 and 1070 just fine and the bonus is its only a 25w tdp cpu, the rig is usually outputting 1.4-1.5m PPD
Image
ChristianVirtual
Posts: 1596
Joined: Tue May 28, 2013 12:14 pm
Location: Tokyo

Re: CPU requirement for GPU folding (NV)

Post by ChristianVirtual »

@OP

You could see at ppd.fahmm.net for project 9414: a pentium G2020 at 2.9 GHz "outperform" a i7-6700 at 3.4Ghz, both with a 1080 and Linux . Unfortunate i don't know what the OC setting for both 1080 are (as not reported in log files) but I think it's fair to conclude that the CPU speed has less impact on the performance compared to the GPU itself.
ImageImage
Please contribute your logs to http://ppd.fahmm.net
v00d00
Posts: 396
Joined: Sun Dec 02, 2007 4:53 am
Hardware configuration: FX8320e (6 cores enabled) @ stock,
- 16GB DDR3,
- Zotac GTX 1050Ti @ Stock.
- Gigabyte GTX 970 @ Stock
Debian 9.

Running GPU since it came out, CPU since client version 3.
Folding since Folding began (~2000) and ran Genome@Home for a while too.
Ran Seti@Home prior to that.
Location: UK
Contact:

Re: CPU requirement for GPU folding (NV)

Post by v00d00 »

For me personally, running GPU on Linux. I run each GPU instance separately. One fahclient per card. Each fahclient is bound to one cpu core. Those cores are isolated at kernel level so they are no longer bound to the scheduler (so nothing else will use those cores except FAH), this is done by passing isolcpus=x via the grub or lilo bootloader at startup, then using taskset to bind the clients to the isolated cores when my start scripts start everything up.

I use an AMD FX 8320e @ stock clocks, run currently a GTX 1050 Ti (180k PPD), and a 6 core SMP. Slowdown was noticed when the GPU instance(s) werent placed on isolated cores, presumably due to the fight between SMP and GPU for cpu time. PPD was increased after I fixed it.

X always uses about 10-15% of core 0 when GPU is running, even if you use a different card for display tasks. But if you run the box from text mode it still folds without issue. Havent worked out why X is using so much time when my folding card(s) arent even used for any video rendering.

For the sake of completeness. It isnt possible to isolate cores for SMP using isolcpus, as far as im aware, since it ends up binding to a single core and spawns threads which are also bound to that core, even when taskset across multiple cores. But you can taskset an SMP instance to multiple cores using taskset if the cores are still handled by the scheduler.
Image
foldy
Posts: 2061
Joined: Sat Dec 01, 2012 3:43 pm
Hardware configuration: Folding@Home Client 7.6.13 (1 GPU slots)
Windows 7 64bit
Intel Core i5 2500k@4Ghz
Nvidia gtx 1080ti driver 441

Re: CPU requirement for GPU folding (NV)

Post by foldy »

On GPUGRID they have an option for nvidia GPUs to use the poll approach or the wait approach. The default poll approach results in higher GPU speed.
There is currently an ongoing discussion about that on OpenMM. https://github.com/pandegroup/openmm/issues/1541
Ricorocks
Posts: 475
Joined: Thu Aug 04, 2016 1:49 pm
Location: Georgetown, Texas

Re: CPU requirement for GPU folding (NV)

Post by Ricorocks »

Foldy wrote,
The only thing to check is the mainboard pcie slot speeds, you don't want to go below pcie 3.0 x4 on fast GPUs and pcie 3.0 x8 or pcie 2.0 x16 has max performance on Windows. For slow GPUs or Linux that doesn't matter.
I'm in the hunt for a 'windows' machine, that will have duel NV 1070s. So PCIE 2.0 x 16 slot is fine with 2 1070's? I'll search some more using cpu i3-4170

Thanks
Rick
foldy
Posts: 2061
Joined: Sat Dec 01, 2012 3:43 pm
Hardware configuration: Folding@Home Client 7.6.13 (1 GPU slots)
Windows 7 64bit
Intel Core i5 2500k@4Ghz
Nvidia gtx 1080ti driver 441

Re: CPU requirement for GPU folding (NV)

Post by foldy »

Looks good.
Ricorocks
Posts: 475
Joined: Thu Aug 04, 2016 1:49 pm
Location: Georgetown, Texas

Re: CPU requirement for GPU folding (NV)

Post by Ricorocks »

Looks like allot of good choices for CPU's, by picking more efficient from the list.

https://www.cpubenchmark.net/power_performance.html#id2
foldy
Posts: 2061
Joined: Sat Dec 01, 2012 3:43 pm
Hardware configuration: Folding@Home Client 7.6.13 (1 GPU slots)
Windows 7 64bit
Intel Core i5 2500k@4Ghz
Nvidia gtx 1080ti driver 441

Re: CPU requirement for GPU folding (NV)

Post by foldy »

If you also want to fold on CPU then be sure it supports AVX for highest PPD. And each GPU needs one CPU core/thread to feed it.
Post Reply