Page 1 of 1

how to limit the slots in docker?

Posted: Mon Mar 30, 2020 8:46 pm
by Etherion
I am running FAHClient in a docker image Nvidia/OpenCL but I have a few problems.

1. How do I prevent it from using the CPU? have tried FAHClient --cpus=-1 but that does not stop it. nore does --cpus=0

2. The docker passes 1 of 6 GPUs through but FAHClient still opens 6 slots with only one compute units assigned.
I have tried --gpu=false --opencl-index=1 --gpu-index=1 --cuda-index=1 --gpu=false

Re: how to limit the slots in docker?

Posted: Thu Apr 02, 2020 7:08 pm
by pr0ti3n
Try:

Code: Select all

cpu-usage 0

Re: how to limit the slots in docker?

Posted: Sat Apr 04, 2020 12:53 pm
by toTOW
1. You need to remove the entire CPU slot section.

2. I don't understand ... you many GPUs do you have ? How many GPU slot are created ?