How many CPU-Slots?

If you're new to FAH and need help getting started or you have very basic questions, start here.

Moderators: Site Moderators, FAHC Science Team

SteffenCBC
Posts: 17
Joined: Sun May 10, 2020 5:53 pm

How many CPU-Slots?

Post by SteffenCBC »

Hello,

I run F@H on a Ubuntu machine with 12 CPUs. How many slots should I configure - one or more?

Here is the description of the hardware from the log:

Code: Select all

08:58:17:WU00:FS00:0xa8:        CPU: Intel(R) Xeon(R) CPU E5-1660 0 @ 3.30GHz
08:58:17:WU00:FS00:0xa8:     CPU ID: GenuineIntel Family 6 Model 45 Stepping 7
08:58:17:WU00:FS00:0xa8:       CPUs: 12
08:58:17:WU00:FS00:0xa8:     Memory: 31.29GiB
08:58:17:WU00:FS00:0xa8:    Threads: POSIX_THREADS
Thanks, SteffenCBC
Neil-B
Posts: 1996
Joined: Sun Mar 22, 2020 5:52 pm
Hardware configuration: 1: 2x Xeon E5-2697v3@2.60GHz, 512GB DDR4 LRDIMM, SSD Raid, Win10 Ent 20H2, Quadro K420 1GB, FAH 7.6.21
2: Xeon E3-1505Mv5@2.80GHz, 32GB DDR4, NVME, Win10 Pro 20H2, Quadro M1000M 2GB, FAH 7.6.21 (actually have two of these)
3: i7-960@3.20GHz, 12GB DDR3, SSD, Win10 Pro 20H2, GTX 750Ti 2GB, GTX 1080Ti 11GB, FAH 7.6.21
Location: UK

Re: How many CPU-Slots?

Post by Neil-B »

One
2x Xeon E5-2697v3, 512GB DDR4 LRDIMM, SSD Raid, W10-Ent, Quadro K420
Xeon E3-1505Mv5, 32GB DDR4, NVME, W10-Pro, Quadro M1000M
i7-960, 12GB DDR3, SSD, W10-Pro, GTX1080Ti
i9-10850K, 64GB DDR4, NVME, W11-Pro, RTX3070

(Green/Bold = Active)
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: How many CPU-Slots?

Post by PantherX »

Neil-B is correct, a single CPU Slot that has 12 CPUs assigned to it. Since you're on Ubuntu, you might be able to use the GPU if you have it and it supports OpenCL 1.2 and Double Precision.

If you could describe your general system usage, and how long you plan to let it fold, we might be able to offer some tweaks, i.e. if you leave your system running 24/7 and you only occasionally use it, then use 12 CPUs. If you frequently use it for light work but leave it on 24/7, then maybe using 10 CPUs leaving 2 CPUs for the OS and your light applications could work better.
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
JimboPalmer
Posts: 2522
Joined: Mon Feb 16, 2009 4:12 am
Location: Greenwood MS USA

Re: How many CPU-Slots?

Post by JimboPalmer »

Welcome to Folding@Home!

Because F@H rewards quick return of Work Units, one slot of 12 cpus will earn more points than two slots of 6 cpus each, etc.
In Windows, there are issues above 32 cpus.
Tsar of all the Rushers
I tried to remain childlike, all I achieved was childish.
A friend to those who want no friends
SteffenCBC
Posts: 17
Joined: Sun May 10, 2020 5:53 pm

Re: How many CPU-Slots?

Post by SteffenCBC »

Thank you! My computer is located in my living room and also serves as my music provider, it runs only the time I'm awake . But the other users of the room find it sometimes quite loud, so I need to switch between 1 CPU and more, usually 10.

Therefore I would like the control panel to offer me another choice: 1 CPU. Then I could switch the folding power between the existing light (5 CPUs), medium (10 CPUs) and full and - my choice - ultra light (1 CPU), when others are around. My solution now for this is: I have two CPU slots, one of 9 CPUs and one of 1 CPU. If there is the need to pause the big folding, I pause the first slot only.

I also used the GPU for F@H, but it slows down the graphics when I'm using the computer for other tasks. The folding client unfortunately misses the feature to pause folding while the user is active, so I use the GPU only for task provided by BOINC, which has this feature. This would be a great feature for F@H!
gunnarre
Posts: 559
Joined: Sun May 24, 2020 7:23 pm
Location: Norway

Re: How many CPU-Slots?

Post by gunnarre »

SteffenCBC wrote:But the other users of the room find it sometimes quite loud, so I need to switch between 1 CPU and more, usually 10.
Folding benefits greatly from using many threads, more so than just CPU clocks, so you might perhaps want to control the fan speed and CPU frequency boosting rather than switching between a different number of folding threads. Dumping or delaying WUs also negatively impacts your throughput. Going down from 10 to 1 thread will dump the work unit, perhaps unless you have multiple slots. If you have some program that can switch between fan profiles and CPU power profiles at the push of a button, this might hurt the science throughput less than constantly switching the number of threads.

My living room PC has an oversized CPU cooler, which is less loud than the ventilation and any sound played, so it can fold constantly without any annoyance. Only the GPU is slightly audible, and I can pause that individually if needed.
SteffenCBC wrote:The folding client unfortunately misses the feature to pause folding while the user is active, so I use the GPU only for task provided by BOINC, which has this feature. This would be a great feature for F@H!
Folding@Home already has idle detection, so that it can fold only when the user is inactive. However, this functionality is dependent on the operating system, and it doesn't always work.
Image
Online: GTX 1660 Super + occasional CPU folding in the cold.
Offline: Radeon HD 7770, GTX 1050 Ti 4G OC, RX580
Neil-B
Posts: 1996
Joined: Sun Mar 22, 2020 5:52 pm
Hardware configuration: 1: 2x Xeon E5-2697v3@2.60GHz, 512GB DDR4 LRDIMM, SSD Raid, Win10 Ent 20H2, Quadro K420 1GB, FAH 7.6.21
2: Xeon E3-1505Mv5@2.80GHz, 32GB DDR4, NVME, Win10 Pro 20H2, Quadro M1000M 2GB, FAH 7.6.21 (actually have two of these)
3: i7-960@3.20GHz, 12GB DDR3, SSD, Win10 Pro 20H2, GTX 750Ti 2GB, GTX 1080Ti 11GB, FAH 7.6.21
Location: UK

Re: How many CPU-Slots?

Post by Neil-B »

The idle function works fine in Windows but since OP is Ubuntu I wasn't sure what the configuration is to get it working for that
2x Xeon E5-2697v3, 512GB DDR4 LRDIMM, SSD Raid, W10-Ent, Quadro K420
Xeon E3-1505Mv5, 32GB DDR4, NVME, W10-Pro, Quadro M1000M
i7-960, 12GB DDR3, SSD, W10-Pro, GTX1080Ti
i9-10850K, 64GB DDR4, NVME, W11-Pro, RTX3070

(Green/Bold = Active)
SteffenCBC
Posts: 17
Joined: Sun May 10, 2020 5:53 pm

Re: How many CPU-Slots?

Post by SteffenCBC »

Ok, I will give the idle function another try. And then I will look after fan profiles. I guess the computer was designed as a working machine, not a living room silent machine, but I was not aware of that at the time I was buying it.
bruce
Posts: 20824
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

Re: How many CPU-Slots?

Post by bruce »

Apparently you have determined that 1 CPU thread is silent and any higher number is too noisy. I would reconfirm if 2 or 3 is or is not acceptable.

Most modern CPUs do a degree of self-regulation. Running with 10 threads (whether configured as 1 + 9 or as 10) will probably run at a lower clock rate than running with only 1 CPU (assuming you have not adjusted various custom CPU settings which result in fan speed as well as what's called "boost"). That clock rate is set based on the total power (heat) being used.

It should be noted that if you choose the [1] vs. the [two slot 9 + 1] any WU which is downloaded by the single-threaded slot will be permanently use only one CPU so it's processing will continue to be very slow. The number of threads can never be increased above the number that your slot told the server you would be using.
gunnarre
Posts: 559
Joined: Sun May 24, 2020 7:23 pm
Location: Norway

Re: How many CPU-Slots?

Post by gunnarre »

SteffenCBC wrote:I guess the computer was designed as a working machine, not a living room silent machine, but I was not aware of that at the time I was buying it.
What case is it in and which CPU cooler is in there now? Perhaps there's room for a quieter cooler.
Image
Online: GTX 1660 Super + occasional CPU folding in the cold.
Offline: Radeon HD 7770, GTX 1050 Ti 4G OC, RX580
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: How many CPU-Slots?

Post by PantherX »

While upgrading the CPU cooler would get you the best of both (performance and noise), there's another option where you simply only use 6 CPUs to see if that's acceptable or not when it comes to the noise. Reason is that you have 6 physical cores which provides the maximum performance boost for F@H since the virtual cores provide a significantly less performance boost.
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
SteffenCBC
Posts: 17
Joined: Sun May 10, 2020 5:53 pm

Re: How many CPU-Slots?

Post by SteffenCBC »

Let's see, what I have found so far:
1. The idle mode does not work under Ubuntu, perhaps it waits for hibernation instead of a locked screen.
2. I can measure several core temperatures, but I cannot configure the fan speed: /usr/sbin/pwmconfig: There are no pwm-capable sensor modules installed. To be honest, I feel a bit uneasy about adjusting fan speed.

The case is HP Z420 workstation, it seems I am unable to find out more about the cooler without opening the case:

Code: Select all

# dmidecode 3.1
Getting SMBIOS data from sysfs.
SMBIOS 2.7 present.

Handle 0x0067, DMI type 27, 15 bytes
Cooling Device
	Temperature Probe Handle: 0x0066
	Type: Power Supply Fan
	Status: OK
	Cooling Unit Group: 1
	OEM-specific Information: 0x00000000
	Nominal Speed: Unknown Or Non-rotating
	Description: Cooling Dev 1
It may take some time, before I open the case.
Last edited by SteffenCBC on Thu Jan 14, 2021 12:50 pm, edited 1 time in total.
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: How many CPU-Slots?

Post by PantherX »

For Ubuntu, see how the OS defines idle since that's what the client uses. Last I checked, there's may different ways that idle is defined on Linux.
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
SteffenCBC
Posts: 17
Joined: Sun May 10, 2020 5:53 pm

Re: How many CPU-Slots?

Post by SteffenCBC »

Ok - how do I do that?
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: How many CPU-Slots?

Post by PantherX »

Sorry, I have no experience on Linux when it comes to folding only when idle :( However, there might be other Linux members here who can help you out :)
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
Post Reply