Page 1 of 1

GPU, didn't expect that

Posted: Sat Apr 11, 2020 11:52 am
by Darmain
Hi Folding colleagues,
I've been running the folding client, mainly on dedicated hardware, since around 2010. Originally on three PCs running XP. Various progressions from there and now running three HP Proliant rack servers and an HP Z600 workstation. Everything runs Ubuntu 18.04 (Desktop and server). I remote manage the servers from the desktop control panel which works really well. I generally run 10 slots across this hardware with no less than 8 logical cores per slot. Generally a job can run from between under an hour, right out to a day.

While I have some 80 cores available, I reasoned that this isn't a patch on the GPU approach. Not being a gaming person the need for a high performance graphics module isn't there. However, recently I realised that the Nvidia Quadro K600 card in my workstation, while not the most powerful by any means, was taskable. Yesterday I fiddled around to install the latest Nvidia driver and OpenCL, and without too much difficulty I had the GPU available. Additional fiddling to get manual control of the cooling and we were running. Never done this before so I was pleased with this result.

So, the reason for this post is that I was expecting the GPU to be picking up jobs and the resulting progress to be burning past the CPUs. But, on the contrary, the GPU task is forecast to run for two days and it is crawling along. I suspect that the GPU work package is a lot larger, which is what I wanted to confirm. The Nvidia control panel is showing 100% commitment by the 192 CUDA cores, so it seems to be doing what is required of it. The CPU clusters are tearing through jobs in the meantime.

Does this sound right?

Many thanks, Dave

Re: GPU, didn't expect that

Posted: Sat Apr 11, 2020 12:07 pm
by PantherX
Welcome to the F@H Forum Darmain,

It would be great if you can post the log file which has the system configuration so we can see how the client is setup.

In the meantime, I can make some general recommendations:
1) Are you using a passkey? If not, have a read of this and think about it: https://foldingathome.org/support/faq/points/passkey/
2) I would suggest that instead of running a CPU slot with 8 CPUs, up that number to 12, i.e. 12 CPUs per CPU Slot. This is the combination that has the most number of WUs available. Other numbers are 16, 24, 32 & 64. However, there might be some issues getting WUs for 32/64 CPUs.
3) Your GPU is 7 years old and is technically supported by F@H. However, given it's age, it will take a wee while for it to fold and it is useful as long as it is returned before the Timeout date.

Re: GPU, didn't expect that

Posted: Sat Apr 11, 2020 12:19 pm
by Darmain
PantherX wrote:Welcome to the F@H Forum Darmain,

It would be great if you can post the log file which has the system configuration so we can see how the client is setup.

In the meantime, I can make some general recommendations:
1) Are you using a passkey? If not, have a read of this and think about it: https://foldingathome.org/support/faq/points/passkey/
2) I would suggest that instead of running a CPU slot with 8 CPUs, up that number to 12, i.e. 12 CPUs per CPU Slot. This is the combination that has the most number of WUs available. Other numbers are 16, 24, 32 & 64. However, there might be some issues getting WUs for 32/64 CPUs.
3) Your GPU is 7 years old and is technically supported by F@H. However, given it's age, it will take a wee while for it to fold and it is useful as long as it is returned before the Timeout date.
Hi PantherX,

Many thanks for your response.

1). Yes, I am using a passkey. :D
2). The 8 core clusters are due to the architecture of the machines. Some have 16 cares, other have 24 cores. I can obviously run the machines on a single slot each. I gather that would be a more profitable approach, both from the folding throughput and the points perspective (?).
3). Yes, the GPU is old I agree. I thought it worth a try to see if I could make it work for us. If it is going to fail to return in time then that is a disaster and I'll pull the plug on it.

Many thanks, Dave

Re: GPU, didn't expect that

Posted: Sat Apr 11, 2020 12:29 pm
by Darmain
So, to explore the option, what would be a good graphics card to choose for Folding, without going cost stupid?

Re: GPU, didn't expect that

Posted: Sat Apr 11, 2020 12:31 pm
by PantherX
Darmain wrote:...Some have 16 cares, other have 24 cores. I can obviously run the machines on a single slot each. I gather that would be a more profitable approach, both from the folding throughput and the points perspective (?)...
Yep, that's correct. You will be able to do more science hence the increase in PPD. I do know that up to 12 CPUs will have the maximum WUs available. However, there should be a decent amount of WUs for 16 and 24 CPUs. You can experiment and see what works best for your setup and fold with it.
Darmain wrote:...I thought it worth a try to see if I could make it work for us. If it is going to fail to return in time then that is a disaster and I'll pull the plug on it...
Since Linux has a bit of speed advantage over Windows, I do think that your GPU while slow, will make it before the Timeout date.

Re: GPU, didn't expect that

Posted: Sat Apr 11, 2020 12:33 pm
by PantherX
Darmain wrote:So, to explore the option, what would be a good graphics card to choose for Folding, without going cost stupid?
Great timing as there's a recent topic that has price and rough figures for you: viewtopic.php?f=38&t=34240

In short, you can spend a few hundred bucks and get something decent. Of course, you can go all in and get the Nvidia GTX 2080 Ti... there are heaps of options so hopefully, you can find something that suits your needs :)

Re: GPU, didn't expect that

Posted: Sat Apr 11, 2020 12:42 pm
by Neil-B
I run 24 and 32 core slots (until recently client-type=advanced) which are kept busy 24/7 (even over last few weeks) so larger core counts are at the moment still being "fed" and yes they do return the WUs quicker so faster science and higher points … My simplistic was of rationalising this to myself is that one 16core slot can process two WUs in the same time two 8core slots can process one WU each - but the 16core WUs have each been returned in half the time so are better for the science and accrue higher points - I am sure it isn't that simple but the basic idea is in the right area. There are some Projects that have core slot size limitations for their WUs - recently a few have been <=12 but I believe there are also sometimes have a minimum core count applied.

Re: GPU, didn't expect that

Posted: Sat Apr 11, 2020 1:10 pm
by Darmain
Thanks Guys. So I am re configuring as WU finish. I'll fix the slots at 12 threads and see how it goes. :D

Re: GPU, didn't expect that

Posted: Sat Apr 11, 2020 1:24 pm
by Darmain
PantherX wrote:
Darmain wrote:So, to explore the option, what would be a good graphics card to choose for Folding, without going cost stupid?
Great timing as there's a recent topic that has price and rough figures for you: viewtopic.php?f=38&t=34240

In short, you can spend a few hundred bucks and get something decent. Of course, you can go all in and get the Nvidia GTX 2080 Ti... there are heaps of options so hopefully, you can find something that suits your needs :)
I had a look at some of these, starting with the best one. :shock: Blimey, I knew the cost of Graphics cards was inflated due to Crypocurrency mining but I could buy a boat for that!! :lol: I will also have to look at my workstation power supply to see what its rated at. They's a bit thirsty by looks of things. Not dismissing the idea, just need a bit of due diligence.

Many thanks, Dave

Re: GPU, didn't expect that

Posted: Sat Apr 11, 2020 2:17 pm
by jonault
When you added your GPU slot, did you set aside a CPU core for it? It sounded like you had all your CPU cores already assigned to CPU slots; the GPU slot needs one to manage the GPU. If all the CPU cores are assigned to CPU slots, then the GPU slot is competing with the CPU slots for CPU time, which could affect its performance.

Re: GPU, didn't expect that

Posted: Sat Apr 11, 2020 5:34 pm
by Joe_H
Depending on the reason the K600 was configured for you workstation, power usage, cost etc., something in the mid-range such as a GTX 1050 would be enough increase in processing power, and still stay within both power and money limits.

Re: GPU, didn't expect that

Posted: Sat Apr 11, 2020 6:37 pm
by tomc001
PantherX wrote:Welcome to the F@H Forum Darmain,
2) I would suggest that instead of running a CPU slot with 8 CPUs, up that number to 12, i.e. 12 CPUs per CPU Slot. This is the combination that has the most number of WUs available. Other numbers are 16, 24, 32 & 64. However, there might be some issues getting WUs for 32/64 CPUs.
My folding computer has an Intel 14/28 processor and the automatic configuration set up 27 slots for the cpu and 1 for the gpu (RTX 2070). In light of what you said, would I be better off by changing that default configuration?

Re: GPU, didn't expect that

Posted: Sat Apr 11, 2020 6:55 pm
by JimboPalmer
I would go 24 and then 3, but that is me.