Release: Folding@Home Docker

Recommended Posts

So I have found a couple workarounds for my unraid folding@home issues which I will document.  After I finally managed to get the docker working It kept grabbing my cpu as well as my GPU.  Didn't matter what I did it would always grab both even with CPU removed.  By sheer accident I had removed cpu and then cleared my history and voila.  Gpu only mining.  Whenever I get a web control error and it doesn't update I simply clear my history from the last hour and the web control works again.  An observation under unraid docker is that it uses 100% of one core in the docker and thats just how it works under unraid.  I did observe that setting folding@home to a hyperthreaded core only showed no PPD loss leaving the actual core untouched.  I have noticed no PPD drops using my 1070 over several days.  


One final trick if you can get a VM working on your machine with a passedthrough Nvidia card, installing Folding@home through the VM in windows leaves a negligable performance penalty.  This is offset by the fact that under windows,  you can have a single core system and it still won't use all of the core. If you're using your vm all the time then just install folding@home there and continue on your day.   So if you're struggling to get folding, I present a couple options for you.  Also of note if you're  a crypto miner,  you can mine under a VM just fine.  Some mining programs don't like virtualization, but those aren't the good ones to use anyways.    


All tests were run on a ryzen 2600 and 16G of ram with unraid 6.8.3.  VM was set up using SpaceInvader Ones tutorial


I hope this helps.  

Link to comment
  • 1 month later...
  • 1 year later...

Any idea why my F@H is always waiting for the GPU, even if it's the only thing running?

only one "warning" in log.

Snippet from log.



19:52:58:  <!-- Folding Slots -->
19:52:58:  <slot id='0' type='CPU'/>
19:52:58:  <slot id='1' type='GPU'>
19:52:58:    <pci-bus v='6'/>
19:52:58:    <pci-slot v='0'/>
19:52:58:  </slot>
19:52:58:Trying to access database...
19:52:58:Successfully acquired database lock
19:52:58:FS00:Initialized folding slot 00: cpu:20
[93m19:52:58:WARNING:FS01:'gpu' option has no effect on a slot configuration.  Use <slot type='gpu'>...</slot> instead.[0m
19:52:58:FS01:Initialized folding slot 01: gpu:6:0 GK110 [Tesla K40m] 5046 





ONLY F@H running.





Every 2.0s: nvidia-smi                                                                        R720: Mon Feb 21 14:39:53 2022

Mon Feb 21 14:39:53 2022
| NVIDIA-SMI 470.103.01   Driver Version: 470.103.01   CUDA Version: 11.4     |
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|   0  Tesla K40m          Off  | 00000000:06:00.0 Off |                    0 |
| N/A   40C    P8    20W / 235W |      3MiB / 11441MiB |      0%      Default |
|                               |                      |                  N/A |

| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|  No running processes found                                                 |



Edit:  I moved the

  <!-- Folding Slot Configuration -->
  <gpu v='true'/>


around to see if that did anything, no more warning, GPU still not used.

Edited by Lrdfrd
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.