Core 17 eats 1 cpu core with Nvidia GPU?

If you think it might be a driver problem, see viewforum.php?f=79

Moderators: Site Moderators, FAHC Science Team

jeano
Posts: 3
Joined: Fri Feb 22, 2013 8:44 pm

Core 17 eats 1 cpu core with Nvidia GPU?

Post by jeano »

Hi Guys

I have noticed that Core 17 uses 1 CPU core on my machine. As a result of this my CPU folding now takes twice as long (I have a dual core CPU) and my GPU is folding slower.

It looks like my CPU is a bottleneck on Core 17, this was not the case with Core 15.

Is this correct or am I the only one experiencing this? IIRC only AMD GPU's use 1 CPU core to fold or could this be due to the fact that core 17 is using opencl and not CUDA? :egeek:

EDIT: The CPU is E6300 @2.8ghz Wolfdale (the 45nm and not the 65nm running @ 1.8ghz).
Last edited by jeano on Mon Jul 15, 2013 3:39 pm, edited 1 time in total.
Joe_H
Site Admin
Posts: 7929
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: Core 17 eats 1 cpu core with Nvidia GPU?

Post by Joe_H »

Yes, this is a change with Core 17 due to the way nVidia's drivers handle OpenCL commands compared to CUDA commands used by Core 15. WIth Core 17 persons are reporting that the AMD drivers use only a portion of a CPU core to process data and the OpenCL programming.
Image

iMac 2.8 i7 12 GB smp8, Mac Pro 2.8 quad 12 GB smp6
MacBook Pro 2.9 i7 8 GB smp3
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: Core 17 eats 1 cpu core with Nvidia GPU?

Post by 7im »

Remove the "advanced" setting and you won't get core_17 work units.
How to provide enough information to get helpful support
Tell me and I forget. Teach me and I remember. Involve me and I learn.
jeano
Posts: 3
Joined: Fri Feb 22, 2013 8:44 pm

Re: Core 17 eats 1 cpu core with Nvidia GPU?

Post by jeano »

7im wrote:Remove the "advanced" setting and you won't get core_17 work units.
That’s only a short term band aid. Your suggestion crossed my mind when I first noticed it.

@Joe_H
Is there room for big improvements with Nvidia opencl calls by the time Core 15 is stopped?
GreyWhiskers
Posts: 660
Joined: Mon Oct 25, 2010 5:57 am
Hardware configuration: a) Main unit
Sandybridge in HAF922 w/200 mm side fan
--i7 2600K@4.2 GHz
--ASUS P8P67 DeluxeB3
--4GB ADATA 1600 RAM
--750W Corsair PS
--2Seagate Hyb 750&500 GB--WD Caviar Black 1TB
--EVGA 660GTX-Ti FTW - Signature 2 GPU@ 1241 Boost
--MSI GTX560Ti @900MHz
--Win7Home64; FAH V7.3.2; 327.23 drivers

b) 2004 HP a475c desktop, 1 core Pent 4 HT@3.2 GHz; Mem 2GB;HDD 160 GB;Zotac GT430PCI@900 MHz
WinXP SP3-32 FAH v7.3.6 301.42 drivers - GPU slot only

c) 2005 Toshiba M45-S551 laptop w/2 GB mem, 160GB HDD;Pent M 740 CPU @ 1.73 GHz
WinXP SP3-32 FAH v7.3.6 [Receiving Core A4 work units]
d) 2011 lappy-15.6"-1920x1080;i7-2860QM,2.5;IC Diamond Thermal Compound;GTX 560M 1,536MB u/c@700;16GB-1333MHz RAM;HDD:500GBHyb w/ 4GB SSD;Win7HomePrem64;320.18 drivers FAH 7.4.2ß
Location: Saratoga, California USA

Re: Core 17 eats 1 cpu core with Nvidia GPU?

Post by GreyWhiskers »

I'd suggest that you take a close look at the PPD performance of both your GPU and your SMP folding slots. Then optimize the resources assigned to the various slots to maximize the total return. While Core 15 may allow the CPU folding more resources than Core 17, your overall points production is probably going to be less.

In my case, even on the Core i7 2600K desktop I have, the GPU slots get so many more ppd than the SMP slots that the sacrifice of CPU cores/threads to favor the GPU folding is worth it (IMHO). If overall science production, as measured by the aggregate ppd of the various work units you complete, is the thing you are trying to optimize, take the hit on the SMP slots - drop back to a single core Uniprocessor - let Core 17 have all the resources it needs.

Of course, the relative points production is something that isn't static. Things could change tomorrow.
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: Core 17 eats 1 cpu core with Nvidia GPU?

Post by PantherX »

The feature of Nvidia GPUs using 1 CPU per GPU is dependent on the driver. There are two methods used for OpenCL, one uses very little CPU (AMD Drivers use this method) while the other uses 1 CPU (Nvidia is using this method). For a technical answer, please read this post (viewtopic.php?p=242466#p242466).
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
k1wi
Posts: 909
Joined: Tue Sep 22, 2009 10:48 pm

Re: Core 17 eats 1 cpu core with Nvidia GPU?

Post by k1wi »

The other thing to note is even if you allocate one less smp slot to your CPU, if your CPU does hyperthreading, the performance drop should be relatively insignificant...
Joe_H
Site Admin
Posts: 7929
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: Core 17 eats 1 cpu core with Nvidia GPU?

Post by Joe_H »

jeano wrote: @Joe_H
Is there room for big improvements with Nvidia opencl calls by the time Core 15 is stopped?
PantherX has provided some information on the differences between the core utilization between nVidia and AMD. The most I can add is that changes in the driver are ultimately up to nVidia. They may do so, but at the moment are pushing CUDA for GPU computational use. That gives them a proprietary edge as applications written for CUDA will not run on their competition's cards. PG attempts to stay vendor neutral, and the group going to using OpenCL simplifies software development as the same code base can be used for both.
Image

iMac 2.8 i7 12 GB smp8, Mac Pro 2.8 quad 12 GB smp6
MacBook Pro 2.9 i7 8 GB smp3
folding_hoomer
Posts: 349
Joined: Sun Feb 10, 2013 6:06 pm
Hardware configuration: Sys 1: I7 2700K@4,4GHz with NH-C14
8GB G.Skill Sniper DDR3 1866MHz CL 9-10-9-28
MSI Z68A-GD65 (G3), various operating systems (WinXP, Ubuntu: 10.4.3 LTS, 12.04.2 LTS)
Optional: GTX560TI 448@stock/OC´d

Sys 2: I7 3930K@4,4GHz with Corsair H110
16GB G.Skill Ripjaws X DDR3 1866MHz CL 9-10-9-28
ASUS Ranpage IV Formula, Ubuntu 10.10

Sys 3 i7 875K@3,826 GHz with Scythe Mine2
8GB G.Skill Sniper DDR3 1866MHz CL 9-10-9-28
MSI P55-GD80, Win7 64Bit Pro
Sapphire Radeon HD5870@1,163V 900/1250MHz
Sapphire Radeon HD7870@1,218V 1200/1300MHz

Sys 4 i7 2600K@4,4GHz with Scythe Mine2
8GB G.Skill Sniper DDR3 1866MHz CL 9-10-9-28
MSI Z68A-GD65 (G3), various operating systems (WinXP, Ubuntu: 10.4.3 LTS, 12.04.2 LTS)
Optional: GTX560TI 448@stock/OC´d

Optional:
ASUS P5Q Pro with Q9550
ASUS P5Q Pro with Q6300
Location: Bavaria, Germany

Re: Core 17 eats 1 cpu core with Nvidia GPU?

Post by folding_hoomer »

GreyWhiskers wrote:I'd suggest that you take a close look at the PPD performance of both your GPU and your SMP folding slots. Then optimize the resources assigned to the various slots to maximize the total return. While Core 15 may allow the CPU folding more resources than Core 17, your overall points production is probably going to be less.

In my case, even on the Core i7 2600K desktop I have, the GPU slots get so many more ppd than the SMP slots that the sacrifice of CPU cores/threads to favor the GPU folding is worth it (IMHO). If overall science production, as measured by the aggregate ppd of the various work units you complete, is the thing you are trying to optimize, take the hit on the SMP slots - drop back to a single core Uniprocessor - let Core 17 have all the resources it needs.

Of course, the relative points production is something that isn't static. Things could change tomorrow.

Sorry, but i think this is not a rule in general - it belongs to the (folding-)power of your GPU.
As far as i know:

If you use an older AMD-GPU like 58xx, 6870 and 69xx your GPU might profit by using Core17 and appropriate WU´s (5870 tested by myself) - if your GPu has less power use the older Core16 to maximize your points.
But - most "new" AMD CGN-GPU´s definitely profit while folding under Core17.

The same belongs to nVidia:
If you use GTX 460 (470, 480, 560 and up, 650 and up) you will profit by using Core17, if your GPU has less power use Core15.

But - there might be some WU´s using Core17 where you need a faster GPU than a GTX460 to get more points . . .

So - it´s your decision what to do, but - choose wisely :lol: :wink:
Image
bruce
Posts: 20824
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

Re: Core 17 eats 1 cpu core with Nvidia GPU?

Post by bruce »

A video driver which uses 1-cpu gives somewhat better video performance than one which uses very little cpu. When people measure a GPUs game performance, the computer almost always has idle CPUs. It's a question for [NVidia/AMD/Intel/etc.] to decide which sells more GPUs: Video games or analysis by GPUs -- as well as a question of whether there is a driver based compromise that can be called "optimized" by everyone.

Contact your GPU manufacturer.
GreyWhiskers
Posts: 660
Joined: Mon Oct 25, 2010 5:57 am
Hardware configuration: a) Main unit
Sandybridge in HAF922 w/200 mm side fan
--i7 2600K@4.2 GHz
--ASUS P8P67 DeluxeB3
--4GB ADATA 1600 RAM
--750W Corsair PS
--2Seagate Hyb 750&500 GB--WD Caviar Black 1TB
--EVGA 660GTX-Ti FTW - Signature 2 GPU@ 1241 Boost
--MSI GTX560Ti @900MHz
--Win7Home64; FAH V7.3.2; 327.23 drivers

b) 2004 HP a475c desktop, 1 core Pent 4 HT@3.2 GHz; Mem 2GB;HDD 160 GB;Zotac GT430PCI@900 MHz
WinXP SP3-32 FAH v7.3.6 301.42 drivers - GPU slot only

c) 2005 Toshiba M45-S551 laptop w/2 GB mem, 160GB HDD;Pent M 740 CPU @ 1.73 GHz
WinXP SP3-32 FAH v7.3.6 [Receiving Core A4 work units]
d) 2011 lappy-15.6"-1920x1080;i7-2860QM,2.5;IC Diamond Thermal Compound;GTX 560M 1,536MB u/c@700;16GB-1333MHz RAM;HDD:500GBHyb w/ 4GB SSD;Win7HomePrem64;320.18 drivers FAH 7.4.2ß
Location: Saratoga, California USA

Re: Core 17 eats 1 cpu core with Nvidia GPU?

Post by GreyWhiskers »

That's why I said check. Each of our systems is different. Be objective in what your goal is, then set up your system to give it to you. Go back and re-check peridocally if the distribution of projects changes.

You may get better ppd with your SMP and core 15 setup, or you may get better aggregate performance from the GPU core 17 with less dedicated to SMP. Your setup differs from any of mine. There is no a priori universal answer.

YMMV :egeek:
bruce
Posts: 20824
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

Re: Core 17 eats 1 cpu core with Nvidia GPU?

Post by bruce »

... and if you get a mixture of assignments for more than one FahCore, you may need to optimize for different combinations of assignments.

Stanford's benchmarking process assumes only one WU is being processed. The choices made by adjusting the slider was an attempt to avoid some of the worst choices, but it's terribly complex if you consider all possible combinations on all possible systems so software can't optimize YOUR system, it can only make automatic choices that avoid really some bad choices. You can possibly do somewhat better yourself.
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: Core 17 eats 1 cpu core with Nvidia GPU?

Post by Jesse_V »

The goal of the "Full" setting on the slider is to get 90% of the performance in 90% of the machines. Obviously FahCore 17 changes things a bit, hence https://fah-web.stanford.edu/projects/F ... icket/1013
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.
TonyStewart14
Posts: 64
Joined: Fri Jan 06, 2012 6:37 am

Re: Core 17 eats 1 cpu core with Nvidia GPU?

Post by TonyStewart14 »

I had this same experience. I tried setting client-type to advanced for my GT 620 GPU on v 7.2.9 with a Pentium D processor. The PPD went from ~5.5K to ~2K, although there seems to be a small QRB with core 17. Interestingly, the CPU is the bottleneck as it can't use more than the equivalent of one core (50%) on the dual core processor, although from Task Manager it appears that both cores are working mostly the same amount and I am folding on GPU only.
n_w95482
Posts: 66
Joined: Tue May 01, 2012 12:46 am
Hardware configuration: CPU: Ryzen 7 5800X3D

GPU: Radeon RX 6700 XT, Radeon RX 6900 XT
Location: California

Re: Core 17 eats 1 cpu core with Nvidia GPU?

Post by n_w95482 »

TonyStewart14 wrote:I had this same experience. I tried setting client-type to advanced for my GT 620 GPU on v 7.2.9 with a Pentium D processor. The PPD went from ~5.5K to ~2K, although there seems to be a small QRB with core 17. Interestingly, the CPU is the bottleneck as it can't use more than the equivalent of one core (50%) on the dual core processor, although from Task Manager it appears that both cores are working mostly the same amount and I am folding on GPU only.
I doubt a Pentium D is bottlenecking a GT 620, it's just simply pegging out a thread (yay Nvidia OpenCL!). There's definitely a point of diminshing returns with running core 17 vs 15. In my testing, an overclocked GTX 460 1 GB comes close to breaking even, but not quite. I have a GTX 570 running in my dual-core Opteron machine (Athlon 64-era) and it runs at full load with a bit more PPD on core 17 than 15. I've stopped CPU folding on it due to core 17 keeping half of the CPU busy.

I'd definitely recommend removing the client-type option. Not only will you get more PPD as long as core 15 WUs are available, it'll let your CPU idle which should cut back quite a bit on power and heat.
Folding since December 2003. In memory of my mother, who lost her battle with cancer.

Image
Post Reply