[tuto] How to get a silent and cold PC ?

FAH provides a V7 client installer for Debian / Mint / Ubuntu / RedHat / CentOS / Fedora. Installation on other distros may or may not be easy but if you can offer help to others, they would appreciate it.

Moderators: Site Moderators, FAHC Science Team

Post Reply
promeneur
Posts: 248
Joined: Tue Aug 07, 2012 11:59 am
Hardware configuration: openSUSE Tumbleweed, x86_64,Asrock B760M-HDV/M.2 D4, Intel Core i3-12100, 16 GB, Intel UHD Graphics 730, NVIDIA GeForce GT 1030, Edup-Love EP-9651GS Wi-Fi Bluetooth, multicard reader USB 3.0 startech.com 35fcreadbu3, Epson XP 7100, Headset Bluetooth 3.0 Philips SHQ7300

[tuto] How to get a silent and cold PC ?

Post by promeneur »

Thanks to :

https://linuxembedded.fr/2021/11/limite ... ec-systemd

https://www.baeldung.com/linux/systemd-modify-config


First, you can use FAH settings to limit the number of used cores.

For example, in my case, 8 cores, I set the limit to 5 cores, one for gpu tasks as a22 for example, 4 for cpu tasks as a8 for example.

If it is still too hot and noisy, then we must use systemd to decrease heat and noise.

run

Code: Select all

sudo systemctl edit fah-client
add

Code: Select all

 [Service]
 CPUQuota=150%
in the file newly created at the place as showed in this capture of the nano editor window :

Code: Select all

 GNU nano 8.3       /etc/systemd/system/fah-client.service.d/.#override.confbaa3de7975f0d591                 
### Editing /etc/systemd/system/fah-client.service.d/override.conf
### Anything between here and the comment below will become the contents of the drop-in file

[Service]
 CPUQuota=150%

### Edits below this comment will be discarded


### /usr/lib/systemd/system/fah-client.service
# [Unit]
# Description=Folding@home Client
# After=network.target nss-lookup.target
#
# [Service]
# User=fah-client
# ExecStart=/usr/bin/fah-client --config=/etc/fah-client/config.xml --log=/var/log/fah-client/log.txt --log-r>
# WorkingDirectory=/var/lib/fah-client
# Restart=always
# StandardOutput=null
# KillMode=mixed
# PrivateTmp=yes
# # NoNewPrivileges=yes
# ProtectSystem=full
                                           [ Lecture de 28 lignes ]
^G Aide        ^O Écrire      ^F Chercher    ^K Couper      ^T Exécuter    ^C Emplacement M-U Annuler
^X Quitter     ^R Lire fich.  ^\ Remplacer   ^U Coller      ^J Justifier   ^/ Aller ligne M-E Refaire
then record the modification and quit.

This creates a file /etc/systemd/system/fah-client.service.d/override.conf with the contents :

Code: Select all

 [Service]
 CPUQuota=150%
Pause all the foldings.

then reload the services and restart fah-client

Code: Select all

sudo systemctl daemon-reload
sudo systemctl restart fah-client
Then unpause the foldings.

Some explanations.

Why using an override.conf file? Because every statement added in fah-client.service file will be erased by any further update of FAH.

I get 8 cores, so the maximum of power is 800 %.
In my case, 150 % is equivalent to consume about 20 % of the CPU power.
I obtained this 20 % by using cpulimit previously, which is convenient for me regarding heat and noise.

Comparing to cpulimit , cpu temperature is lower, about 37 °C to 40 °C and the fan speed is lower, about 664 to 700 rpm.

So bye bye cpulimit old technology and welcome to systemd new simpler technology.

If you don't know anything about text editor as nano, vim, etc then replace the step "sudo systemctl edit fah-client" by :

create a folder /etc/systemd/system/fah-client.service.d/
create a file /etc/systemd/system/fah-client.service.d/override.conf
add in /etc/systemd/system/fah-client.service.d/override.conf the statements

Code: Select all

 [Service]
 CPUQuota=150%
Enjoy :)
Last edited by promeneur on Sun Mar 09, 2025 12:04 pm, edited 2 times in total.
Image
muziqaz
Posts: 1410
Joined: Sun Dec 16, 2007 6:22 pm
Hardware configuration: 9950x, 7950x3D, 5950x, 5800x3D
7900xtx, RX9070, Radeon 7, 5700xt, 6900xt, RX 550 640SP
Location: London
Contact:

Re: [tuto] How to get a silent and cold PC ?

Post by muziqaz »

How is this related to unsupported distros?
Please choose the right sub forum and create a single thread instead of double posting on absolutely random places.
FAH Omega tester
Image
toTOW
Site Moderator
Posts: 6411
Joined: Sun Dec 02, 2007 10:38 am
Location: Bordeaux, France
Contact:

Re: [tuto] How to get a silent and cold PC ?

Post by toTOW »

If you want to get a silent folding machine, don't fold on crappy laptops or get a desktop with high quality coolers and fans.

No need to mess with useless software.
Image

Folding@Home beta tester since 2002. Folding Forum moderator since July 2008.
Post Reply