GPU on PCIE 1x possible?

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.
MeeLee
Posts: 1375
Joined: Tue Feb 19, 2019 10:16 pm

Re: GPU on PCIE 1x possible?

Post by MeeLee »

Core 22 using PCIE x1 affects mostly the fastest (RTX 2060 and above) GPUs in a negative way.
With the old Core 21, it was perfectly possible to run even RTX 2070 GPUs on a PCIE 3.0 x1 slot (in Linux) without too much PPD losses.
The newer core actually lowers PPD vs the old core on an x1 slot.
Which is why you'd want to reserve x1 slots for your slowest GPUs.
DF1
Posts: 4
Joined: Sun May 03, 2020 1:02 am

Re: GPU on PCIE 1x possible?

Post by DF1 »

Nuitari - I think I have started the same journey as you have traversed. Can you please share your Config file?
I'm walking before I run so only two GPU's at the moment on an ASUS Mining Expert Motherboard capable of 19 slots. What I am seeing is the two GPU's / CUDA and OPENCL enabled etc. For some reason the two folds are assigned to the first GPU per NVIDIA-SMI. Nothing assigned per NVIDIA-SMI to the second GPU. FAH reports both are folding however. I'm guessing my config is off.
I will note that per NVIDIA's Utilization graph the first GPU is pinned at 99% - no dips etc so its not data starved by the single PCI-E lane. Memory utilization on the GPU is minimal - well below half a Gigabyte on a 5GB card per Work Unit.
My assumption is the CPU in this scenario should not fold and simply be an IO Processor for the GPU's. I have a lame Celeron in there because that was all I thought the rig needed. (I built the rig for this and number crunching - it has never mined and will not.)

Please forgive the newbie questions.
And one more - is there a "test" fold that can be run for benchmarking? At 99% I am getting this puppy very hot - I want something I can load that will generate a metric I can evaluate as I tweak parameters. IE: perhaps downshifting the GPU clock will reduce the stress on the card. It will take longer but that is relative.

Many thanks
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: GPU on PCIE 1x possible?

Post by foldy »

Each GPU needs one CPU thread to feed it.

https://fahbench.github.io/

FahBench build with Core22 for Windows and real work unit.
https://www.file-upload.net/download-13 ... n.zip.html
Last edited by foldy on Mon May 04, 2020 8:40 pm, edited 1 time in total.
Joe_H
Site Admin
Posts: 7870
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: GPU on PCIE 1x possible?

Post by Joe_H »

For a test load, FAHBench utilizes data from an old GPU WU an code to execute it derived from the same as used in the Core_21 folding core. There is also an unofficial build using updated code as used in Core_22.

You mention that you motherboard could support up to 19 slots, however the current folding client is only capable of 10 slots, the single digits 0-9.
Image

iMac 2.8 i7 12 GB smp8, Mac Pro 2.8 quad 12 GB smp6
MacBook Pro 2.9 i7 8 GB smp3
HaloJones
Posts: 920
Joined: Thu Jul 24, 2008 10:16 am

Re: GPU on PCIE 1x possible?

Post by HaloJones »

DF1 wrote:Nuitari - I think I have started the same journey as you have traversed. Can you please share your Config file?
I'm walking before I run so only two GPU's at the moment on an ASUS Mining Expert Motherboard capable of 19 slots. What I am seeing is the two GPU's / CUDA and OPENCL enabled etc. For some reason the two folds are assigned to the first GPU per NVIDIA-SMI. Nothing assigned per NVIDIA-SMI to the second GPU. FAH reports both are folding however. I'm guessing my config is off.
I will note that per NVIDIA's Utilization graph the first GPU is pinned at 99% - no dips etc so its not data starved by the single PCI-E lane. Memory utilization on the GPU is minimal - well below half a Gigabyte on a 5GB card per Work Unit.
My assumption is the CPU in this scenario should not fold and simply be an IO Processor for the GPU's. I have a lame Celeron in there because that was all I thought the rig needed. (I built the rig for this and number crunching - it has never mined and will not.)

Please forgive the newbie questions.
And one more - is there a "test" fold that can be run for benchmarking? At 99% I am getting this puppy very hot - I want something I can load that will generate a metric I can evaluate as I tweak parameters. IE: perhaps downshifting the GPU clock will reduce the stress on the card. It will take longer but that is relative.

Many thanks
If you could post the config of your system we may be able to help. With more than one card, it is critical to get the drivers, OpenCL, and the configuration of the GPU slots all lined up.
single 1070

Image
Nuitari
Posts: 80
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: GPU on PCIE 1x possible?

Post by Nuitari »

@DF1, I wouldn't go above 2 GPU per CPU core, starvation happens quickly and you start losing performance. This is where your bottleneck is going to be.

I had to stop CPU (AMD A8-9600 RADEON R7) folding on my 7 GPU rig as it was cratering the productivity of the GPUs.

It is entirely possible to have multiple loads on 1 GPU, and I do not know if the client tries to prevent it.

My configuration, for the slots:

Code: Select all

  <slot id='1' type='GPU'>
    <gpu-index v='0'/>
  </slot>
  <slot id='3' type='GPU'>
    <gpu-index v='1'/>
  </slot>
  <slot id='2' type='GPU'>
    <gpu-index v='6'/>
  </slot>
  <slot id='4' type='GPU'>
    <gpu-index v='2'/>
  </slot>
  <slot id='5' type='GPU'>
    <gpu-index v='3'/>
  </slot>
  <slot id='7' type='GPU'>
    <gpu-index v='5'/>
  </slot>
  <slot id='6' type='GPU'>
    <gpu-index v='4'/>
  </slot>
It would be helpful to see your configuration.
Image
DF1
Posts: 4
Joined: Sun May 03, 2020 1:02 am

Re: GPU on PCIE 1x possible?

Post by DF1 »

Thank you Nuitari. You have saved me quite a lot of time.

DF1
DF1
Posts: 4
Joined: Sun May 03, 2020 1:02 am

Re: GPU on PCIE 1x possible?

Post by DF1 »

Thanks for the help.
Here's the situation from multiple perspectives:
1) LOG file

Code: Select all

*********************** Log Started 2020-05-06T02:44:45Z ***********************
02:44:45:****************************** FAHClient ******************************
02:44:45:        Version: 7.6.9
02:44:45:         Author: Joseph Coffland <joseph@cauldrondevelopment.com>
02:44:45:      Copyright: 2020 foldingathome.org
02:44:45:       Homepage: https://foldingathome.org/
02:44:45:           Date: Apr 17 2020
02:44:45:           Time: 11:13:06
02:44:45:       Revision: 398c2b17fa535e0cc6c9d10856b2154c32771646
02:44:45:         Branch: master
02:44:45:       Compiler: Visual C++ 2008
02:44:45:        Options: /TP /nologo /EHa /wd4297 /wd4103 /Ox /MT
02:44:45:       Platform: win32 10
02:44:45:           Bits: 32
02:44:45:           Mode: Release
02:44:45:         Config: C:\Users\sysadmin\AppData\Roaming\FAHClient\config.xml
02:44:45:******************************** CBang ********************************
02:44:45:           Date: Apr 17 2020
02:44:45:           Time: 11:10:09
02:44:45:       Revision: 2fb0be7809c5e45287a122ca5fbc15b5ae859a3b
02:44:45:         Branch: master
02:44:45:       Compiler: Visual C++ 2008
02:44:45:        Options: /TP /nologo /EHa /wd4297 /wd4103 /Ox /MT
02:44:45:       Platform: win32 10
02:44:45:           Bits: 32
02:44:45:           Mode: Release
02:44:45:******************************* System ********************************
02:44:45:            CPU: Intel(R) Celeron(R) CPU G3900 @ 2.80GHz
02:44:45:         CPU ID: GenuineIntel Family 6 Model 94 Stepping 3
02:44:45:           CPUs: 2
02:44:45:         Memory: 15.89GiB
02:44:45:    Free Memory: 14.47GiB
02:44:45:        Threads: WINDOWS_THREADS
02:44:45:     OS Version: 6.1
02:44:45:    Has Battery: false
02:44:45:     On Battery: false
02:44:45:     UTC Offset: -7
02:44:45:            PID: 2748
02:44:45:            CWD: C:\Users\sysadmin\AppData\Roaming\FAHClient
02:44:45:             OS: Windows 7 Professional
02:44:45:        OS Arch: AMD64
02:44:45:           GPUs: 2
02:44:45:          GPU 0: Bus:11 Slot:0 Func:0 NVIDIA:3 GK110 [Tesla K20M]
02:44:45:          GPU 1: Bus:13 Slot:0 Func:0 NVIDIA:3 GK110 [Tesla K20M]
02:44:45:  CUDA Device 0: Platform:0 Device:0 Bus:11 Slot:0 Compute:3.5 Driver:6.5
02:44:45:  CUDA Device 1: Platform:0 Device:1 Bus:13 Slot:0 Compute:3.5 Driver:6.5
02:44:45:OpenCL Device 0: Platform:0 Device:0 Bus:NA Slot:NA Compute:1.2 Driver:21.20
02:44:45:OpenCL Device 2: Platform:1 Device:0 Bus:11 Slot:0 Compute:1.1 Driver:342.0
02:44:45:OpenCL Device 3: Platform:1 Device:1 Bus:13 Slot:0 Compute:1.1 Driver:342.0
02:44:45:  Win32 Service: false
02:44:45:******************************* libFAH ********************************
02:44:45:           Date: Apr 15 2020
02:44:45:           Time: 14:53:14
02:44:45:       Revision: 216968bc7025029c841ed6e36e81a03a316890d3
02:44:45:         Branch: master
02:44:45:       Compiler: Visual C++ 2008
02:44:45:        Options: /TP /nologo /EHa /wd4297 /wd4103 /Ox /MT
02:44:45:       Platform: win32 10
02:44:45:           Bits: 32
02:44:45:           Mode: Release
02:44:45:***********************************************************************
02:44:45:<config>
02:44:45:  <!-- Network -->
02:44:45:  <proxy v=':8080'/>
02:44:45:
02:44:45:  <!-- Slot Control -->
02:44:45:  <power v='full'/>
02:44:45:
02:44:45:  <!-- User Information -->
//REMOVED 
02:44:45:
02:44:45:  <!-- Folding Slots -->
02:44:45:  <slot id='0' type='CPU'>
02:44:45:    <paused v='true'/>
02:44:45:  </slot>
02:44:45:  <slot id='1' type='GPU'>
02:44:45:    <cuda-index v='0'/>
02:44:45:    <gpu-index v='0'/>
02:44:45:    <opencl-index v='0'/>
02:44:45:    <paused v='true'/>
02:44:45:  </slot>
02:44:45:  <slot id='2' type='GPU'>
02:44:45:    <cuda-index v='0'/>
02:44:45:    <gpu-index v='1'/>
02:44:45:    <opencl-index v='0'/>
02:44:45:    <paused v='true'/>
02:44:45:  </slot>
02:44:45:</config>
02:44:45:Trying to access database...
02:44:45:Successfully acquired database lock
02:44:45:Enabled folding slot 00: PAUSED cpu:1 (by user)
02:44:45:Enabled folding slot 01: PAUSED gpu:0:GK110 [Tesla K20M] (by user)
02:44:45:Enabled folding slot 02: PAUSED gpu:1:GK110 [Tesla K20M] (by user)
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 
2) Config file

Code: Select all

<config>
  <!-- Network -->
  <proxy v=':8080'/>

  <!-- Slot Control -->
  <power v='full'/>

  <!-- User Information -->
//REMOVED
  <!-- Folding Slots -->
  <slot id='0' type='CPU'>
    <paused v='true'/>
  </slot>
  <slot id='1' type='GPU'>
    <cuda-index v='0'/>
    <gpu-index v='0'/>
    <opencl-index v='0'/>
    <paused v='true'/>
  </slot>
  <slot id='2' type='GPU'>
    <cuda-index v='0'/>
    <gpu-index v='1'/>
    <opencl-index v='0'/>
    <paused v='true'/>
  </slot>
</config>
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
3) NVIDIA-SMI (possibly a different run but it is characteristic. Note two processes on GPU0 and nothing on GPU1)
/* Even at 99% its not pegging the wattmeter */

Code: Select all

PS C:\Program Files\NVIDIA Corporation\NVSMI> .\nvidia-smi.exe
Sat May 02 17:31:28 2020
+------------------------------------------------------+
| NVIDIA-SMI 342.00     Driver Version: 342.00         |
|-------------------------------+----------------------+----------------------+
| GPU  Name            TCC/WDDM | Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  Tesla K20m          TCC  | 0000:0B:00.0     Off |                    0 |
| N/A   49C    P0    93W / 225W |    523MiB /  4799MiB |     99%      Default |
+-------------------------------+----------------------+----------------------+
|   1  Tesla K20m          TCC  | 0000:0D:00.0     Off |                    0 |
| N/A   27C    P8    13W / 225W |     47MiB /  4799MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Compute processes:                                               GPU Memory |
|  GPU       PID  Process name                                     Usage      |
|=============================================================================|
|    0      4956  ...ome.org\v7\win\64bit\Core_22.fah\FahCore_22.exe   198MiB |
|    0      4976  ...ome.org\v7\win\64bit\Core_22.fah\FahCore_22.exe   274MiB |
+-----------------------------------------------------------------------------+

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>..

4) NVIDIA GPU Utilization meter shows interfaces barely loaded. Plenty of memory available. No surprise.

EOF
PantherX
Site Moderator
Posts: 7020
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: GPU on PCIE 1x possible?

Post by PantherX »

Welcome to the F@H Forum DF1,

The issue is with how you configured your GPU Slots. Give this a shot:

Code: Select all

  <slot id='1' type='GPU'>
    <cuda-index v='0'/>
    <gpu-index v='0'/>
    <opencl-index v='0'/>
    <paused v='true'/>
  </slot>
  <slot id='2' type='GPU'>
    <cuda-index v='1'/>
    <gpu-index v='1'/>
    <opencl-index v='1'/>
    <paused v='true'/>
  </slot>
I would also suggest that you remove the CPU Slot since you have 2 CPUs and 2 GPUs which requires a CPU each as they are Nvidia GPUs.
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
DF1
Posts: 4
Joined: Sun May 03, 2020 1:02 am

Re: GPU on PCIE 1x possible?

Post by DF1 »

Thanks PantherX (and all).
That was what I suspected. Is that 1:1 CPU core to GPU a hard rule or just optimal? The MOBO only supports up to a 4 core/8 thread i7-7700K best case. I'll upgrade if it makes a measurable difference.
Joe_H
Site Admin
Posts: 7870
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: GPU on PCIE 1x possible?

Post by Joe_H »

Depends a bit on what GPU that CPU core is feeding. If all were in the 2070/2080 class of GPU, that would be pretty close to a hard rule to keep data flowing fast enough to and from the GPU to fully utilize it. Persons who have tested on lower performance cards did report that a couple could share a CPU core with some moderate impact on throughput.

So, optimal in all cases, and for high end cards there will be a very measurable difference.
Image

iMac 2.8 i7 12 GB smp8, Mac Pro 2.8 quad 12 GB smp6
MacBook Pro 2.9 i7 8 GB smp3
PantherX
Site Moderator
Posts: 7020
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: GPU on PCIE 1x possible?

Post by PantherX »

DF1 wrote:...The MOBO only supports up to a 4 core/8 thread i7-7700K best case. I'll upgrade if it makes a measurable difference.
With 2 CPUs consumed by the dual GPUs, it will leave 6 CPUs. I am not sure what your definition of "measurable difference" is. If you mean that you're performing important scientific work, then yes, your CPU will be contributing to that. If you mean PPD will be measurable to the GPUs, it will not be since GPUs are significantly more powerful than CPUs but they are rather limited in what calculations they can do.
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
MeeLee
Posts: 1375
Joined: Tue Feb 19, 2019 10:16 pm

Re: GPU on PCIE 1x possible?

Post by MeeLee »

It would be interesting to see if other users, running a modern Ryzen system with access to PCIE 4.0, and a PCIE 4,0 capable GPU (AMD only has those at the moment), if they could record their avg PPDs on both a full size slot, and a PCIE 1x slot with riser.
PCIE 4.0 x1 should in theory have enough bandwidth to run core 22 WUs on an RX 5700 (or on the RX 5500 xt, which is the only other consumer grade GPU supporting PCIE 4.0 on the market right now).
Post Reply